This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: possible gcse failure: not able to eliminate redundant loads
Richard Henderson writes:
> On Fri, Dec 13, 2002 at 09:25:54PM +0100, Toon Moene wrote:
> > Can we disable this notion of loads-that-might-trap from a frontend ?
>
> I don't know.
I wrote a patch that adds a flag to a MEM so that a front end can mark
it as trapping or not trapping and may_trap_p() can deal with it
accordingly. This is good for Java too.
I'll clean it up and submit it if there's interest.
Andrew.