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: unassig...@gcc.gnu.org

        ReportedBy: d.g.gorbac...@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< ===========

Reply via email to