Problems in some EH testcases
Nathan Sidwell
nathan@codesourcery.com
Tue Jul 25 06:52:00 GMT 2000
"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?]
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
More information about the Gcc-bugs
mailing list