Commit ab551054 by Daniel Franke

re PR fortran/35584 (overzealous warning: branch causes infinite loop)

2008-03-15  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/35584
        * resolve.c (resolve_branch): Less strict and pessimistic warning
        message.

From-SVN: r133250
parent 1fd89060
2008-03-15 Daniel Franke <franke.daniel@gmail.com>
PR fortran/35584
* resolve.c (resolve_branch): Less strict and pessimistic warning
message.
2008-03-11 Paolo Bonzini <bonzini@gnu.org>
* f95-lang.c (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
(gfc_be_parse_file): Call clear_binding_stack from here.
* f95-lang.c (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
(gfc_be_parse_file): Call clear_binding_stack from here.
(gfc_clear_binding_stack): Rename to clear_binding_stack.
2008-03-09 Paul Thomas <pault@gcc.gnu.org>
......
......@@ -5596,7 +5596,7 @@ resolve_branch (gfc_st_label *label, gfc_code *code)
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment