RFA: Fix PR 28139

Joern RENNECKE joern.rennecke@st.com
Fri Jun 23 17:01:00 GMT 2006


:ADDPATCH c++:

By creating the temporary variable with the proper type, we get the 
right alias sets so that
scheduling won't move the load from the temporary variable before its 
initialization.

As an added bonus, the optimizers can eliminate INDIRECT_REF/ ADDR_PAIRS
if they are not spearated by a type conversion, thus allowing the 
temporary variable to be eliminated.

Regression tested on i686-pc-linux-gnu native and X sh-elf.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr28139-patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060623/eb70ed60/attachment.ksh>


More information about the Gcc-patches mailing list