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/17741] ICE in gfc_free_namespace, at fortran/symbol.c:2208



------- Comment #7 from jvdelisle at gcc dot gnu dot org  2006-10-22 00:09 -------
Created an attachment (id=12472)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12472&action=view)
A prelimary patch as one concept for handling this

This patch gives a good result for error messages.  However we are still left
with some memory leak.  I will have to explore this some more.  The concept is
to reset the locus and then return the correct end statement after emitting the
error message.  Whats nice about this is it gives errors for all the nested
statements missing the correct "END"

Comments anyone?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17741


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