This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix to cfganal.c for target/5469


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]