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: RFA: New pass to delete unexecutable paths in the CFG


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/07/11 08:54, Tom Tromey wrote:
>>>>>> "Jeff" == Jeff Law <law@redhat.com> writes:
> 
> Jeff> So, presumably there's no way to know we're throwing to Jeff>
> NullPointerException from the exception information attached to
> the Jeff> statement or BB?  If not I could disable if the statement
> with the Jeff> memory op throws anywhere.  It's not ideal, but
> conservatively correct.
> 
> I don't know the answer, but Java uses -fnon-call-exceptions, so
> maybe gating it on this would be appropriate.  Or, adding a new
> flag that the Java FE sets would also be fine by me.
I'll poke at it a little; I suspect the easiest thing to do will be to
either avoid this entirely if -fnon-call-exceptions or avoid if
there're an abnormal edge leading out of the block.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOuCpWAAoJEBRtltQi2kC7STwH/0OHElnvs4hiUi0GwYaPq5AZ
q8nTXK1l3R3eZqwv6Rjtc99MBEQWbDCgtv5VPU7l0ePcZ5Kk277PpRNQjMAkQp7g
BeW5U8RMxwczIeHGk8h9RNqIQREUHSeAzCGqXeZzIKEPUy3WeKe7Kufj+TOLo5ZX
+B4iE/uzMmmr4l0qLVHEtL6bQ3ZWsDbK87WTZknHE9tQQryRvhXmM6j3HpYn+7sK
bULWNaoUuZW4YbUiGGLM77t/hPgTPR1K7JA2tKAsxrXj+0sqanE8/ZydvgYzoaYd
bTJ3bqhMnkWRCnSGmAgjScQLYFwNJlu6QzTWI6Dp6EhWMnbDnbIFwXwIVDOzhrc=
=SFAu
-----END PGP SIGNATURE-----


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