Reduced from a real world application.

$ cat bug.f
      subroutine prtmt
c
      assign 102 to ix
c
 102     format(i2)
      return
      end

$ gfc -w -c bug.f
bug.f: In function ‘prtmt’:
bug.f:1: internal compiler error: in gfc_add_modify_expr, at
fortran/trans.c:152Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

$ gfc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/jerry/usr 
--enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050424 (experimental)

-- 
           Summary: ICE on ASSIGN statement
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at verizon dot net
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to