https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69072
Bug ID: 69072 Summary: ICE: in function_arg_record_value, at config/sparc/sparc.c:6673 with packed struct Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: sparc64-unknown-linux-gnu Created attachment 37178 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37178&action=edit reduced testcase Compiler output: $ sparc64-unknown-linux-gnu-gcc testcase.ctestcase.c: In function 'foo': testcase.c:10:1: internal compiler error: in function_arg_record_value, at config/sparc/sparc.c:6673 foo (S s1, S s2, S s3, S s4, S s5, S s6, S s7, S s8) ^~~ 0xe2a923 function_arg_record_value /repo/gcc-trunk/gcc/config/sparc/sparc.c:6673 0xe2af2a sparc_function_arg_1 /repo/gcc-trunk/gcc/config/sparc/sparc.c:6821 0x81ec14 assign_parm_find_entry_rtl /repo/gcc-trunk/gcc/function.c:2530 0x81ec14 assign_parms /repo/gcc-trunk/gcc/function.c:3716 0x8221e5 expand_function_start(tree_node*) /repo/gcc-trunk/gcc/function.c:5200 0x69e40e execute /repo/gcc-trunk/gcc/cfgexpand.c:6213 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. $ sparc64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-sparc64/bin/sparc64-unknown-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-231954-checking-yes-rtl-df-nographite-sparc64/bin/../libexec/gcc/sparc64-unknown-linux-gnu/6.0.0/lto-wrapper Target: sparc64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=sparc64-unknown-linux-gnu --with-ld=/usr/bin/sparc64-unknown-linux-gnu-ld --with-as=/usr/bin/sparc64-unknown-linux-gnu-as --with-sysroot=/usr/sparc64-unknown-linux-gnu --disable-multilib --disable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-231954-checking-yes-rtl-df-nographite-sparc64 Thread model: posix gcc version 6.0.0 20151225 (experimental) (GCC) Tested revisions: r231954 - ICE 5-branch r231950 - ICE 4_9-branch r231949 - ICE 4_8-branch r224828 - ICE