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: PATCH: config/sparc/freebsd.h


In article <20030522061549.GC26615@daikokuya.co.uk>,
Neil Booth<neil@daikokuya.co.uk> 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:

Index: config/sparc/freebsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/freebsd.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -r1.20 -r1.21
26c26
<   "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__"
---
>   "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__"


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