public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1
@ 1997-11-08  7:18 Alexandre Oliva
  1997-11-08 15:41 ` Joe Buck
  0 siblings, 1 reply; 10+ messages in thread
From: Alexandre Oliva @ 1997-11-08  7:18 UTC (permalink / raw)
  To: egcs

Test Run By oliva on Fri Nov  7 08:13:29 1997
Native configuration is i586-pc-linux-gnulibc1

		=== g++ tests ===

FAIL: g++.benjamin/warn01.C (test for excess errors)
XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
FAIL: g++.jason/template31.C (test for excess errors)
FAIL: g++.mike/eh10.C  Execution test
FAIL: g++.mike/eh2.C  Execution test
FAIL: g++.mike/eh23.C  Execution test
FAIL: g++.mike/eh29.C  Execution test
FAIL: g++.mike/eh3.C  Execution test
FAIL: g++.mike/eh33.C  Execution test
FAIL: g++.mike/eh39.C  Execution test
FAIL: g++.mike/eh40.C  Execution test
FAIL: g++.mike/eh41.C  Execution test
FAIL: g++.mike/eh42.C  Execution test
FAIL: g++.mike/eh44.C  Execution test
FAIL: g++.mike/eh5.C  Execution test
FAIL: g++.mike/eh50.C  Execution test
FAIL: g++.mike/eh51.C  Execution test
FAIL: g++.mike/eh6.C  Execution test

		=== g++ Summary ===

# of expected passes		3364
# of unexpected failures	17
# of unexpected successes	1
# of expected failures		81
# of untested testcases		6
/n/temp1/gcctest/bin/egcsc version egcs-2.90.16 971105 (gcc2-970802 experimental)
configure flags: --with-gnu-as --with-gnu-ld --enable-shared
BOOT_CFLAGS: -O4 -g

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1
  1997-11-08  7:18 Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1 Alexandre Oliva
@ 1997-11-08 15:41 ` Joe Buck
  1997-11-09  5:00   ` Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1) azure
  1997-11-09 10:56   ` Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1 Alexandre Oliva
  0 siblings, 2 replies; 10+ messages in thread
From: Joe Buck @ 1997-11-08 15:41 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: egcs

Alexandre,

> Test Run By oliva on Fri Nov  7 08:13:29 1997
> Native configuration is i586-pc-linux-gnulibc1

Judging by the many eh failures, I assume that you are using an old
version of gas ?

> FAIL: g++.benjamin/warn01.C (test for excess errors)
> XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
> FAIL: g++.jason/template31.C (test for excess errors)
> FAIL: g++.mike/eh10.C  Execution test
> FAIL: g++.mike/eh2.C  Execution test
> FAIL: g++.mike/eh23.C  Execution test
> FAIL: g++.mike/eh29.C  Execution test
> FAIL: g++.mike/eh3.C  Execution test
> FAIL: g++.mike/eh33.C  Execution test
> FAIL: g++.mike/eh39.C  Execution test
> FAIL: g++.mike/eh40.C  Execution test
> FAIL: g++.mike/eh41.C  Execution test
> FAIL: g++.mike/eh42.C  Execution test
> FAIL: g++.mike/eh44.C  Execution test
> FAIL: g++.mike/eh5.C  Execution test
> FAIL: g++.mike/eh50.C  Execution test
> FAIL: g++.mike/eh51.C  Execution test
> FAIL: g++.mike/eh6.C  Execution test

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
  1997-11-08 15:41 ` Joe Buck
@ 1997-11-09  5:00   ` azure
  1997-11-09 10:58     ` Alexandre Oliva
  1997-11-09 16:41     ` Joe Buck
  1997-11-09 10:56   ` Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1 Alexandre Oliva
  1 sibling, 2 replies; 10+ messages in thread
From: azure @ 1997-11-09  5:00 UTC (permalink / raw)
  To: Joe Buck; +Cc: egcs

On Sat, 8 Nov 1997, Joe Buck wrote:

> Judging by the many eh failures, I assume that you are using an old
> version of gas ?

Exactly what version of gas should be sufficient and where I could find it?? I
recently installed egcs-971023 with pgcc-patches to my Debian/Ix86-box and
noticed that my own very simple EH-test dumps core. Fortunately I remembered
those warnings that old gas would cause EH not to work and I downloaded
gas-970915.tar.gz archive from ftp://ftp.cygnus.com/pub/egcs/infrastructure
assuming that it would be new enough version. After replacing my old Debian
1.3.1-distributed gas with that one, that EH-test still dumps core, so I guess
that gas wasn't new enough...

Thanks in advance!

---
Hannu Koivisto | What you see is all you get.
NOYB           |                            - Brian Kernighan
-------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1
  1997-11-08 15:41 ` Joe Buck
  1997-11-09  5:00   ` Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1) azure
@ 1997-11-09 10:56   ` Alexandre Oliva
  1 sibling, 0 replies; 10+ messages in thread
