possible gcse failure: not able to eliminate redundant loads

Andrew Haley aph@redhat.com
Mon Dec 16 11:32:00 GMT 2002


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.



More information about the Gcc mailing list