[Bug fortran/31221] ICE on valid code with gfortran

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 16 15:02:00 GMT 2007



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2007-03-16 15:02 -------
Reduced testcase:

$ cat a.f90 
  integer, parameter :: i2(1)=MODULO((/1/),5)
  call foo(i2)
  end
$ gfortran a.f90
a.f90: In function ‘MAIN__’:
a.f90:1: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:3693

It has something to do with PR29507, though the patch there (comment #3) does
not fix it (it gives a different error).


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |29507
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.1.2 4.2.0 4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-16 15:02:18
               date|                            |


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



More information about the Gcc-bugs mailing list