From: Alexandre Oliva @ 1997-11-09 10:56 UTC (permalink / raw)
  To: Joe Buck; +Cc: egcs

Joe Buck writes:

> Judging by the many eh failures, I assume that you are using an old
> version of gas ?

Yup, this is intentional.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
  1997-11-09  5:00   ` Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1) azure
@ 1997-11-09 10:58     ` Alexandre Oliva
  1997-11-09 16:41     ` Joe Buck
  1 sibling, 0 replies; 10+ messages in thread
From: Alexandre Oliva @ 1997-11-09 10:58 UTC (permalink / raw)
  To: azure; +Cc: Joe Buck, egcs

azure  writes:

> After replacing my old Debian
> 1.3.1-distributed gas with that one, that EH-test still dumps core, so I guess
> that gas wasn't new enough...

I believe you should rebuild gcc after upgrading gas.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
  1997-11-09  5:00   ` Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1) azure
  1997-11-09 10:58     ` Alexandre Oliva
@ 1997-11-09 16:41     ` Joe Buck
  1997-11-10 10:59       ` H.J. Lu
                         ` (2 more replies)
  1 sibling, 3 replies; 10+ messages in thread
From: Joe Buck @ 1997-11-09 16:41 UTC (permalink / raw)
  To: azure; +Cc: jbuck, egcs

> > Judging by the many eh failures, I assume that you are using an old
> > version of gas ?
> 
> Exactly what version of gas should be sufficient and where I could find
> it??

The one from binutils-2.8.0.1.15 works.  as -v reports

GNU assembler version 970731 (i586-pc-linux-gnulibc1), using BFD version
linux-2.8.1.0.15

> I recently installed egcs-971023 with pgcc-patches

Sorry, if you're going to use the pgcc patches, we have no way of
verifying that it isn't those patches that are breaking exception
handling.

>  I downloaded
> gas-970915.tar.gz archive from ftp://ftp.cygnus.com/pub/egcs/infrastructure
> assuming that it would be new enough version.

I believe that it is.  However, there's still at least one EH failure
on Linux even with the new gas, so your test may still represent a bug.
Or the problem could be the pgcc patches.  Please post your test case.
If it works for others, then the problem may be the pgcc patches.
Another possibility is that your test case breaks for everyone.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
  1997-11-09 16:41     ` Joe Buck
@ 1997-11-10 10:59       ` H.J. Lu
       [not found]       ` <m0xUyYe-0004ecC.cygnus.egcs@ocean.lucon.org>
  1997-11-11  6:35       ` azure
  2 siblings, 0 replies; 10+ messages in thread
From: H.J. Lu @ 1997-11-10 10:59 UTC (permalink / raw)
  To: Joe Buck; +Cc: azure, jbuck, egcs

> I believe that it is.  However, there's still at least one EH failure
> on Linux even with the new gas, so your test may still represent a bug.

If the failure is eh23.C, I have seen it in many other none-linux
reports.

-- 
H.J. Lu (hjl@gnu.ai.mit.edu)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
       [not found]       ` <m0xUyYe-0004ecC.cygnus.egcs@ocean.lucon.org>
@ 1997-11-10 12:13         ` Jason Merrill
  0 siblings, 0 replies; 10+ messages in thread
From: Jason Merrill @ 1997-11-10 12:13 UTC (permalink / raw)
  To: H.J. Lu, egcs

>>>>> H J Lu <hjl@lucon.org> writes:

>> I believe that it is.  However, there's still at least one EH failure
>> on Linux even with the new gas, so your test may still represent a bug.

> If the failure is eh23.C, I have seen it in many other none-linux
> reports.

And it will be fixed in the next snapshot.

