Command line:
gcc -mstack-arg-probe testcase.c

------ testcase.c ------
extern void bar(void);
void foo(int i) { bar(); }
------------------------

Tested revisions:
r157723 - crash
r153685 - crash
4.4 r157395 - crash
4.4 r149995 - crash

Compiler output:
$ /mnt/svn/gcc-trunk/binary-157723-lto/bin/gcc -mstack-arg-probe testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in ix86_expand_prologue, at
config/i386/i386.c:8636
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Valgrind:
nothing


-- 
           Summary: ICE: in ix86_expand_prologue, at config/i386/i386.c:8636
                    with -mstack-arg-probe on x86_64-linux
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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

Reply via email to