From: Jim Meyering Date: Mon, 18 Apr 2011 19:20:43 +0000 (+0000) Subject: gfortran: remove cpp definition of free, ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cc124fe7db7ef72ecf8be72c23c2a78dce7f9e8;p=gcc.git 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 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a55e1c0d3d2..72229a5cb7e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2011-04-15 Jim Meyering + + 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 PR fortran/18918 diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h index c2c9d0548f8..49fbd1fa053 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. */