This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: install
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: install
- From: David Lucas <dlucas at checkfree dot com>
- Date: Wed, 22 Apr 1998 09:49:01 -0400
- CC: peter dot garner at toward dot com, egcs at cygnus dot com, egcs-bugs at cygnus dot com
- Organization: CheckFree, SSD
- References: <199804210647.XAA00808@cygint.cygnus.com> <199804220605.IAA04359@mira.isdn.cs.tu-berlin.de>
> Could you report this as a bug to egcs-bugs? Please include all the
> relevant information, such as what system you use and what compiler,
> and what your testcase is. I tried compiling
>
> #include <new>
> #include <iostream.h>
>
> main()
> try{
> char *s = new char[1<<28];
> }catch(std::bad_alloc)
> {
> cerr<<"Caught oom"<<endl;
> }
>
> with egcs-2.91.16 (which is a development snapshot) on Linux, and
> I get the message 'Caught oom'.
>
> Regards,
> Martin
I tried it and it failed on HP-UX too...
GNU assembler version 2.7 (hppa1.1-hp-hpux10.20), using BFD version 2.7
% g++ --version
egcs-2.91.22
(gdb) where
#0 0x7ae90124 in __builtin_new (sz=0)
#1 0x7ffffffc in ?? ()
#2 0xdd74 in __sjthrow ()
#3 0x0 in ?? ()
Hope the info helps...
Later,
Dave
--
-----------------------------------------------------------------
David Lucas | mailto:dlucas@checkfree.com
Staff Software Engineer |
Systems Software Development | My opinions are IMHO.
OFX Server Devl 08-126 |
|
CheckFree Corporation | Work# 614.825.3511
8275 High Street | Fax# 614.825.3104
Columbus, OH 43235 | http://www.checkfree.com
-----------------------------------------------------------------