trivial fixes for i386.c on Darwin/x86

Andrew Pinski pinskia@physics.uc.edu
Thu Dec 18 23:00:00 GMT 2003


On Dec 18, 2003, at 14:29, Stuart Hastings wrote:

> Subject says it all.
>
> With this patch, the GCC trunk will bootstrap and make check on 
> Darwin/x86.  Without this patch, two warnings and -Werror prevent 
> i386.c from compiling.
>
> One change is a parameter that isn't used when TARGET_MACHO is true; 
> the other is entirely inside #if TARGET_MACHO.
>
> This should be non-controversial.   ;-)
>
> O.K. to commit to trunk ?
>
> stuart hastings
> Apple Computer
>
> <gcc.fsf3.pure.diffs.txt>

One comment:
! 		  __attribute__ ((unused)) rtx callarg2,
Should be
! 		  rtx callarg2 ATTRIBUTE_UNUSED,

I think this qualifies under the obvious rule any ways after the 
comment above.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list