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] Add TARGET_GNU_SINCOS target macro


On Wed, Jan 17, 2007 at 10:45:39PM +0100, Richard Guenther wrote:
> 
> This adds a TARGET_GNU_SINCOS target macro to tell whether the target
> has a sincos implementation conforming to GNU.

There are several Linux targets which don't use config/linux.h:
alpha-linux, powerpc*-linux, sparc*-linux.
Could you add the same below TARGET_C99_FUNCTION defines in their headers
too:
find . -name \*.h | xargs grep TARGET_C99_FUNCTIONS.*OPTION_GLIBC
./config/alpha/linux.h:#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
./config/rs6000/linux.h:#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
./config/rs6000/linux64.h:#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
./config/linux.h:#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
./config/sparc/linux.h:#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
./config/sparc/linux64.h:#define TARGET_C99_FUNCTIONS (OPTION_GLIBC)

>      is present in the runtime library.  */
>   #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
>   
> + /* Whether we have sincos that follows the GNU extension.  */
> + #define TARGET_GNU_SINCOS (OPTION_GLIBC)
> + 
>   #define TARGET_POSIX_IO

	Jakub


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