From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19592 invoked by alias); 6 Apr 2017 14:20:06 -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 18024 invoked by uid 89); 6 Apr 2017 14:20:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Apr 2017 14:20:04 +0000 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v36EDnmX145601 for ; Thu, 6 Apr 2017 10:20:04 -0400 Received: from e37.co.us.ibm.com (e37.co.us.ibm.com [32.97.110.158]) by mx0b-001b2d01.pphosted.com with ESMTP id 29nq6d8f90-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 06 Apr 2017 10:20:03 -0400 Received: from localhost by e37.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 6 Apr 2017 08:20:02 -0600 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e37.co.us.ibm.com (192.168.1.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 6 Apr 2017 08:20:00 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v36EJtcc5570914; Thu, 6 Apr 2017 07:19:59 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D36337805C; Thu, 6 Apr 2017 08:19:59 -0600 (MDT) Received: from bigmac.rchland.ibm.com (unknown [9.10.86.201]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTPS id B123178038; Thu, 6 Apr 2017 08:19:59 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: [PR 79905] ICE with vector_type From: Bill Schmidt In-Reply-To: Date: Thu, 06 Apr 2017 14:20:00 -0000 Cc: Nathan Sidwell , GCC Patches Content-Transfer-Encoding: quoted-printable References: <7cd553e8-623a-d2d4-0ace-331f3df14701@acm.org> <6FEFB107-4422-4F67-8A66-31D13C277741@linux.vnet.ibm.com> <06e56d03-48eb-10cf-7214-171cd048a1d2@acm.org> <15dff029-b699-8205-90a7-7385254f3980@acm.org> <4DC65C33-038F-430C-8531-15B318861071@linux.vnet.ibm.com> <1b0a9ef8-dfe6-d289-2ee9-7108822454e4@acm.org> To: Richard Biener X-TM-AS-GCONF: 00 x-cbid: 17040614-0024-0000-0000-00001631F4D4 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006887; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000208; SDB=6.00843917; UDB=6.00415877; IPR=6.00622116; BA=6.00005272; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014936; XFM=3.00000013; UTC=2017-04-06 14:20:02 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17040614-0025-0000-0000-00004A0C3DDD Message-Id: <3B736F4A-C0BA-47DA-B399-205DD8203737@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-06_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1704060118 X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00297.txt.bz2 > On Apr 6, 2017, at 9:04 AM, Richard Biener w= rote: >=20 > On Thu, Apr 6, 2017 at 1:28 PM, Nathan Sidwell wrote: >> Let's try this one then. Nathan's patch regstraps cleanly. I'll try Richard's variant (dropping the= if test below) now. Bill >=20 > I'd call this >=20 > + if (result =3D=3D TYPE_CANONICAL (result)) > + /* Copy so we don't give the canonical type a name. */ > + result =3D build_variant_type_copy (result); >=20 > premature optimization -- I wonder if anything breaks if you always copy? > (that is, I expect result is always the canonical type here?) >=20 > Richard. >=20 >> nathan >>=20 >> -- >> Nathan Sidwell >=20