This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Trivial patch for gcc/f/global.c
- From: Art Haas <ahaas at airmail dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Jun 2003 17:09:51 -0500
- Subject: [PATCH] Trivial patch for gcc/f/global.c
Hi.
This patch fixes the obsolete GCC array initializers by adding '='
characters. The compiler has just bootstrapped, and the testsuite run will
begin shortly.
2003-06-25 Art Haas <ahaas@airmail.net>
* global.c: Fix obsolete GCC array initializer syntax.
Index: gcc/f/global.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/f/global.c,v
retrieving revision 1.13
diff -u -u -r1.13 global.c
--- gcc/f/global.c 7 Jun 2003 17:52:48 -0000 1.13
+++ gcc/f/global.c 16 Jun 2003 23:12:42 -0000
@@ -62,14 +62,14 @@
static ffenameSpace ffeglobal_filewide_ = NULL;
static const char *const ffeglobal_type_string_[] =
{
- [FFEGLOBAL_typeNONE] "??",
- [FFEGLOBAL_typeMAIN] "main program",
- [FFEGLOBAL_typeEXT] "external",
- [FFEGLOBAL_typeSUBR] "subroutine",
- [FFEGLOBAL_typeFUNC] "function",
- [FFEGLOBAL_typeBDATA] "block data",
- [FFEGLOBAL_typeCOMMON] "common block",
- [FFEGLOBAL_typeANY] "?any?"
+ [FFEGLOBAL_typeNONE] = "??",
+ [FFEGLOBAL_typeMAIN] = "main program",
+ [FFEGLOBAL_typeEXT] = "external",
+ [FFEGLOBAL_typeSUBR] = "subroutine",
+ [FFEGLOBAL_typeFUNC] = "function",
+ [FFEGLOBAL_typeBDATA] = "block data",
+ [FFEGLOBAL_typeCOMMON] = "common block",
+ [FFEGLOBAL_typeANY] = "?any?"
};
#endif
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822