This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix / improve single_set_2
- To: John Wehle <john at feith dot com>
- Subject: Re: Patch to fix / improve single_set_2
- From: Richard Henderson <rth at redhat dot com>
- Date: Sun, 8 Apr 2001 13:03:08 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200104081548.LAA08957@jwlab.FEITH.COM>
On Sun, Apr 08, 2001 at 11:48:33AM -0400, John Wehle wrote:
> This patch fixes single_set_2 so that it handles simple sets...
How, pray tell, did this get here? It's supposed to be
handled by single_set directly.
> ... and realizes that a SET_SRC which is a const call does not
> have a side effect.
I don't think this is safe -- const calls do clobber registers.
r~