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 optimization/13755] New: ICE on legal, depends on .GLOBAL_VAR.


Compile the following with -O2 --param calls-threshold-global-var=0 .
(Note, this --param was added on 2004-01-19 to enable easier reporting of bugs dependent on 
GLOBAL_VAR; the original is sixtrack in SPEC2000).
Observe the ICE beginning:
small2.c:3: error: Missing definition
for SSA_NAME: i_12

in statement:
i_1 = PHI <i_12(0), i_33(1)>;
This used to work, and was apparently introduced sometime in early January.
===========================

extern void __Bar (char *, int, char *, int);
static char bez0[11200];
int foo () {
  static int i;
  static int irecuin;
  static char iqq[80];
  static char iss[32];
  irecuin = 0;
  __Bar (&iss[0],16,"",1);
  __Bar (&iss[16],16,"",1);
  for ( i=1; i<=5; i++)
    __Bar (&iqq[(i-1)*16],16,"",1);
  for ( i=1; i<=5; i++)
    __Bar (&bez0[(i-1)*16],16,"",1);
  Bax(&irecuin);
}

-- 
           Summary: ICE on legal, depends on .GLOBAL_VAR.
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dalej at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.0.0
  GCC host triplet: powerpc-apple-darwin7.0.0
GCC target triplet: powerpc-apple-darwin7.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13755


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