This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC][ARM] TARGET_ATOMIC_ASSIGN_EXPAND_FENV hook
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Kugan <kugan dot vivekanandarajah at linaro dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Ramana Radhakrishnan <ramrad01 at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Fri, 2 May 2014 00:15:24 +0000
- Subject: Re: [RFC][ARM] TARGET_ATOMIC_ASSIGN_EXPAND_FENV hook
- Authentication-results: sourceware.org; auth=none
- References: <535B89D6 dot 2070309 at linaro dot org>
It doesn't seem a good idea to me for a host-side GCC file to use the FE_*
names for the target's FE_* values; you'd run into problems if that file
ever ends up including the host's <fenv.h>, directly or indirectly, on any
host. The same comment applies to the AArch64 patch as well.
Instead I suggest names such as ARM_FE_* that won't conflict with the
host's system headers.
--
Joseph S. Myers
joseph@codesourcery.com