This is the mail archive of the gcc@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: install


> 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
-----------------------------------------------------------------


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