Problems in some EH testcases

H . J . Lu hjl@valinux.com
Tue Jul 25 08:46:00 GMT 2000


On Tue, Jul 25, 2000 at 02:54:37PM +0100, Nathan Sidwell wrote:
> "H . J . Lu" wrote:
> > 
> > I am working on some EH failures with the shared libstdc++ v3. It
> > turned the problem was in some EH testcases themselves. In
> > g++.old-deja/g++.eh/badalloc1.C, there is
> > 
> > --
> > static __SIZE_TYPE__ arena[32767]; // so things can initialize
> > --
> > 
> > 32767 is not enough when the shared libstdc++ v3 is enabled under
> 
> > It is before main () is entered. When I doubled 32767, the testcase
> > passed. Should I invesigate other failures and send a patch?
> Sorry for the tardy response. Yes, please determine what size is needed
> for those arrays. I picked 32767 as it's guaranteed to be of type int
> [does C++ have larger minima?]
> 

65534 works for me. I cannot build the libstdc++ v3 now due to the
libio usage change in libstdc++ v3.


-- 
H.J. Lu (hjl@gnu.org)


More information about the Gcc-bugs mailing list