From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67143 invoked by alias); 20 Mar 2015 15:29:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 67113 invoked by uid 48); 20 Mar 2015 15:29:38 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65495] New: ICE: chkp_make_addressed_object_bounds: Unexpected tree code const_decl with -fcheck-pointer-bounds -mmpx and fortran Date: Fri, 20 Mar 2015 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg02126.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65495 Bug ID: 65495 Summary: ICE: chkp_make_addressed_object_bounds: Unexpected tree code const_decl with -fcheck-pointer-bounds -mmpx and fortran 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 35074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35074&action=edit reduced testcase Compiler output: $ gcc -fcheck-pointer-bounds -mmpx testcase.f90 testcase.f90:2:0: END ^ internal compiler error: chkp_make_addressed_object_bounds: Unexpected tree code const_decl 0xd6d7c6 chkp_make_addressed_object_bounds /mnt/svn/gcc-trunk/gcc/tree-chkp.c:3384 0xd6ac4e chkp_find_bounds_1 /mnt/svn/gcc-trunk/gcc/tree-chkp.c:3517 0xd6fae6 chkp_find_bounds /mnt/svn/gcc-trunk/gcc/tree-chkp.c:3555 0xd6fae6 chkp_add_bounds_to_call_stmt /mnt/svn/gcc-trunk/gcc/tree-chkp.c:1814 0xd6fae6 chkp_instrument_function /mnt/svn/gcc-trunk/gcc/tree-chkp.c:4139 0xd6fae6 chkp_execute /mnt/svn/gcc-trunk/gcc/tree-chkp.c:4323 0xd6fae6 execute /mnt/svn/gcc-trunk/gcc/tree-chkp.c:4380 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. It seems almost any fortran code triggers this ICE. $ 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