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


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)

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