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

--- Comment #42 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-15 13:58:16 
UTC ---
(In reply to comment #37)
> (In reply to comment #36)
> > (In reply to comment #35)
> > > Note that for the test case in comment #34 (and comment #9) to fail that 
> > > the
> > > MAX_FIXED_MODE_SIZE patch has to be applied, and likely GCC internal 
> > > checking
> > > has to be enabled.
> > 
> > This patch seems to work:
> [...]
> 
> Thanks, I couldn't figure out how to successfully apply that git-svn formatted
> patch to my svn based working copy.
> 
> Would you like to first apply your patch, update the trunk, and then I'll test
> it against my patch, and then RFA if all goes well?

I tried your patch + mine.  There are 2 problems:

1. Testcases should have

/* { dg-do compile } */
/* { dg-require-effective-target int128 } */

in this order.  Otherwise, dg-require-effective-target is ignored.
Or you combine them into

/* { dg-do compile { target int128 } } */

2. I got

FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-g++.dg-struct-layout-1/t025 cp_compat_y_tst.o compile,  (internal
compiler error)
FAIL: tmpdir-g++.dg-struct-layout-1/t027 cp_compat_y_tst.o compile,  (internal
compiler error)

In file included from
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/g++/g++.dg-struct-layout-1//t027_y.C:8:0:^M
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/g++/g++.dg-struct-layout-1//t027_test.h:
In function 'S2609 check2609(S2609, S2609*, S2609)':^M
/export/gnu/import/git/gcc/gcc/testsuite/g++.dg/compat/struct-layout-1_y1.h:75:10:
internal compiler error: in emit_move_insn, at expr.c:3469^M 
/export/gnu/import/git/gcc/gcc/testsuite/g++.dg/compat/struct-layout-1.h:502:27:
note: in expansion of macro 'TX'^M
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/g++/g++.dg-struct-layout-1//t027_test.h:10:1:
note: in expansion of macro 'U'^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <http://gcc.gnu.org/bugs.html> for instructions.^M

Reply via email to