re PR debug/68244 (FAIL: g++.dg/parse/parens3.C -std=gnu++98 (internal compiler error))

PR debug/68244
	* g++.dg/parse/parens3.C: Use register "4" on hppa.

From-SVN: r233028
This commit is contained in:
John David Anglin 2016-02-01 00:38:17 +00:00
parent 6ff3f09a1d
commit 61083a4ba7
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2016-01-31 John David Anglin <danglin@gcc.gnu.org>
PR debug/68244
* g++.dg/parse/parens3.C: Use register "4" on hppa.
* gcc.dg/tree-ssa/vector-5.c: Add -fno-common option on hppa*-*-hpux*.
2016-01-31 Paul Thomas <pault@gcc.gnu.org>

View file

@ -5,7 +5,12 @@ struct s {
int i;
};
#ifdef __hppa__
/* Register %r1 can't be fixed when generating PIC code. */
register struct s *reg __asm__( "4" );
#else
register struct s *reg __asm__( "1" );
#endif
int f(void)
{