[Bug fortran/46459] ICE (segfault): Invalid read in compare_actual_formal [error recovery]
mikael at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 14 20:36:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46459
--- Comment #5 from Mikael Morin <mikael at gcc dot gnu.org> ---
The initial test doesn't lead to a segfault any more.
It is now rejected with:
comment_0.f90:7.8:
call sub(1)
1
Error: Explicit interface required for 'sub' at (1): volatile argument
However, the following variant is also rejected with the same error:
call sub(1)
contains
subroutine sub(j)
integer, volatile :: j
end subroutine sub
end
More information about the Gcc-bugs
mailing list