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

Reply via email to