This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ggc_free


> On Sun, Jan 25, 2004 at 11:58:03AM +0100, Jan Hubicka wrote:
> > The testcase is:
> > 
> > __extension__ extern __inline long long int
> > strtoll (__const char *__restrict __nptr, char **__restrict __endptr,
> > 		  int __base)
> > {
> > 	  return __strtoll_internal (__nptr, __endptr, __base, 0);
> > }
> 
> Ok, this makes sense.
> 
> A better fix, I think, is to put an integer onto the parse stack rather 
> than any sort of allocated widget at all.  No telling why I approved 
> this change in the first place -- I must have been drunk or something...

This of course is much better.  I tought there must be some deep reason
why it is done this funny way.

Thanks!
Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]