This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems in some EH testcases
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: Problems in some EH testcases
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Tue, 25 Jul 2000 14:54:37 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- Organization: Codesourcery LLC
- References: <20000717160738.A5420@valinux.com>
"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