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: [patch] PR21847 (wrong-code with -fnon-call-exceptions)


On Mon, Jun 06, 2005 at 01:59:17AM +0200, Steven Bosscher wrote:
> 	* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): With
> 	-fnon-call-exceptions, also mark statements inherently
> 	necessary if they may throw.

I don't really like this.  I'd prefer the default to be that, while
exceptions are propagated when they occur, they're not a hard side
effect of the operation.  I'd very much prefer that the front end
arrange for things that shouldn't die be marked volatile or something.

But this could be ok for 4.0 branch...


r~


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