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: Fix for PR/6552


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

> This affects only Ada:

Did you run a full bootstrap together with the testsuite?  On which
platform?

> 2003-11-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
>

Please add:
        PR/6552
> 	* function.c (struct epi_info): New field const_equiv.

here if this is really for that PR.

> 	(update_epilogue_consts): New function.
> 	(keep_stack_depressed): Clear new field and verify scratch register
> 	doesn't have it set.
> 	Call new function via note_stores.
> 	(handle_epilogue_set): Allow setting SP equiv reg in different mode.
> 	Allow PLUS where second operand is register known set to constant.
> 	(emit_equiv_load): Write load using proper mode if source different.
> 	* config/mips/mips.md (return_internal): Put (return) first.
>
> *** function.c	12 Nov 2003 02:10:12 -0000	1.466
> --- function.c	14 Nov 2003 17:21:56 -0000
> *************** struct epi_info
> *** 7297,7303 ****
> --- 7297,7306 ----
>   				   should be set to once we no longer need
>   				   its value.  */
> +   rtx const_equiv[FIRST_PSEUDO_REGISTER]; /* Any known constant equivalences
> + 					     for registers.  */
>   };
>   
>   static void handle_epilogue_set (rtx, struct epi_info *);
> + static void update_epilogue_consts PARAMS ((rtx, rtx, void *));

Please do not introduce again PARAMS, we just got rid of them.

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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