[Bug target/48723] New: ICE in ix86_expand_prologue() with -fstack-check + function returning struct, on corei7-avx
arthur.j.odwyer at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Apr 22 08:59:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48723
Summary: ICE in ix86_expand_prologue() with -fstack-check +
function returning struct, on corei7-avx
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: arthur.j.odwyer@gmail.com
Created attachment 24072
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24072
Output of "ajo-gcc -v -w -march=corei7-avx -O0 -fstack-check -c
test1558415197-reduced.c"
This reproduces for me with svn revision 172796 (2011-04-20). I'm on Ubuntu
10.10, x86-64. Notice that corei7-avx is a new target in 4.6.0.
cat >test1558415197-reduced.c <<EOF
extern struct S0 {
int f0, f1, f2, f3;
} g_106;
struct S0 func_99() {
return (g_106);
}
EOF
gcc -w -march=corei7-avx -O0 -fstack-check test1558415197-reduced.c -c
test1558415197-reduced.c: In function ‘func_99’:
test1558415197-reduced.c:6:1: internal compiler error: in ix86_expand_prologue,
at config/i386/i386.c:10721
This test case is reduced from the output of Csmith
(http://embed.cs.utah.edu/csmith/), using the following command line:
csmith --bitfields --packed-struct -s 1558415197 > test1558415197.c
More information about the Gcc-bugs
mailing list