public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9198: [3.3, 3.4 regression] mips-sgi-irix6.5 testsuite failure in g++.dg/ext/instantiate2.C
@ 2003-01-06 19:36 ghazi
  0 siblings, 0 replies; 2+ messages in thread
From: ghazi @ 2003-01-06 19:36 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mark


>Number:         9198
>Category:       c++
>Synopsis:       [3.3, 3.4 regression] mips-sgi-irix6.5 testsuite failure in g++.dg/ext/instantiate2.C
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 06 11:36:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20030105 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
I get a testsuite error in g++.dg/ext/instantiate2.C as seen here:  http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00233.html

This appears to be a (long standing) regression from gcc-3.2.x since the same testcase appears there and does not fail.


The logfile says:
FAIL: g++.dg/ext/instantiate2.C scan-assembler
_?_ZN1AIiE1tE(:|
|       )

>How-To-Repeat:
Target mips-sgi-irix6.5 and compile instantiate2.ii with:

cc1plus -fpreprocessed instantiate2.ii -quiet -dumpbase instantiate2.C -auxbase-strip instantiate2.s -version -fmessage-length=0 -fno-implicit-templates -o instantiate2.s

and note that the scan-assembler pattern doesn't appear in the .s file.

# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030105/gcc/testsuite/g++.dg/ext/instantiate2.C"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030105/gcc/testsuite/g++.dg/ext/instantiate2.C"




template <class T> struct A {
  static T t;
};
template <class T> T A<T>::t = 0;
static template struct A<int>;


void test_int() { A<int>::t = 42; }


void test_char() { A<char>::t = 42; }



>Fix:

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


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

* Re: c++/9198: [3.3, 3.4 regression] mips-sgi-irix6.5 testsuite failure in g++.dg/ext/instantiate2.C
@ 2003-03-03 15:42 ghazi
  0 siblings, 0 replies; 2+ messages in thread
From: ghazi @ 2003-03-03 15:42 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ghazi, mark, nobody

Synopsis: [3.3, 3.4 regression] mips-sgi-irix6.5 testsuite failure in g++.dg/ext/instantiate2.C

State-Changed-From-To: open->closed
State-Changed-By: ghazi
State-Changed-When: Mon Mar  3 15:42:13 2003
State-Changed-Why:
    The problem seems to have disappeared sometime around Feb 26.  Wish we knew why, I feel uncomfortable closing this without confirmation that the bug is fixed rather than hidden...
    http://gcc.gnu.org/ml/gcc-testresults/2003-02/msg01336.html
    http://gcc.gnu.org/ml/gcc-testresults/2003-02/msg01447.html
    

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


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

end of thread, other threads:[~2003-03-03 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 19:36 c++/9198: [3.3, 3.4 regression] mips-sgi-irix6.5 testsuite failure in g++.dg/ext/instantiate2.C ghazi
2003-03-03 15: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).