public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9138: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
@ 2003-01-02 17:36 ghazi
  0 siblings, 0 replies; 4+ messages in thread
From: ghazi @ 2003-01-02 17:36 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mark


>Number:         9138
>Category:       c++
>Synopsis:       New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 02 09:36:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20030101 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
I get these new testsuite failures on mips-sgi-irix6.5 which appear to be related:

FAIL: g++.jason/thunk1.C caused compiler crash
FAIL: g++.jason/thunk2.C caused compiler crash
FAIL: g++.jason/thunk3.C caused compiler crash

The logfile message for all three looks like this:

thunk1.C: In member function `A CExample::_ZThn4_N8CExample9MixinFuncEi1A(int, A)':
thunk1.C:33: internal compiler error: tree check: expected tree_list, have function_decl in friend_accessible_p, at cp/search.c:954

>How-To-Repeat:
Compile thunk1.ii with:

cc1plus -fpreprocessed thunk1.ii -quiet -dumpbase thunk1.C -ansi -auxbase thunk1 -pedantic-errors -Wno-long-long -ansi -version -fmessage-length=0 -o thunk1.s


# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030102/gcc/testsuite/g++.old-deja/g++.jason/thunk1.C"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030102/gcc/testsuite/g++.old-deja/g++.jason/thunk1.C"


struct A {
  void* p;
  A (void* q): p (q) { }
  A (const A& a): p (a.p) { }
};

class CBase {
public:
  virtual void BaseFunc();
};

class MMixin {
public:
   virtual A MixinFunc(int arg, A arg2) = 0;
};

class CExample : public CBase, public MMixin {
public:
   A MixinFunc(int arg, A arg2);
};

void CBase::BaseFunc()
{
}

A CExample::MixinFunc(int arg, A arg2)
{
  if (arg != 1 || arg2.p != 0)
    return 0;
  return this;
}

void* test(MMixin& anExample)
{
  return anExample.MixinFunc(1,A(0)).p;
}

int main ()
{
  CExample c;

  if (test(c) != &c)
    return 1;
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: c++/9138: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
@ 2003-01-06 16:42 ghazi
  0 siblings, 0 replies; 4+ messages in thread
From: ghazi @ 2003-01-06 16:42 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ghazi, mark, nobody

Synopsis: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)

State-Changed-From-To: feedback->closed
State-Changed-By: ghazi
State-Changed-When: Mon Jan  6 08:42:38 2003
State-Changed-Why:
    Fixed by http://gcc.gnu.org/ml/gcc-cvs/2003-01/msg00162.html
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9138


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

* Re: c++/9138: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
@ 2003-01-03 15:36 Kaveh R. Ghazi
  0 siblings, 0 replies; 4+ messages in thread
From: Kaveh R. Ghazi @ 2003-01-03 15:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9138; it has been noted by GNATS.

From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: ehrhardt@mathematik.uni-ulm.de, gcc-bugs@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, mark@codesourcery.com,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/9138: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
Date: Fri, 3 Jan 2003 10:31:09 -0500 (EST)

  > From: ehrhardt@mathematik.uni-ulm.de
  > 
  > Synopsis: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
  > 
  > State-Changed-From-To: open->feedback
  > State-Changed-By: cae
  > State-Changed-When: Fri Jan  3 02:29:42 2003
  > State-Changed-Why:
  >     This discussion about this PR has been picked up by GNATS as new PRs:
  >     PR 9145 and PR 9148. This discussion indicates that this PR is fixed.
  >     Is this true?
 
 Why does GNATS keep opening new PRs?  What is triggering that?
 
 On the original bug, Mark wrote a patch for me to test.  I verified it
 works on irix6, but he has not yet installed it.  When he does, I will
 close the PR.
 
 		--Kaveh
 
 --
 Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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

* Re: c++/9138: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)
@ 2003-01-03 10:29 ehrhardt
  0 siblings, 0 replies; 4+ messages in thread
From: ehrhardt @ 2003-01-03 10:29 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ghazi, mark, nobody

Synopsis: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C)

State-Changed-From-To: open->feedback
State-Changed-By: cae
State-Changed-When: Fri Jan  3 02:29:42 2003
State-Changed-Why:
    This discussion about this PR has been picked up by GNATS as new PRs:
    PR 9145 and PR 9148. This discussion indicates that this PR is fixed.
    Is this true?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9138


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

end of thread, other threads:[~2003-01-06 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02 17:36 c++/9138: New C++ parser regression on mips-irix6 with g++.jason/thunk1.C (and thunk2.C/thunk3.C) ghazi
2003-01-03 10:29 ehrhardt
2003-01-03 15:36 Kaveh R. Ghazi
2003-01-06 16:42 ghazi

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