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 c++/36912] New: ICE when building with "-frounding-math -g"


static const double Eps = .0000001; 
static const double Tol = 1.0+Eps;
int main(int, char *[]) {
return 0;
}

Fedora 9.

Works fine on MacOs 10.5 with gcc 4.0.

setting Eps to be an integral value (but keeping its type to be double) makes
the ICE go away.


-- 
           Summary: ICE when building with "-frounding-math -g"
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drussel at gmail dot com


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


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