obstack problems in cc1plus

Alexandre Oliva oliva@lsd.ic.unicamp.br
Fri Feb 25 11:08:00 GMT 2000


On Feb 25, 2000, Peter Lawrence <Peter.Lawrence@Eng.Sun.COM> wrote:

> there is a mis-use of obstacks and consequent memory corruption in 
> cc1plus, both gcc-2.8.1 and gcc-2.95.1.

Yup.  Probably several of them.  Fortunately, we no longer use
obstacks in cc1plus, in the development sources.  A garbage collector
is used instead.  You may want to give a snapshot a try.

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me



More information about the Gcc-bugs mailing list