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)


Richard Henderson writes:
 > 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.

Why do you want this?  Perhaps there's some language that uses
-fnon-call-exceptions but doesn't want trapping exprs to be preserved:
Ada?

Andrew.


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