This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27897] ICE on common block with the same name as the program.
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2006 20:50:52 -0000
- Subject: [Bug fortran/27897] ICE on common block with the same name as the program.
- References: <bug-27897-9795@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pault at gcc dot gnu dot org 2006-06-05 20:50 -------
Iguchi-san,
> ice.f90:0: internal compiler error: Bus error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
I get
[prt@localhost prs]# /svn-4.2/bin/gfortran pr27897.f90
In file pr27897.f90:2
common /i/ x
1
Error: Symbol '�!z �!z ' at (1) is already an external
symbol that is not COMMON
... so it is trying to do the right thing but the symbol name is wrong.
Thank you for the report - I hope that you can refrain from giving your main
program and common blocks the same name for a while!
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-05 20:50:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27897