This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/27897] ICE on common block with the same name as the program.



------- 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 '&#65533;!z      &#65533;!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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]