------- Comment #19 from rguenther at suse dot de  2008-02-01 14:38 -------
Subject: Re:  [4.3 Regression] gcc-4.3 generates wrong code
 on i386 with -O3

On Fri, 1 Feb 2008, stevenb dot gcc at gmail dot com wrote:

> ------- Comment #18 from stevenb dot gcc at gmail dot com  2008-02-01 14:14 
> -------
> Subject: Re:  [4.3 Regression] gcc-4.3 generates wrong code on i386 with -O3
> 
> Why would we be calling expand_null_return to begin with, if there is
> a proper return statement?

No idea, we seem to add these clobbers unconditionally from
expand_function_end.

One fix is to teach postreload-gcse record_last_set_info about
the other parts of the (clobber (reg:SC ax)) as it currently
only sees ax.  Micha has a patch for this (gcse.c looks similarly
affected).

Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35045

Reply via email to