This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems in some EH testcases


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]