This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29876] New: ICE on bad operator in ONLY clause of USE statement
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2006 17:07:59 -0000
- Subject: [Bug fortran/29876] New: ICE on bad operator in ONLY clause of USE statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The first error below is expected, but the second one should not be printed out
that way :)
$ cat translation_tests.f90
module foo
end module foo
program test
use foo, only : bar, operator(.none.)
end program test
$ gfortran translation_tests.f90
translation_tests.f90:5.17:
use foo, only : bar, operator(.none.)
1
Error: Symbol 'bar' referenced at (1) not found in module 'foo'
translation_tests.f90:5.39:
use foo, only : bar, operator(.none.)
1
Internal Error at (1):
gfc_code2string(): Bad code
--
Summary: ICE on bad operator in ONLY clause of USE statement
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29876