]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran: remove cpp definition of free, ...
authorJim Meyering <meyering@redhat.com>
Mon, 18 Apr 2011 19:20:43 +0000 (19:20 +0000)
committerJim Meyering <meyering@gcc.gnu.org>
Mon, 18 Apr 2011 19:20:43 +0000 (19:20 +0000)
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

gcc/fortran/ChangeLog
gcc/fortran/gfortran.h

index a55e1c0d3d2a45143c31f39224436b04cb78a13a..72229a5cb7ef8fe0d70d558140a709477c4f1c68 100644 (file)
@@ -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
index c2c9d0548f8e34c72b03bb02943c0dd229f6af4d..49fbd1fa0538e324df9320d65b500cfe49f15f56 100644 (file)
@@ -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.  */