This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25756] ICE on valid code with labels
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2006 22:41:17 -0000
- Subject: [Bug fortran/25756] ICE on valid code with labels
- References: <bug-25756-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from sgk at troutmask dot apl dot washington dot edu 2006-01-12 22:41 -------
Subject: Re: ICE on valid code with labels
On Thu, Jan 12, 2006 at 08:18:50PM -0000, kargl at gcc dot gnu dot org wrote:
>
> get rids of the ICE, but I don't understand why we have an ICE in first place.
> The patch simply retains the labeled empty statement in the list of labels.
I peeked at the g95 source code, and now I have a better understanding on
why we get an ICE. Ask yourself what happens when you delete the head
of a linked list but you do not update the head pointer and then you
want to start at head to delete the entire list.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25756