This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/13873] gcc/longlong.h uses test for PPC
- From: "user42 at zip dot com dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 23:58:46 -0000
- Subject: [Bug other/13873] gcc/longlong.h uses test for PPC
- References: <20040127015913.13873.sean@mcneil.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From user42 at zip dot com dot au 2004-02-09 23:58 -------
Subject: Re: gcc/longlong.h uses test for PPC
Sean McNeil <sean@mcneil.com> writes:
>
> This is a restatement of the bug in longlong.h for the sake of reporting
> to GMP.
Thanks.
> PPC is too generic of a name to test for the target type.
I think I'd seen it somewhere under config/rs6000 in a past version of
gcc, though I see it's gone now. (I don't think I just made it up :-)
> Please use another test if required. __powerpc__ should have been
> good enough, however.
In gmp we make a HAVE_HOST_CPU_FAMILY_powerpc, driven from the --host
tuple. I think we might use that, to remove any doubt. (It's already
used in other places.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13873