This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: struct function cleanup part I
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 31 Mar 2008 22:43:41 +0200
- Subject: Re: struct function cleanup part I
- References: <20080331124900.GW4732@kam.mff.cuni.cz> <47F14C65.70905@fgznet.ch>
>
> This one broke bootstrap on sparc-solaris.
>
> If I am right it should be now something like this ?
Yes, this should work. I didn't checked md files for occurence of
those, I will check out others shortly.
Honza
>
> [wolfram:head/gcc/gcc] andreast% svn diff config/sparc/sparc.h
> Index: config/sparc/sparc.h
> ===================================================================
> --- config/sparc/sparc.h (revision 133770)
> +++ config/sparc/sparc.h (working copy)
> @@ -953,7 +953,7 @@
> /* Given the stack bias, the stack pointer isn't actually aligned. */
> #define INIT_EXPANDERS \
> do { \
> - if (cfun && cfun->emit->regno_pointer_align && SPARC_STACK_BIAS) \
> + if (rtl.emit.regno_pointer_align && SPARC_STACK_BIAS) \
> { \
> REGNO_POINTER_ALIGN (STACK_POINTER_REGNUM) = BITS_PER_UNIT; \
> REGNO_POINTER_ALIGN (HARD_FRAME_POINTER_REGNUM) = BITS_PER_UNIT; \
>
> Hopefully not a big deal, still bootstrapping.
>
> Regards,
> andreas