[Bug tree-optimization/54877] New: [4.7/4.8 Regression] ICE: tree check: expected ssa_name, have real_cst in copy_ssa_name_fn, at tree-ssanames.c:335

d.g.gorbachev at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 9 18:11:00 GMT 2012


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

             Bug #: 54877
           Summary: [4.7/4.8 Regression] ICE: tree check: expected
                    ssa_name, have real_cst in copy_ssa_name_fn, at
                    tree-ssanames.c:335
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


Created attachment 28401
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28401
Backtrace

Compile with `-O3 -funsafe-math-optimizations' (or -Ofast):

=========== >8 ===========
int main(void)
{
  double d = 0;
  int i;

  for (i = 0; i < 8; i++)
    d--;

  return (int) d;
}
=========== 8< ===========



More information about the Gcc-bugs mailing list