This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/53363] g++.dg/debug/dwarf2/thunk1.C FAILs
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Feb 2013 10:24:28 +0000
- Subject: [Bug debug/53363] g++.dg/debug/dwarf2/thunk1.C FAILs
- Auto-submitted: auto-generated
- References: <bug-53363-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53363
--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> 2013-02-05 10:24:28 UTC ---
Created attachment 29353
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29353
proposed patch
I've now looked a bit closer and came up with the attached patch: it restricts
the test to 32-bit x86. Checking the difference between Linux/x86 and
Solaris/x86,
it turns out that Linux uses .cfi* directives, while Solaris does not. To
account for this, I'm adding -fno-dwarf2-cfi-asm (enforcing -fdwarf2-cfi-asm
didn't work) and update the match count.
The resulting patch was tested on i386-pc-solaris2.11,
i686-pc-unknown-linux-gnu
and x86_64-unknown-linux-gnu.
Ok for mainline?
Rainer