This program, compiled -O -ffast-math, seems to consume infinite stack space

    /* -O -ffast-math */
    void foo()
    {
      double x;

      for (x = 2; x < 10; x *= x)
        ;
    }


-- 
           Summary: Compile failure with -O -ffast-math
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: trt at acm dot org
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to