This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: unconditional pre-reload splitter
- To: Graham Stott <grahams at redhat dot com>
- Subject: Re: unconditional pre-reload splitter
- From: Jan Hubicka <jh at suse dot cz>
- Date: Sat, 14 Jul 2001 02:05:31 +0200
- Cc: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org, gcc at gcc dot gnu dot org
- References: <20010625135229.S7932@atrey.karlin.mff.cuni.cz> <20010625090633.B13183@redhat.com> <3B42F01C.347E8191@redhat.com>
> Which is wrong insn 298 shouldn't have a REG_EQUIV note because
> it is set more than once.
>
> Jan did you intended to do the spliting when not optimizing if so
> then the register use info needs to get updated.
>
> The easiest way is get rid of the register_life_up_to_date flag
> and always call recompute_reg_usage.
Whats about clearing register_life_up_to_date even when not optimizing
like this? Does it solve your problem?
*** toplev.c.old Thu Jul 12 18:37:00 2001
--- toplev.c Sat Jul 14 02:13:51 2001
*************** rest_of_compilation (decl)
*** 3416,3423 ****
/* Any of the several passes since flow1 will have munged register
lifetime data a bit. */
! if (optimize > 0)
! register_life_up_to_date = 0;
#ifdef OPTIMIZE_MODE_SWITCHING
timevar_push (TV_GCSE);
--- 3416,3422 ----
/* Any of the several passes since flow1 will have munged register
lifetime data a bit. */
! register_life_up_to_date = 0;
#ifdef OPTIMIZE_MODE_SWITCHING
timevar_push (TV_GCSE);