* [committed] Fix failure of g++.dg/parse/parens3.C on hppa
@ 2016-02-01 0:42 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2016-02-01 0:42 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
The attached change uses a different register to avoid ICEing in dwarf2out_frame_debug_expr.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
Committed to trunk.
Dave
--
John David Anglin dave.anglin@bell.net
[-- Attachment #2: parens3.C.d.txt --]
[-- Type: text/plain, Size: 535 bytes --]
2016-01-31 John David Anglin <danglin@gcc.gnu.org>
PR debug/68244
* g++.dg/parse/parens3.C: Use register "4" on hppa.
Index: g++.dg/parse/parens3.C
===================================================================
--- g++.dg/parse/parens3.C (revision 232999)
+++ g++.dg/parse/parens3.C (working copy)
@@ -5,7 +5,12 @@
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-01 0:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 0:42 [committed] Fix failure of g++.dg/parse/parens3.C on hppa John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).