Jason

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
  1997-11-09 16:41     ` Joe Buck
  1997-11-10 10:59       ` H.J. Lu
       [not found]       ` <m0xUyYe-0004ecC.cygnus.egcs@ocean.lucon.org>
@ 1997-11-11  6:35       ` azure
  1997-11-13 10:46         ` H.J. Lu
  2 siblings, 1 reply; 10+ messages in thread
From: azure @ 1997-11-11  6:35 UTC (permalink / raw)
  To: Joe Buck; +Cc: egcs

On Sun, 9 Nov 1997, Joe Buck wrote:

> > I recently installed egcs-971023 with pgcc-patches
> 
> Sorry, if you're going to use the pgcc patches, we have no way of
> verifying that it isn't those patches that are breaking exception
> handling.

I know, sorry if gave a wrong impression. I didn't want to bother
anyone with this potentially pgcc-specific EH-problem, so that's why I
tried just to ask about the version of gas, which hopefully was enough
egcs-specific subject, so that I could find out myself whether upgrading
would help or not.

> I believe that it is.  However, there's still at least one EH failure
> on Linux even with the new gas, so your test may still represent a bug.
> Or the problem could be the pgcc patches.  Please post your test case.
> If it works for others, then the problem may be the pgcc patches.
> Another possibility is that your test case breaks for everyone.

I also tried my test with egcs-971023 (and gas-970915) without pgcc patches
and it also failed. Here's the code, in case someone is interested to
give it a try:

--- clip -----------------------------------------------------------------

#include <iostream.h>


class	Base {
    int	a;

public:
    void setValue(int value)	{a=value;}
};


class	Derived : private Base {
    char* ptr;

public:
    void setPV(char* p, int v)	{ptr=p; setValue(v);}
};


void a_function(void);
int foobar = 3;


int main()
{
    try {
        a_function();
    }
    catch (Derived a) {
        cout << 1 << endl;
    }
    catch (Base a) {
        cout << 2 << endl;
    }
    catch (...) {
        cout << 3 << endl;
    }

    return 0;
}


void a_function(void)
{
    Base        hmm;
    Derived     hmm2;
    int         hmm3;

    if (foobar == 1) {
        throw hmm;
    }
    else if (foobar == 2) {
        throw hmm2;
    }
    else {
        throw hmm3;
    }
}

--- clip -----------------------------------------------------------------

It's that "throw hmm3;" above that causes a coredump.

Thanks for your help!

---
Hannu Koivisto | What you see is all you get.
NOYB           |                            - Brian Kernighan
-------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1)
  1997-11-11  6:35       ` azure
@ 1997-11-13 10:46         ` H.J. Lu
  0 siblings, 0 replies; 10+ messages in thread
From: H.J. Lu @ 1997-11-13 10:46 UTC (permalink / raw)
  To: azure; +Cc: jbuck, egcs

> I also tried my test with egcs-971023 (and gas-970915) without pgcc patches
> and it also failed. Here's the code, in case someone is interested to
> give it a try:
> 
> --- clip -----------------------------------------------------------------
> 
> #include <iostream.h>
> 
> 
> class	Base {
>     int	a;
> 
> public:
>     void setValue(int value)	{a=value;}
> };
> 
> 
> class	Derived : private Base {
>     char* ptr;
> 
> public:
>     void setPV(char* p, int v)	{ptr=p; setValue(v);}
> };
> 
> 
> void a_function(void);
> int foobar = 3;
> 
> 
> int main()
> {
>     try {
>         a_function();
>     }
>     catch (Derived a) {
>         cout << 1 << endl;
>     }
>     catch (Base a) {
>         cout << 2 << endl;
>     }
>     catch (...) {
>         cout << 3 << endl;
>     }
> 
>     return 0;
> }
> 
> 
> void a_function(void)
> {
>     Base        hmm;
>     Derived     hmm2;
>     int         hmm3;
> 
>     if (foobar == 1) {
>         throw hmm;
>     }
>     else if (foobar == 2) {
>         throw hmm2;
>     }
>     else {
>         throw hmm3;
>     }
> }
> 
> --- clip -----------------------------------------------------------------
> 
> It's that "throw hmm3;" above that causes a coredump.
> 
> Thanks for your help!
> 

I have no problem with egcs 971105 on linux/x86/libc 5 and linux/x86
glibc 2.1.

-- 
H.J. Lu (hjl@gnu.ai.mit.edu)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1997-11-13 10:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-08  7:18 Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1 Alexandre Oliva
1997-11-08 15:41 ` Joe Buck
1997-11-09  5:00   ` Required gas version? (was: Re: Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1) azure
1997-11-09 10:58     ` Alexandre Oliva
1997-11-09 16:41     ` Joe Buck
1997-11-10 10:59       ` H.J. Lu
     [not found]       ` <m0xUyYe-0004ecC.cygnus.egcs@ocean.lucon.org>
1997-11-10 12:13         ` Jason Merrill
1997-11-11  6:35       ` azure
1997-11-13 10:46         ` H.J. Lu
1997-11-09 10:56   ` Results for haifa-disabled egcs-971105 g++ testsuite on i586-pc-linux-gnulibc1 Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).