https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68018

            Bug ID: 68018
           Summary: [6 Regression] ICE: in ix86_compute_frame_layout, at
                    config/i386/i386.c:11308 with -mstackrealign
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 36539
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36539&action=edit
reduced testcase

Compiler output:
$ gcc -O -mabi=ms -mstackrealign testcase.c 
testcase.c: In function 'fn1':
testcase.c:7:1: internal compiler error: in ix86_compute_frame_layout, at
config/i386/i386.c:11308
 }
 ^
0xe73ea0 ix86_compute_frame_layout
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:11308
0xe97196 ix86_expand_prologue()
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:12578
0x10453ba gen_prologue()
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.md:12282
0xe704b8 target_gen_prologue
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.md:18335
0x89a5af thread_prologue_and_epilogue_insns()
        /mnt/svn/gcc-trunk/gcc/function.c:5972
0x89b1f2 rest_of_handle_thread_prologue_and_epilogue
        /mnt/svn/gcc-trunk/gcc/function.c:6523
0x89b1f2 execute
        /mnt/svn/gcc-trunk/gcc/function.c:6565
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.

$ gcc -v                                    
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-228793-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-228793-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl --without-isl
Thread model: posix
gcc version 6.0.0 20151014 (experimental) (GCC) 

Tested revisions:
r228793 - ICE
5_branch r228441 - OK

Reply via email to