This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed to fix ia64/aix.h TARGET_OS_CPP_BUILTINS typo
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Sep 2002 15:12:02 -0400 (EDT)
- Subject: Patch installed to fix ia64/aix.h TARGET_OS_CPP_BUILTINS typo
The patch below fixes this error:
> c-common.c: In function `cb_register_builtins':
> c-common.c:5171: error: `iso_flag' undeclared (first use in this function)
> c-common.c:5171: error: (Each undeclared identifier is reported only once
> c-common.c:5171: error: for each function it appears in.)
> make: *** [c-common.o] Error 1
Tested via cross-compiling cc1 to ia64-unknown-aix
Installed as obvious.
2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
diff -rup orig/egcc-bib-CVS20020914/gcc/config/ia64/aix.h egcc-bib-CVS20020914/gcc/config/ia64/aix.h
--- orig/egcc-bib-CVS20020914/gcc/config/ia64/aix.h 2002-09-05 16:03:43.000000000 -0400
+++ egcc-bib-CVS20020914/gcc/config/ia64/aix.h 2002-09-15 15:02:20.844467076 -0400
@@ -74,7 +74,7 @@ Boston, MA 02111-1307, USA. */
/* Target OS builtins. */
#define TARGET_OS_CPP_BUILTINS() \
do { \
- if (iso_flag) \
+ if (flag_iso) \
builtin_define("_ANSI_C_SOURCE"); \
builtin_define("_AIX"); \
builtin_define("_AIX64"); \