[-fcompare-debug] skip more debug stmts in cleanup_empty_eh
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 5 Jan 2017 01:46:14 +0000 (01:46 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 5 Jan 2017 01:46:14 +0000 (01:46 +0000)
commit556655048b30188a560f135ccde732bc436eded2
tree97d67deb2126d6cba12c2c7c06b78b0d37401d62
parent692216906ba1c7734183c4940122d5684c05141f
[-fcompare-debug] skip more debug stmts in cleanup_empty_eh

Various Ada RTS files failed -fcompare-debug compilation because debug
stmts prevented EH cleanups from taking place.  Adjusting
cleanup_empty_eh to skip them fixes it.

for  gcc/ChangeLog

* gimple-iterator.h (gsi_one_nondebug_before_end_p): New.
* tree-eh.c (cleanup_empty_eh): Skip more debug stmts.

From-SVN: r244088
gcc/ChangeLog
gcc/gimple-iterator.h
gcc/tree-eh.c