Bug 21583 - FAIL: g++.old-deja/g++.eh/badalloc1.C execution test
Summary: FAIL: g++.old-deja/g++.eh/badalloc1.C execution test
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 3.4.4
: P2 normal
Target Milestone: 3.4.6
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 19888
  Show dependency treegraph
 
Reported: 2005-05-15 14:50 UTC by John David Anglin
Modified: 2006-02-21 13:40 UTC (History)
3 users (show)

See Also:
Host:
Target: hppa*-hp-hpux11.11
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-05-15 20:08:21


Attachments
badalloc1.C.d (851 bytes, text/plain)
2005-05-15 20:30 UTC, dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2005-05-15 14:50:02 UTC
Executing on host: /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/../g++ -B/xxx/gnu/gcc-3
.3/objdir/gcc/testsuite/../ /xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.
eh/badalloc1.C  -nostdinc++ -I/xxx/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libs
tdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/xxx/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpu
x11.11/libstdc++-v3/include -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++ -I/xxx
/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/incl
ude/backward -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/testsuite -fmessage-length=0
-ansi -pedantic-errors -Wno-long-long    -L/xxx/gnu/gcc-3.3/objdir/hppa2.0w-hp-h
pux11.11/./libstdc++-v3/src/.libs -L/xxx/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.1
1/./libiberty  -lm   -o ./badalloc1.exe    (timeout = 300)
PASS: g++.old-deja/g++.eh/badalloc1.C (test for excess errors)
Setting LD_LIBRARY_PATH to .:/xxx/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/./lib
stdc++-v3/src/.libs:/xxx/gnu/gcc-3.3/objdir/gcc:.:/xxx/gnu/gcc-3.3/objdir/hppa2.
0w-hp-hpux11.11/./libstdc++-v3/src/.libs:/xxx/gnu/gcc-3.3/objdir/gcc
terminate called recursively
FAIL: g++.old-deja/g++.eh/badalloc1.C execution test
Comment 1 jsm-csl@polyomino.org.uk 2005-05-15 17:19:25 UTC
Subject: Re:  New: FAIL: g++.old-deja/g++.eh/badalloc1.C
 execution test

On Sun, 15 May 2005, danglin at gcc dot gnu dot org wrote:

> FAIL: g++.old-deja/g++.eh/badalloc1.C execution test

FWIW, the IA64 version of this was bug 19888.  Backporting the testsuite 
patch for that to 4.0 branch is on my TODO list; I don't know whether it 
would also address the PA issue on 3.4 branch.

Comment 2 dave 2005-05-15 17:38:41 UTC
Subject: Re:  FAIL: g++.old-deja/g++.eh/badalloc1.C execution test

> > FAIL: g++.old-deja/g++.eh/badalloc1.C execution test
> 
> FWIW, the IA64 version of this was bug 19888.  Backporting the testsuite 
> patch for that to 4.0 branch is on my TODO list; I don't know whether it 
> would also address the PA issue on 3.4 branch.

This test doesn't fail on 4.0, so there's a good chance that increasing
arena_size would fix this fail on the PA.

Dave
Comment 3 Eric Botcazou 2005-05-15 20:08:20 UTC
Present on sparc-sun-solaris2.10 too, only on 3.4 branch.  Same symptom: not
enough space to allocate an exception so an exception is raised. :-)
Comment 4 dave 2005-05-15 20:30:07 UTC
Subject: Re:  FAIL: g++.old-deja/g++.eh/badalloc1.C execution test

> Subject: Re:  FAIL: g++.old-deja/g++.eh/badalloc1.C execution test
> 
> > > FAIL: g++.old-deja/g++.eh/badalloc1.C execution test
> > 
> > FWIW, the IA64 version of this was bug 19888.  Backporting the testsuite 
> > patch for that to 4.0 branch is on my TODO list; I don't know whether it 
> > would also address the PA issue on 3.4 branch.
> 
> This test doesn't fail on 4.0, so there's a good chance that increasing
> arena_size would fix this fail on the PA.

The arena_size size change by itself is not sufficient.  However,
backporting the 4.0 changes fixes the fail.

Dave
Comment 5 dave 2005-05-15 20:30:08 UTC
Created attachment 8895 [details]
badalloc1.C.d
Comment 6 dave 2005-05-15 20:42:26 UTC
Subject: Re:  FAIL: g++.old-deja/g++.eh/badalloc1.C execution test

> The arena_size size change by itself is not sufficient.  However,
> backporting the 4.0 changes fixes the fail.

I just realized that the 4.0 version doesn't have Joseph's change
for ia64 hpux.

Dave
Comment 7 Kaveh Ghazi 2006-02-21 13:34:27 UTC
Subject: Bug 21583

Author: ghazi
Date: Tue Feb 21 13:34:23 2006
New Revision: 111333

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111333
Log:
	PR c++/21583

	Backport:
	2004-11-30  Loren James Rittle  <ljrittle@acm.org>

        * g++.old-deja/g++.eh/badalloc1.C (arena_size): Bump up to 262144
        to support new requirements on FreeBSD 5.

	2004-11-26  Mark Mitchell  <mark@codesourcery.com>

	* g++.old-deja/g++.eh/badalloc1.C: Robustify.


Modified:
    branches/gcc-3_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-3_4-branch/gcc/testsuite/g++.old-deja/g++.eh/badalloc1.C

Comment 8 Kaveh Ghazi 2006-02-21 13:40:56 UTC
This issue was fixed by backporting the 4.0 version of the testcase.  The update to the testcase necessary for ia64-hpux is on mainline/4.1 and is not included in this fix.  However it is tracked in PR 19888 in case someone wants to backport that additional bit to 4.0 & 3.4.