From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106880 invoked by alias); 23 Apr 2015 18:12:56 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 106865 invoked by uid 89); 23 Apr 2015 18:12:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-oi0-f51.google.com Received: from mail-oi0-f51.google.com (HELO mail-oi0-f51.google.com) (209.85.218.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 23 Apr 2015 18:12:54 +0000 Received: by oica37 with SMTP id a37so21351073oic.0 for ; Thu, 23 Apr 2015 11:12:53 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.56.161 with SMTP id b1mr3653496obq.22.1429812772907; Thu, 23 Apr 2015 11:12:52 -0700 (PDT) Received: by 10.76.54.14 with HTTP; Thu, 23 Apr 2015 11:12:52 -0700 (PDT) In-Reply-To: <2ADA2E1B-9037-4444-8D8F-B9BAB3AE63A5@suse.de> References: <20150323195454.GA1746@tucnak.redhat.com> <2ADA2E1B-9037-4444-8D8F-B9BAB3AE63A5@suse.de> Date: Thu, 23 Apr 2015 18:12:00 -0000 Message-ID: Subject: Re: [PATCH] Fix a -fcheck-pointer-bounds -mmpx ICE (PR target/65523) From: "H.J. Lu" To: Richard Biener Cc: Jakub Jelinek , Ilya Enkovich , GCC Patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg01438.txt.bz2 On Mon, Mar 23, 2015 at 1:01 PM, Richard Biener wrote: > On March 23, 2015 8:54:54 PM GMT+01:00, Jakub Jelinek wrote: >>Hi! >> >>On the following testcase we ICE, because we don't verify we have the >>ERF_RETURNS_ARG argument, on non-verified builtins that is possible. >>Other uses of ERF_RETURNS_ARG seem to verify it. >>Also, there was an unneeded extra gimple_call_return_flags call, >>the condition has already checked that ERF_RETURNS_ARG flag is set. >> >>Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > OK. > > Thanks, > Richard. > >>2015-03-23 Jakub Jelinek >> >> PR target/65523 >> * tree-chkp.c (chkp_build_returned_bound): Ignore >> ERF_RETURNS_ARG calls if they have fewer than needed arguments. >> >> * gcc.target/i386/pr65523.c: New test. >> MPX doesn't support x32. I checked in this patch to skip it for x32. -- H.J. --- Index: ChangeLog =================================================================== --- ChangeLog (revision 222381) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2015-04-23 H.J. Lu + + * gcc.target/i386/pr65523.c: Skip x32. + 2015-04-23 Kyrylo Tkachov * gcc.target/arm/neon/pr51534.c: Update vcg* scan-assembly patterns Index: gcc.target/i386/pr65523.c =================================================================== --- gcc.target/i386/pr65523.c (revision 222381) +++ gcc.target/i386/pr65523.c (working copy) @@ -1,5 +1,5 @@ /* PR target/65523 */ -/* { dg-do compile } */ +/* { dg-do compile { target { ! x32 } } } */ /* { dg-options "-fcheck-pointer-bounds -mmpx" } */ void *memmove ();