This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/24179] New: internal compiler error: in gfc_conv_string_tmp, at fortran/trans-expr.c:783


The following FORTRAN source crashes the gfortran 4.02 compiler when using the
-fdefault-integer-8 option

      logical function junk(num,isat)
      implicit none
c
      character*2 pre_atnam
      external pre_atnam
      integer num(*),isat(*)
c
      write(6,*) pre_atnam(num(isat(3)))
      junk=.true.
      return
      end

% gfortran -c -fdefault-integer-8 junk.f
junk.f: In function ?junk?:
junk.f:8: internal compiler error: in gfc_conv_string_tmp, at
fortran/trans-expr.c:783
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

% gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.0.2/configure --prefix=/home/edo/apps/gcc402
--with-mpfr=/home/edo/apps --enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.2


-- 
           Summary: internal compiler error: in gfc_conv_string_tmp, at
                    fortran/trans-expr.c:783
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: edoardo dot apra at pnl dot gov


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]