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 target/63661] -O2 miscompiles on OSX 10.10 Yosemite


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661

--- Comment #10 from howarth at bromo dot med.uc.edu ---
for the testcase compiled with clang as gcc at -O2 on Yosemite

% setenv DYLD_PRINT_BINDINGS
% ./test_mathieu
dyld: bind: libgcc_s.1.dylib:0x1098E0000 = libdyld.dylib:dyld_stub_binder,
*0x1098E0000 = 0x7FFF9B4612A0
dyld: bind: test_mathieu:0x1098C8000 = libdyld.dylib:dyld_stub_binder,
*0x1098C8000 = 0x7FFF9B4612A0
dyld: resolver at 0x7fff9002924f returned 0x7FFF90029160
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB710 =
libsystem_platform.dylib:__platform_strchr, *0x7FFF7D8BB710 = 0x7FFF90029160
dyld: resolver at 0x7fff9002927a returned 0x7FFF9002D240
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB6E8 =
libsystem_platform.dylib:__platform_memmove, *0x7FFF7D8BB6E8 = 0x7FFF9002D240
dyld: resolver at 0x7fff9002927a returned 0x7FFF9002D240
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB6F0 =
libsystem_platform.dylib:__platform_memmove, *0x7FFF7D8BB6F0 = 0x7FFF9002D240
dyld: lazy bind: test_mathieu:0x1098C8010 = libsystem_c.dylib:_printf,
*0x1098C8010 = 0x7FFF8DA9C930
dyld: resolver at 0x7fff90028cad returned 0x7FFF90028B20
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB6D8 =
libsystem_platform.dylib:__platform_memchr, *0x7FFF7D8BB6D8 = 0x7FFF90028B20
loop -2.35802
loop 2.35802
loop 2.35802
loop 2.35802
loop 2.35802

for the testcase compiled with gcc 4.9.2-RC at -O2 on Yosemite

% setenv DYLD_PRINT_BINDINGS
% ./test_mathieu
dyld: bind: test_mathieu:0x103E32010 = libsystem_c.dylib:___stack_chk_guard,
*0x103E32010 = 0x7FFF7D8BF070
dyld: bind: test_mathieu:0x103E32000 = libdyld.dylib:dyld_stub_binder,
*0x103E32000 = 0x7FFF9B4612A0
dyld: resolver at 0x7fff9002924f returned 0x7FFF90029160
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB710 =
libsystem_platform.dylib:__platform_strchr, *0x7FFF7D8BB710 = 0x7FFF90029160
dyld: resolver at 0x7fff9002927a returned 0x7FFF9002D240
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB6E8 =
libsystem_platform.dylib:__platform_memmove, *0x7FFF7D8BB6E8 = 0x7FFF9002D240
dyld: resolver at 0x7fff9002927a returned 0x7FFF9002D240
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB6F0 =
libsystem_platform.dylib:__platform_memmove, *0x7FFF7D8BB6F0 = 0x7FFF9002D240
dyld: lazy bind: test_mathieu:0x103E32028 = libsystem_c.dylib:_printf,
*0x103E32028 = 0x7FFF8DA9C930
dyld: resolver at 0x7fff90028cad returned 0x7FFF90028B20
dyld: lazy bind: libsystem_c.dylib:0x7FFF7D8BB6D8 =
libsystem_platform.dylib:__platform_memchr, *0x7FFF7D8BB6D8 = 0x7FFF90028B20
loop -2.35802
loop 2
loop 2
loop 2
loop 2
dyld: resolver at 0x7fff90028e1a returned 0x7FFF9002DD10
dyld: lazy bind: test_mathieu:0x103E32018 = libsystem_platform.dylib:___bzero,
*0x103E32018 = 0x7FFF9002DD10


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