[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 28 14:00:00 GMT 2009



------- Comment #1 from jakub at gcc dot gnu dot org  2009-10-28 14:00 -------
I guess it is going to fail on many more targets.
One issue is that only some targets have call insn called that way, it can have
many other names on other targets.  Even on ix86/x86_64 it could be tail called
and be it jmp fork instead of call fork.  The second issue is that some targets
put various prefixes before the symbol name, guess the most often used one is
just an extra _ prefix.
So, probably the test should be limited to ix86/x86_64, ensure it is not built
with optimizations and accept extra optional _ before symbol name.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41856



More information about the Gcc-bugs mailing list