http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56564
--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- On x86_64-apple-darwin10.8 at revision 199935, I get the following failures for the tests added at revision 199898: FAIL: gcc.target/i386/pr56564-1.c scan-tree-dump-times optimized "&s" 1 FAIL: gcc.target/i386/pr56564-1.c scan-tree-dump-times optimized "return 0" 1 FAIL: gcc.target/i386/pr56564-3.c scan-tree-dump-times optimized "&s" 1 FAIL: gcc.target/i386/pr56564-3.c scan-tree-dump-times optimized "&t" 1 The optimized dumps are (blank lines removed): [macbook] f90/bug% cat pr56564-1.c.165t.optimized ;; Function foo (foo, funcdef_no=0, decl_uid=1741, symbol_order=2) foo () { <bb 2>: return 0; } ;; Function bar (bar, funcdef_no=1, decl_uid=1744, symbol_order=3) bar () { <bb 2>: return 0; } [macbook] f90/bug% cat pr56564-3.c.165t.optimized ;; Function foo (foo, funcdef_no=0, decl_uid=1741, symbol_order=2) foo () { struct S * D.1770; long int s.0; int _2; int _3; <bb 2>: _5 = __builtin___emutls_get_address (&__emutls_v.s); s.0_1 = (long int) _5; _2 = (int) s.0_1; _3 = _2 & 15; return _3; } ;; Function bar (bar, funcdef_no=1, decl_uid=1744, symbol_order=3) bar () { char * D.1769; char[16] * D.1768; long int _1; int _2; int _3; <bb 2>: _5 = __builtin___emutls_get_address (&__emutls_v.t); _6 = &*_5[0]; _1 = (long int) _6; _2 = (int) _1; _3 = _2 & 15; return _3; }