http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47468

           Summary: FAIL: tmpdir-g++.dg-struct-layout-1/*
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: da...@gcc.gnu.org


Configuring GCC with "'--with-arch=native' '--with-tune=native'" on
i686-pc-cygwin.  All the g++ testsuite struct layout compat tests have compile
failures:

FAIL: tmpdir-g++.dg-struct-layout-1/t001 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t001 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t002 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t002 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t003 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t003 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t004 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t004 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t005 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t005 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t006 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t006 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t007 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t007 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t008 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t008 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t009 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t009 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t010 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t010 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t011 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t011 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t012 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t012 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t013 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t013 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t014 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t014 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t015 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t015 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t016 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t016 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t017 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t017 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t018 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t018 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t019 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t019 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t020 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t020 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t021 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t021 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t022 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t022 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t023 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t023 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t024 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t024 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t025 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t025 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_x_tst.o-cp_compat_y_tst.o
execute 
FAIL: tmpdir-g++.dg-struct-layout-1/t027 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t027 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t028 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t028 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t029 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t029 cp_compat_y_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t030 cp_compat_x_tst.o compile
FAIL: tmpdir-g++.dg-struct-layout-1/t030 cp_compat_y

all of which are of the same form:

spawn /gnu/gcc/obj-pr43601/gcc/testsuite/g++/../../g++
-B/gnu/gcc/obj-pr43601/gcc/testsuite/g++/../../ -nostdinc++
-I/gnu/gcc/obj-pr43601/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/gnu/gcc/obj-pr43601/i686-pc-cygwin/libstdc++-v3/include
-I/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -w
-I/gnu/gcc/gcc/gcc/testsuite/g++.dg/compat -fno-common -c -o cp_compat_x_tst.o
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_x.C 
In file included from
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_x.C:9:0:
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_test.h: In
function 'void test29()':
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_test.h:30:1:
note: The ABI for passing parameters with 16-byte alignment has changed in GCC
4.6
output is:
In file included from
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_x.C:9:0:
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_test.h: In
function 'void test29()':
/gnu/gcc/obj-pr43601/gcc/testsuite/g++/g++.dg-struct-layout-1//t001_test.h:30:1:
note: The ABI for passing parameters with 16-byte alignment has changed in GCC
4.6
FAIL: tmpdir-g++.dg-struct-layout-1/t001 cp_compat_x_tst.o compile



Full configure line for compiler was:
'/gnu/gcc/gcc/configure'   '--prefix=/usr' '-v' '--with-gmp=/usr'
'--with-mpfr=/usr' '--enable-bootstrap'
'--enable-version-specific-runtime-libs' '--enable-static' '--enable-shared'
'--enable-shared-libgcc' '--disable-__cxa_atexit' '--with-gnu-ld'
'--with-gnu-as' '--with-dwarf2' '--disable-sjlj-exceptions' '--disable-symvers'
'--enable-libjava' '--enable-interpreter' '--program-suffix=-4'
'--enable-libgomp' '--disable-libssp' '--disable-libada'
'--enable-threads=posix' '--with-arch=native' '--with-tune=native' 'CC=gcc-4'
'CXX=g++-4' 'CC_FOR_TARGET=gcc-4' 'CXX_FOR_TARGET=g++-4'
'--with-ecj-jar=/usr/share/java/ecj.jar' '--disable-win32-registry'
'--disable-libgcj-debug' '--enable-graphite' '--disable-decimal-float'
'--with-plugin-ld=ld' '--enable-languages=c,c++,fortran,java,lto,objc,obj-c++' 


Preprocessed testcase attached, can be compiled by (e.g.):

 /gnu/gcc/obj-pr43601/gcc/testsuite/g++/../../cc1plus.exe -fpreprocessed
t001_x.ii -march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param
l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -quiet -dumpbase
t001_x.C -auxbase-strip cp_compat_x_tst.o -w -version -fmessage-length=0
-fno-common -o t001_x.s

Reply via email to