Benchmark vortex from SPEC CPU2000 compiled with "-O2 -fno-unit-at-atime" for powerpc64-linux fails to build due to a missing symbol. For each of 24 cross cc1's that I tried, symbol "That" from the following minimized testcase is not defined in the .s file:
extern void bar (int *); void foo (void) { static int That; static int *This = &That; bar (This); } The failure starts with this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=126947 r126947 | hubicka | 2007-07-26 03:43:40 +0000 (Thu, 26 Jul 2007) -- Summary: undefined static variable in vortex for -fno-unit-at-a- time Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33645