This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: config/sparc/freebsd.h
In article <20030522061549.GC26615@daikokuya.co.uk>,
Neil Booth<firstname.lastname@example.org> writes:
>> * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
>> -D__sparc__ to match system compiler convention.
> On mainline, __sparc__ is unnecessary as it's in CPU_BUILTINS.
OK, thanks for catching that nit (I admit to being focused on fixing
3.3 ASAP). I see what you mean (OK, yea, you know I saw your patch go
by the other day; that makes it all the more embarrassing):
diff gcc-3.3/gcc/config/sparc/sparc.h gcc-mainline/gcc/config/sparc/sparc.h
> builtin_define_std ("sparc"); \
As committed to mainline:
RCS file: /cvs/gcc/gcc/gcc/config/sparc/freebsd.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -r1.20 -r1.21
< "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__"
> "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__"