aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-04-18 19:20:43 +0000
committerJim Meyering <meyering@gcc.gnu.org>2011-04-18 19:20:43 +0000
commit5cc124fe7db7ef72ecf8be72c23c2a78dce7f9e8 (patch)
tree14cf5cbaeaf33fb426af820c823e1e1d7faa4974
parent8a8dccb2c0d7fe8cc755a0f9bcf5d5a7d9516a6d (diff)
downloadgcc-5cc124fe7db7ef72ecf8be72c23c2a78dce7f9e8.zip
gcc-5cc124fe7db7ef72ecf8be72c23c2a78dce7f9e8.tar.gz
gcc-5cc124fe7db7ef72ecf8be72c23c2a78dce7f9e8.tar.bz2
gfortran: remove cpp definition of free, ...
in preparation for the s/gfc_free/free/ transformation. * gfortran.h (free): Remove macro definition that would otherwise prevent direct use of the function. From-SVN: r172665
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/fortran/gfortran.h1
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index a55e1c0..72229a5 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-15 Jim Meyering <meyering@redhat.com>
+
+ gfortran: remove cpp definition of free, ...
+ in preparation for the s/gfc_free/free/ transformation.
+ * gfortran.h (free): Remove macro definition that would otherwise
+ prevent direct use of the function.
+
2011-04-18 Tobias Burnus <burnus@net-b.de>
PR fortran/18918
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index c2c9d05..49fbd1f 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -49,7 +49,6 @@ along with GCC; see the file COPYING3. If not see
#define MAX_SUBRECORD_LENGTH 2147483639 /* 2**31-9 */
-#define free(x) Use_gfc_free_instead_of_free()
#define gfc_is_whitespace(c) ((c==' ') || (c=='\t'))
/* Stringization. */