Bug 21199 - ICE on ASSIGN statement
Summary: ICE on ASSIGN statement
Status: RESOLVED DUPLICATE of bug 18481
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 00:00 UTC by Jerry DeLisle
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry DeLisle 2005-04-25 00:00:47 UTC
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)
Comment 1 Andrew Pinski 2005-04-25 00:30:45 UTC

*** This bug has been marked as a duplicate of 18481 ***