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]

[gfortran] Re: Another small comment fix


Paul Brook wrote:
	* trans-expr.c, trans-decl.c: Comment update, SIMPLE is now
	GIMPLE.


Still wrong. We generate GENERIC, not GIMPLE.


One learns everyday. Fixed thusly.


- Tobi

2004-04-24 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>

	* trans-intrinsic.c: Fix comment, this is not trans-expr.c.
	* trans-expr.c, trans-decl.c: Comment update, we now generate
	GENERIC, not SIMPLE.

Index: trans-intrinsic.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/fortran/Attic/trans-intrinsic.c,v
retrieving revision 1.1.2.29
diff -u -p -r1.1.2.29 trans-intrinsic.c
--- trans-intrinsic.c   11 Apr 2004 12:43:14 -0000      1.1.2.29
+++ trans-intrinsic.c   24 Apr 2004 10:19:40 -0000
@@ -1,4 +1,4 @@
-/* Expression translation
+/* Intrinsic translation
    Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    Contributed by Paul Brook <paul@nowt.org>
    and Steven Bosscher <s.bosscher@student.tudelft.nl>
@@ -20,7 +20,7 @@ along with GNU G95; see the file COPYING
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */

-/* trans-expr.c-- generate SIMPLE trees for gfc_expr.  */
+/* trans-intrinsic.c-- generate GENERIC trees for calls to intrinsics.  */

 #include "config.h"
 #include "system.h"
Index: trans-expr.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/fortran/Attic/trans-expr.c,v
retrieving revision 1.1.2.22
diff -u -p -r1.1.2.22 trans-expr.c
--- trans-expr.c        10 Apr 2004 22:42:11 -0000      1.1.2.22
+++ trans-expr.c        24 Apr 2004 10:19:43 -0000
@@ -1,5 +1,5 @@
 /* Expression translation
-   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
    Contributed by Paul Brook <paul@nowt.org>
    and Steven Bosscher <s.bosscher@student.tudelft.nl>

@@ -20,7 +20,7 @@ along with GNU G95; see the file COPYING
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */

-/* trans-expr.c-- generate SIMPLE trees for gfc_expr.  */
+/* trans-expr.c-- generate GENERIC trees for gfc_expr.  */

 #include "config.h"
 #include "system.h"

Index: trans-decl.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/fortran/Attic/trans-decl.c,v
retrieving revision 1.1.2.36
diff -u -p -r1.1.2.36 trans-decl.c
--- trans-decl.c        10 Apr 2004 22:42:11 -0000      1.1.2.36
+++ trans-decl.c        24 Apr 2004 10:19:55 -0000
@@ -2032,7 +2034,7 @@ gfc_generate_function_code (gfc_namespac
   poplevel (1, 0, 1);
   BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl;

-  /* Output the SIMPLE tree.  */
+  /* Output the GENERIC tree.  */
   dump_function (TDI_original, fndecl);

/* Store the end of the function, so that we get good line number


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