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/25756] ICE on valid code with labels



------- 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


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