The following fortran 95 code cannot be compiled:
PROGRAM myProg
REAL :: sqrt2 = 2**0.5
PRINT*, sqrt2
END PROGRAM myProg
This is the commandline output:
$ gfortran-4.3 myProg.f95
myProg.f95: In function ‘myprog’:
myProg.f95:1: internal compiler error: in gfc_conv_constant, at fortran/trans-const.c:296
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
$ gfortran-4.4 myProg.f95
myProg.f95: In function ‘myprog’:
myProg.f95:1: internal compiler error: in gfc_conv_constant, at fortran/trans-const.c:352
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.