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]

[PATCH] PR target/22083: TARGET_C99_FUNCTIONS on AIX 5.1


The following patch should resolve PR target/22083, which is caused
by the incorrect definition of TARGET_C99_FUNCTIONS on AIX 5.1.  This
definition was added by a patch of mine back in 2003, but unfortunately
I now longer have access to a 5.1 box, so I'm assuming that I must have
been mistaken when I convinced myself it had full C99 support.

The patch below simply removes the problematic definition.

Ok for mainline?


2005-06-17  Roger Sayle  <roger@eyesopen.com>

	PR target/22083
	* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Remove definition.


Index: config/rs6000/aix51.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/aix51.h,v
retrieving revision 1.28
diff -c -3 -p -r1.28 aix51.h
*** config/rs6000/aix51.h	5 May 2005 20:54:21 -0000	1.28
--- config/rs6000/aix51.h	17 Jun 2005 23:44:51 -0000
*************** do {									\
*** 178,186 ****
  #undef LD_INIT_SWITCH
  #define LD_INIT_SWITCH "-binitfini"

- /* AIX 5.1 has the float and long double forms of math functions.  */
- #undef TARGET_C99_FUNCTIONS
- #define TARGET_C99_FUNCTIONS  1
-
  /* This target uses the aix64.opt file.  */
  #define TARGET_USES_AIX64_OPT 1
--- 178,182 ----


Roger
--
Roger Sayle,                         E-mail: roger@eyesopen.com
OpenEye Scientific Software,         WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road,     Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507.         Fax: (+1) 505-473-0833


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