The following Fortran 95 program gives the compile-time output below it:

[EMAIL PROTECTED] test system: ~/Jfh/Test 60 >cat testdpconst.f90
PROGRAM testdpconst ! initialization sometimes /= assignment
  INTEGER,PARAMETER :: long = selected_int_kind(15)
  DOUBLE PRECISION  :: dx   = 2d0
  PRINT 666,'sqrt(dx)**2  ',sqrt(dx)**2 &
       ,    'in hex format',transfer(sqrt(dx)**2,1_long)
  PRINT 666,'sqrt(2d0)**2 ',sqrt(2d0)**2 &
       ,    'in hex format',transfer(sqrt(2d0)**2,1_long)
666 FORMAT (1X,A," = ",F18.16,/,1X,A," = ",Z16)
END PROGRAM testdpconst
[EMAIL PROTECTED] test system: ~/Jfh/Test 61 >gfortran -v testdpconst.f90
Driving: gfortran -v testdpconst.f90 -lgfortranbegin -lgfortran -lm
-shared-libgcc
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
 /usr/libexec/gcc/i386-redhat-linux/4.1.1/f951 testdpconst.f90 -quiet -dumpbase
testdpconst.f90 -mtune=generic -auxbase testdpconst -version -I
/usr/lib/gcc/i386-redhat-linux/4.1.1/finclude -o /tmp/ccHotQOh.s
GNU F95 version 4.1.1 20070105 (Red Hat 4.1.1-52) (i386-redhat-linux)
        compiled by GNU C version 4.1.1 20070105 (Red Hat 4.1.1-52).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
testdpconst.f90: In function âMAIN__â:
testdpconst.f90:7: internal compiler error: in convert_move, at expr.c:362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
[EMAIL PROTECTED] test system: ~/Jfh/Test 62 >


-- 
           Summary: Internal compiler error in convert_move
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: john dot harper at vuw dot ac dot nz
 GCC build triplet: ?
  GCC host triplet: ?
GCC target triplet: i386-redhat-linux


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

Reply via email to