This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/53363] g++.dg/debug/dwarf2/thunk1.C FAILs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]