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: Support Xilinx PowerPC target boards


Joseph S. Myers wrote:
On Tue, 18 Nov 2008, Michael Eager wrote:

Joseph S. Myers wrote:
Defining new macros -DHAVE_XFPU* in the user's namespace is clearly a bad
idea for any new target; use the implementation namespace instead.
Unfortunately, this is required for compatibility with
prior releases of the compiler.

Even in standards mode? Anything that predefines macros in the user's namespace with -ansi / -std=c* / -std=i* (whether in specs, or with builtin_define not conditional on !flag_iso (builtin_define_std does the right thing automatically)) is an instance of bug 545.

This is only for the --target=powerpc-xilinx-eabi build. AFAIK, Xilinx has received no problem reports related to -ansi, etc., so it doesn't seem worth the effort to make these flags conditional.

I can create duplicate flags _HAVE_XFPU* (or some other names)
and I can recommend that Xilinx deprecate use of the HAVE_XFPU* flags.

Alternately, I can modify the patch to define _HAVE_XFPU* and
keep a local patch which renames this to the old forms.  (Along
with a note that this will change in a future customer release.)


-- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077


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