This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32933] ICE in simplify_subreg with -fdefault-integer-8
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2007 15:24:38 -0000
- Subject: [Bug fortran/32933] ICE in simplify_subreg with -fdefault-integer-8
- References: <bug-32933-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-08-08 15:24 -------
I reduced bounds_check_5.f90 to the following:
$ cat o2.f90
INTEGER, POINTER :: x(:)
logical :: l
l = associated(x,x)
end
$ gfortran -fdefault-integer-8 -m32 o2.f90
o2.f90: In function ?MAIN__?:
o2.f90:3: internal compiler error: in simplify_subreg, at simplify-rtx.c:4676
The tree dump is very simple:
logical8 l;
struct array1_int8 x;
x.data = 0B;
l = _gfortran_associated (&x, &x) && x.dim[0].stride != 0;
I guess we are generating mismatched types somewhere in the && operator.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-08-08 15:24:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32933