--- Comment #1 from janus at gcc dot gnu dot org 2010-06-18 21:18 ---
Works for me on x86_64-unknown-linux-gnu at r160947.
Can you show the backtrace for the ICE?
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from janus at gcc dot gnu dot org 2010-06-18 21:24 ---
(In reply to comment #0)
On Linux/ia64, revision 160858 gave
...
Revision 160826 is OK.
The only Fortran-related change in this range is
r160834 | janus | 2010-06-16 14:54:54 +0200 (Wed, 16 Jun 2010) | 17 lines
--- Comment #3 from hjl dot tools at gmail dot com 2010-06-18 22:11 ---
I got
Starting program: /export/gnu/import/svn/gcc-test/bld/gcc/f951
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gfortran.dg/typebound_proc_15.f03
-quiet -dumpbase typebound_proc_15.f03 -auxbase
--- Comment #4 from hjl dot tools at gmail dot com 2010-06-18 22:14 ---
On x86, I got
valgrind --tool=memcheck ../f951
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gfortran.dg/typebound_proc_15.f03
-quiet -dumpbase typebound_proc_15.f03 -mtune=generic -march=pentium4
--- Comment #5 from janus at gcc dot gnu dot org 2010-06-18 23:54 ---
(In reply to comment #3)
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gfortran.dg/typebound_proc_15.f03:15.23:
procedure :: bar, baz { dg-error PROCEDURE list }
1
Error:
--- Comment #6 from hjl dot tools at gmail dot com 2010-06-19 00:47 ---
(In reply to comment #5)
Ok, actually I also get an ICE. But for some reason only when compiling by
hand, not in the testsuite.
It is fixed by this patch:
Index: gcc/fortran/resolve.c