CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2011/12/15 13:07:36

Modified files:
        gnu/egcs/gcc/cp: decl.c 

Log message:
In duplicate_decls(), don't try to take advantage of the ``permanent_obstack''
memory usage optimization, because this code is just bogus and causes
access-beyond-allocated-size SIGSEGV in the wild.

This is part of a larger diff (being worked on) backporting the removal of
``permanent_obstack'' completely from gcc, as done by the gcc folks in 3.x
after they came to their senses (or got tired of dissecting coredumps on
platforms with strong malloc implementations).

Only affects m68k, m88k and vax; collecting dust in the m88k tree, commit
triggered by sebastia@ via espie@ as this fixes the devel/gperf port on vax.

Reply via email to