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/18540] Jumping into blocks gives error rather than warning



------- Comment #8 from tobi at gcc dot gnu dot org  2006-01-08 21:42 -------
No, this is not sufficient, because you'll still need to find the label, unless
we have some gross code duplication that I'm not aware of.  What needs to be
done is adding a search through the entire program unit if no matching label is
found and GFC_STD_LEGACY is allowed.  Since this will take much longer than the
original parent block only search, we should really only do this, if need be. 
I think we also have a bug about slow code with lots of jumps, so it might
probably be worthwhile to overhaul this whole thing, to allow searching for
statement labels without having to traverse the gfc_code tree.


-- 

tobi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobi at gcc dot gnu dot org


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



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