This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix to cfganal.c for target/5469
- From: Richard Henderson <rth at redhat dot com>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Jan 2002 10:31:54 -0800
- Subject: Re: [PATCH] fix to cfganal.c for target/5469
- References: <20020130093242.A15454@us.ibm.com>
On Wed, Jan 30, 2002 at 09:32:42AM -0800, Janis Johnson wrote:
> * cfganal.c (flow_call_edges_add): Prevent splitting a block
> between a call and the restore of a call-clobbered PIC offset
> table register.
Actually, we should do more than this: skip all single_set move insns
in which either (1) the destination is a fixed register or (2) the
source is FUNCTION_VALUE_REGNO_P.
The first clause fixes the ia64 problem, the second prevents some
odd reload problems that we havn't noticed so far.
r~