Commit ec2be682 by Benjamin Kosnik Committed by Jeff Law

except.c (check_exception_handler_labels): Disable warning when flag_syntax_only.

        * except.c (check_exception_handler_labels): Disable warning when
        flag_syntax_only.

From-SVN: r17493
parent e232b7b3
Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* except.c (check_exception_handler_labels): Disable warning when
flag_syntax_only.
Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
* sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
......
......@@ -1787,7 +1787,7 @@ check_exception_handler_labels ()
== NOTE_BLOCK_NUMBER (insn))
break;
}
if (handler == NULL_RTX)
if (handler == NULL_RTX && !flag_syntax_only)
warning ("region exists, no handler %d",
NOTE_BLOCK_NUMBER (insn));
}
......
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