subreg transformation causes incorrect post_inc

Mark Shinwell shinwell@codesourcery.com
Sun Nov 12 17:55:00 GMT 2006


TabonyEE@austin.rr.com wrote:
> From: Mark Shinwell <shinwell@codesourcery.com>
>> TabonyEE@austin.rr.com wrote:
>>> My port, based on (GCC) 4.2.0 20061002 (experimental), is producing
>>> incorrect code for the following test case:
>> [snip]
>>
>> I've only had a very quick look at your code, but I have a feeling 
>> thatthis is an instance of the kind of slip-up with 
>> GO_IF_MODE_DEPENDENT_ADDRESSthat my patch at 
>> http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00858.html is
>> aimed at preventing.  (This patch is currently only applied to 
>> addrmodesbranch.)
>>
>> Mark
> 
> Hhmm.  Is the intent of your patch simply to prevent the mistake of
> backends not defining GO_IF_MODE_DEPENDENT_ADDRESS properly?

That's right.  Presumably something else is wrong, then :-)

Mark



More information about the Gcc mailing list