[Bug tree-optimization/33645] New: undefined static variable in vortex for -fno-unit-at-a-time
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 3 18:18:00 GMT 2007
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
More information about the Gcc-bugs
mailing list