[Bug fortran/35584] overzealous warning: branch causes infinite loop
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 15 00:34:00 GMT 2008
------- Comment #3 from dfranke at gcc dot gnu dot org 2008-03-15 00:33 -------
A less pessimistic warning would do ...
Index: resolve.c
===================================================================
--- resolve.c (revision 133233)
+++ resolve.c (working copy)
@@ -5596,7 +5596,7 @@ resolve_branch (gfc_st_label *label, gfc
if (code->here == label)
{
- gfc_warning ("Branch at %L causes an infinite loop", &code->loc);
+ gfc_warning ("Branch at %L may result in an infinite loop", &code->loc);
return;
}
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|invalid warning: branch |overzealous warning: branch
|causes infinite loop |causes infinite loop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35584
More information about the Gcc-bugs
mailing list