This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32933] New: ICE in simplify_subreg with -fdefault-integer-8
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2007 00:04:41 -0000
- Subject: [Bug fortran/32933] New: ICE in simplify_subreg with -fdefault-integer-8
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Simplification of the ICE with nan_1.f90:
$ !cat
cat nan_6.f90
program test
real :: a
if (min(a, 3.0, 2.0) /= 2.0) call abort
end program test
$ gfortran -fdefault-integer-8 nan_6.f90
nan_6.f90: In function 'MAIN__':
nan_6.f90:3: internal compiler error: in simplify_subreg, at
simplify-rtx.c:4676
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This goes away if -ffast-math is specified, so it looks as if
the call to __builtin_isnan is causing the trouble.
--
Summary: ICE in simplify_subreg with -fdefault-integer-8
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
OtherBugsDependingO 32770
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32933