public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65508] New: ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function
@ 2015-03-22  5:34 zsojka at seznam dot cz
  2015-03-23 10:33 ` [Bug target/65508] " ienkovich at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2015-03-22  5:34 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug target/65508] ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function
  2015-03-22  5:34 [Bug target/65508] New: ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function zsojka at seznam dot cz
@ 2015-03-23 10:33 ` ienkovich at gcc dot gnu.org
  2015-03-25 12:55 ` ienkovich at gcc dot gnu.org
  2015-03-25 12:59 ` ienkovich at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-03-23 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

ienkovich at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-03-23
                 CC|                            |ienkovich at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |ienkovich at gcc dot gnu.org
     Ever confirmed|0                           |1


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

* [Bug target/65508] ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function
  2015-03-22  5:34 [Bug target/65508] New: ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function zsojka at seznam dot cz
  2015-03-23 10:33 ` [Bug target/65508] " ienkovich at gcc dot gnu.org
@ 2015-03-25 12:55 ` ienkovich at gcc dot gnu.org
  2015-03-25 12:59 ` ienkovich at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-03-25 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from ienkovich at gcc dot gnu.org ---
Author: ienkovich
Date: Wed Mar 25 12:41:27 2015
New Revision: 221661

URL: https://gcc.gnu.org/viewcvs?rev=221661&root=gcc&view=rev
Log:
gcc/

    PR target/65508
    * tree-chkp.c (chkp_add_bounds_to_call_stmt): Set static
    chain for generated call.

gcc/testsuite/

    PR target/65508
    * gcc.target/i386/mpx/pr65508.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/i386/mpx/pr65508.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chkp.c


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

* [Bug target/65508] ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function
  2015-03-22  5:34 [Bug target/65508] New: ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function zsojka at seznam dot cz
  2015-03-23 10:33 ` [Bug target/65508] " ienkovich at gcc dot gnu.org
  2015-03-25 12:55 ` ienkovich at gcc dot gnu.org
@ 2015-03-25 12:59 ` ienkovich at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-03-25 12:59 UTC (permalink / raw)
  To: gcc-bugs

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

ienkovich at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from ienkovich at gcc dot gnu.org ---
Fixed


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

end of thread, other threads:[~2015-03-25 12:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22  5:34 [Bug target/65508] New: ICE: in initialize_inlined_parameters, at tree-inline.c:3305 with -fcheck-pointer-bounds -mmpx and nested function zsojka at seznam dot cz
2015-03-23 10:33 ` [Bug target/65508] " ienkovich at gcc dot gnu.org
2015-03-25 12:55 ` ienkovich at gcc dot gnu.org
2015-03-25 12:59 ` ienkovich 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).