Current version of gfortran dies with an ICE on the attached invalid code. 
------------------------- log -----------
[EMAIL PROTECTED] F03]$ gfortran -v -c  foo-ext.f03
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gnutest
--with-mpfr=/usr/local/mpfr --with-gmp=/usr/local/gmp
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.4.0 20080923 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic'
 /usr/local/gnutest/libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/f951
foo-ext.f03 -quiet -dumpbase foo-ext.f03 -mtune=generic -auxbase foo-ext
-version -fintrinsic-modules-path
/usr/local/gnutest/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/finclude -o
/tmp/cc5PDDfU.s
GNU Fortran (GCC) version 4.4.0 20080923 (experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.0 20080923 (experimental), GMP version
4.2.2, MPFR version 2.3.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
foo-ext.f03:10.13:

    procedure, pass(a) :: makenull
            1
Error: Procedure 'makenull' with PASS(a) at (1) has no argument 'a'
f951: internal compiler error: in update_arglist_pass, at
fortran/resolve.c:4380
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in update_arglist_pass
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfilippone at uniroma2 dot it
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to