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 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


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< ===========


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