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: Gcc mainline is broken


This patch

http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01386.html

breaks gcc:

/net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/intrinsic.c:1456: error:
âC_ISYM_GAMMAândeclared (first use in this function)
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/intrinsic.c:1456: error:
(Each undeclared identifier is reported only once
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/intrinsic.c:1456: error:
for each function it appears in.)
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/intrinsic.c:1703: error:
âC_ISYM_LGAMMAândeclared (first use in this function)

GFC_ISYM_GAMMA and GFC_ISYM_LGAMMA aren't defined anywhere. This
patch works for me.


H.J.
----
2007-08-26  H.J. Lu  <hongjiu.lu@intel.com>

	* gfortran.h (gfc_isym_id): Add GFC_ISYM_GAMMA and
	GFC_ISYM_LGAMMA.

--- gcc/fortran/gfortran.h.foo	2007-08-21 11:42:23.000000000 -0700
+++ gcc/fortran/gfortran.h	2007-08-26 11:41:17.000000000 -0700
@@ -387,6 +387,7 @@ enum gfc_isym_id
   GFC_ISYM_FSEEK,
   GFC_ISYM_FSTAT,
   GFC_ISYM_FTELL,
+  GFC_ISYM_GAMMA,
   GFC_ISYM_GERROR,
   GFC_ISYM_GETARG,
   GFC_ISYM_GET_COMMAND,
@@ -430,6 +431,7 @@ enum gfc_isym_id
   GFC_ISYM_LBOUND,
   GFC_ISYM_LEN,
   GFC_ISYM_LEN_TRIM,
+  GFC_ISYM_LGAMMA,
   GFC_ISYM_LGE,
   GFC_ISYM_LGT,
   GFC_ISYM_LINK,


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