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

            Bug ID: 65508
           Summary: ICE: in initialize_inlined_parameters, at
                    tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx
                    and nested function
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

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

Compiler output:
$ gcc -O2 -fcheck-pointer-bounds -mmpx testcase.c         
testcase.c: In function 'bar.chkp':
testcase.c:8:3: internal compiler error: in initialize_inlined_parameters, at
tree-inline.c:3305
   foo (a);
   ^
0xcc9a72 initialize_inlined_parameters
        /mnt/svn/gcc-trunk/gcc/tree-inline.c:3305
0xcc9a72 expand_call_inline
        /mnt/svn/gcc-trunk/gcc/tree-inline.c:4539
0xcc9a72 gimple_expand_calls_inline
        /mnt/svn/gcc-trunk/gcc/tree-inline.c:4791
0xcc9a72 optimize_inline_calls(tree_node*)
        /mnt/svn/gcc-trunk/gcc/tree-inline.c:4931
0x168b1b8 early_inliner(function*)
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:2626
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-221530-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-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-221530-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 5.0.0 20150320 (experimental) (GCC) 

Tested revisions:
r221530 - ICE

Reply via email to