We've got a report that GCC is crashing when building a package on i686; there was an ICE in assemble_integer. Turned out this ICE was already fixed by r233216, so I reduced it and would like to add it to the testsuite.
Tested on x86_64-linux and i686-linux, ok for trunk? 2016-02-12 Marek Polacek <pola...@redhat.com> * g++.dg/torture/init-list1.C: New. diff --git gcc/testsuite/g++.dg/torture/init-list1.C gcc/testsuite/g++.dg/torture/init-list1.C index e69de29..b8abf6a 100644 --- gcc/testsuite/g++.dg/torture/init-list1.C +++ gcc/testsuite/g++.dg/torture/init-list1.C @@ -0,0 +1,6 @@ +// { dg-do compile } +// { dg-options "-std=c++11" } + +struct S { + long long l; +} s {(long long) &s}; Marek