public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48723] New: ICE in ix86_expand_prologue() with -fstack-check + function returning struct, on corei7-avx
@ 2011-04-22  8:59 arthur.j.odwyer at gmail dot com
  2011-04-22  9:58 ` [Bug target/48723] " ubizjak at gmail dot com
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2011-04-22  8:59 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-05-03  7:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-22  8:59 [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
2011-04-22  9:58 ` [Bug target/48723] " ubizjak at gmail dot com
2011-04-22  9:58 ` ubizjak at gmail dot com
2011-04-22 11:28 ` ubizjak at gmail dot com
2011-04-22 11:29 ` ubizjak at gmail dot com
2011-04-22 18:41 ` uros at gcc dot gnu.org
2011-04-22 18:44 ` uros at gcc dot gnu.org
2011-04-22 18:56 ` ubizjak at gmail dot com
2011-04-22 18:57 ` ubizjak at gmail dot com
2011-04-23  7:42 ` uros at gcc dot gnu.org
2011-04-23  7:44 ` uros at gcc dot gnu.org
2011-04-26  6:11 ` zsojka at seznam dot cz
2011-04-26  7:27 ` ubizjak at gmail dot com
2011-04-27 13:28 ` ebotcazou at gcc dot gnu.org
2011-04-28 17:03 ` [Bug target/48723] ICE on function returning structure with -fstack-check " rguenth at gcc dot gnu.org
2011-05-03  7:31 ` ebotcazou at gcc dot gnu.org
2011-05-03  7:33 ` ebotcazou at gcc dot gnu.org
2011-05-03  7:44 ` ebotcazou at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).