From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11313 invoked by alias); 17 Jun 2015 07:43:22 -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 11230 invoked by uid 55); 17 Jun 2015 07:43:12 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65527] ICE: in expand_builtin_with_bounds, at builtins.c:7120 with -fcheck-pointer-bounds -mmpx Date: Wed, 17 Jun 2015 07:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-06/txt/msg01484.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65527 --- Comment #3 from Ilya Enkovich --- Author: ienkovich Date: Wed Jun 17 07:42:39 2015 New Revision: 224547 URL: https://gcc.gnu.org/viewcvs?rev=224547&root=gcc&view=rev Log: gcc/ Backport from mainline r223929. 2015-06-01 Ilya Enkovich PR target/65527 * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Add redirection for instrumented calls. * lto-wrapper.c (merge_and_complain): Merge -fcheck-pointer-bounds. (append_compiler_options): Append -fcheck-pointer-bounds. * tree-chkp.h (chkp_copy_call_skip_bounds): New. (chkp_redirect_edge): New. * tree-chkp.c (chkp_copy_call_skip_bounds): New. (chkp_redirect_edge): New. gcc/testsuite/ Backport from mainline r223929. 2015-06-01 Ilya Enkovich PR target/65527 * gcc.target/i386/mpx/chkp-fix-calls-1.c: New. * gcc.target/i386/mpx/chkp-fix-calls-2.c: New. * gcc.target/i386/mpx/chkp-fix-calls-3.c: New. * gcc.target/i386/mpx/chkp-fix-calls-4.c: New. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-1.c branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-2.c branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-3.c branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/chkp-fix-calls-4.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/cgraph.c branches/gcc-5-branch/gcc/lto-wrapper.c branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-chkp.c branches/gcc-5-branch/gcc/tree-chkp.h