http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50137
Bug #: 50137 Summary: [4.7 Regression] ppc64/libstdc++-v3 is miscompiled on powerpc-apple-darwin9 since revision 177691 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: dnovi...@google.com, ia...@gcc.gnu.org, rguent...@suse.de Host: powerpc-apple-darwin9 Target: powerpc-apple-darwin9 Build: powerpc-apple-darwin9 On powerpc-apple-darwin9 after revision 177691, I get the following failures in the libstdc++-v3 test suite with -m64: Running target unix/-m64 FAIL: 22_locale/money_get/get/char/19.cc execution test FAIL: 22_locale/money_get/get/char/38399.cc execution test FAIL: 22_locale/money_get/get/char/39168.cc execution test FAIL: 22_locale/money_get/get/wchar_t/19.cc execution test FAIL: 22_locale/money_get/get/wchar_t/38399.cc execution test FAIL: 22_locale/money_get/get/wchar_t/39168.cc execution test FAIL: 22_locale/num_get/get/char/10.cc execution test FAIL: 22_locale/num_get/get/char/12.cc execution test FAIL: 22_locale/num_get/get/char/15.cc execution test FAIL: 22_locale/num_get/get/char/22131.cc execution test FAIL: 22_locale/num_get/get/char/39168.cc execution test FAIL: 22_locale/num_get/get/char/7.cc execution test FAIL: 22_locale/num_get/get/wchar_t/10.cc execution test FAIL: 22_locale/num_get/get/wchar_t/12.cc execution test FAIL: 22_locale/num_get/get/wchar_t/15.cc execution test FAIL: 22_locale/num_get/get/wchar_t/22131.cc execution test FAIL: 22_locale/num_get/get/wchar_t/39168.cc execution test FAIL: 22_locale/num_get/get/wchar_t/7.cc execution test FAIL: 22_locale/time_get/get_date/char/1.cc execution test FAIL: 22_locale/time_get/get_date/char/12791.cc execution test FAIL: 22_locale/time_get/get_date/wchar_t/1.cc execution test FAIL: 22_locale/time_get/get_date/wchar_t/12791.cc execution test FAIL: 22_locale/time_get/get_monthname/char/1.cc execution test FAIL: 22_locale/time_get/get_monthname/wchar_t/1.cc execution test FAIL: 22_locale/time_get/get_time/char/4.cc execution test FAIL: 22_locale/time_get/get_time/wchar_t/4.cc execution test FAIL: 22_locale/time_get/get_weekday/char/1.cc execution test FAIL: 22_locale/time_get/get_weekday/wchar_t/1.cc execution test FAIL: 22_locale/time_get/get_year/char/1.cc execution test FAIL: 22_locale/time_get/get_year/wchar_t/1.cc execution test FAIL: ext/mt_allocator/deallocate_global_thread-1.cc execution test FAIL: ext/mt_allocator/deallocate_global_thread-3.cc execution test === libstdc++ Summary === # of expected passes 7201 # of unexpected failures 32 # of expected failures 46 # of unsupported tests 723 Reverting revision 177691 gives Running target unix/-m64 FAIL: ext/mt_allocator/deallocate_global_thread-1.cc execution test FAIL: ext/mt_allocator/deallocate_global_thread-3.cc execution test === libstdc++ Summary === # of expected passes 7231 # of unexpected failures 2 # of expected failures 46 # of unsupported tests 723 Compiler version: 4.7.0 20110818 (experimental) [trunk revision 177878p2] (GCC) Platform: powerpc-apple-darwin9.8.0 configure flags: --prefix=/opt/gcc/gcc4.7w --enable-languages=c,c++,fortran,objc,obj-c++,java,lto --with-gmp=/sw --with-libiconv-prefix=/usr --with-system-zlib --with-cloog=/sw --enable-lto --enable-cloog-backend=isl (where the last two failures are pr47762). Note that I have to rebuild ppc64/libstdc++-v3 to see the failures disappear; this is why I think the library is miscompiled. Would it be possible to infer from the failures what is (are) the file(s) that is (are) miscompiled?