This is the mail archive of the gcc-patches@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]

Re: Yet another block_may_fallthru tweak (PR middle-end/19583)



On Feb 8, 2005, at 10:47 PM, Ian Lance Taylor wrote:


A new test case in PR middle-end/19583 showed me that I wasn't
handling TRY_CATCH_EXPR with EH_FILTER_EXPR quite right in
block_may_fallthru.  A TRY_CATCH_EXPR with an EH_FILTER_EXPR is used
to only permit certain exceptions.  It handles a throw(TYPE)
expression in C++, in which the programmer has declared that any
exception other than TYPE should cause an unhandled exception error.

I was thinking the same thing when the testcase came though.
I also tested a similar patch on powerpc-darwin with no regressions also.


-- Pinski


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