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 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");			\


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