[Bug fortran/41922] Diagnostic: No location shown for overlappingly initialized EQUIVALENCEd character vars
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 12 12:43:00 GMT 2010
------- Comment #2 from dfranke at gcc dot gnu dot org 2010-05-12 12:43 -------
With current trunk (r159282), we have a locus - but not the right one:
pr41922.f:11.72:
end
1
Error: Overlapping unequal initializers in EQUIVALENCE at (1)
(In reply to comment #0)
> Using the commented version instead, it works:
>
> data cstore/2*4/
> 1
> Error: Overlapping unequal initializers in EQUIVALENCE at (1)
IMO, this should point to the EQUIVALENCE, not one of the involved DATA
statements.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-05-12 12:43:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41922
More information about the Gcc-bugs
mailing list