This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: free function in 300.twolf
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: Olga Golovanevsky <OLGA at il dot ibm dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Pat Haugen <pthaugen at us dot ibm dot com>, Andrew Pinski <pinskia at gmail dot com>, Daniel Berlin <dberlin at dberlin dot org>, "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>, Jan Hubicka <jh at suse dot cz>, Richard Guenther <richard dot guenther at gmail dot com>, Kenneth Zadeck <zadeck at naturalbridge dot com>, Razya Ladelsky <RAZYA at il dot ibm dot com>
- Date: Fri, 09 Feb 2007 16:09:45 +0100
- Subject: Re: free function in 300.twolf
- References: <OF23D0DC5A.3A52D11C-ONC225727D.0041CCC8-C225727D.0047518C@il.ibm.com>
extern void free (MT *,int);
at the beginning of mt.c file solved the problem.
The free function used here is not built-in one.
Actually it is the builtin one but declared incorrectly. SPEC has a
src.alt that fixes this; it basically entails removing the second
argument of free in the sole spot where free is used with two arguments
(which is only once, in lists.h).
Paolo