This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

c++/9193: Testsuite error on mips-irix6 with g++.dg/abi/empty6.C (missing -Wabi warning)


>Number:         9193
>Category:       c++
>Synopsis:       Testsuite error on mips-irix6 with g++.dg/abi/empty6.C (missing -Wabi warning)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 06 09:16:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20030105 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
I'm getting a testsuite failure for g++.dg/abi/empty6.C on mips-sgi-irix6.5 as seen here:  http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00233.html

The error is not new, it appears to have started from the very day the testcase was checked in: http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00909.html

The logfile says:
FAIL: g++.dg/abi/empty6.C  (test for warnings, line 6)

and indeed no -Wabi warning is issued.  The failure occurs only when I run the testsuite with -mabi=64, it succeeds without that flag as noted in the test report above.

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

cc1plus -fpreprocessed empty6.ii -quiet -dumpbase empty6.C -mabi=64 -auxbase-strip empty6.C -Wabi -version -fmessage-length=0 -o empty6.C

and note that no -Wabi warning is issued.

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


struct A {};

struct B {
  A a;
  virtual void f () {}
};


>Fix:

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


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