gfortran: remove cpp definition of free, ...
authormeyering <meyering@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2011 19:20:43 +0000 (19:20 +0000)
committermeyering <meyering@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172665 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a55e1c0..72229a5 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 c2c9d05..49fbd1f 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.  */