This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24978] ICE in gfc_assign_data_value_range
- 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: 30 Oct 2006 21:34:31 -0000
- Subject: [Bug fortran/24978] ICE in gfc_assign_data_value_range
- References: <bug-24978-8649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pault at gcc dot gnu dot org 2006-10-30 21:34 -------
Steve and Jerry,
> laptop:kargl[209] f95 -o z t.f90
> Error: t.f90, line 3: Element no. 13 of object A already initialised
> Errors in declarations, no further processing for $main$
> [f95 error termination]
>
The standard is very specific that no variable or element thereof should be
intialized more than once. I cannot give you chapter and verse right now but I
looked at this PR once and decided that the time was not quite right.
Jerry, dependency.c has a lot of code for checking the overlap between array
references; you could maybe use/hijack some of it.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24978