From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84853 invoked by alias); 5 Apr 2017 13:35:43 -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 83903 invoked by uid 89); 5 Apr 2017 13:35:43 -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 mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Apr 2017 13:35:41 +0000 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v35DYKYS037232 for ; Wed, 5 Apr 2017 09:35:41 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 29muwmj2nh-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 05 Apr 2017 09:35:41 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 5 Apr 2017 07:35:40 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 5 Apr 2017 07:35:37 -0600 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v35DZXLf11534712; Wed, 5 Apr 2017 06:35:33 -0700 Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A061FBE038; Wed, 5 Apr 2017 07:35:33 -0600 (MDT) Received: from bigmac.rchland.ibm.com (unknown [9.10.86.201]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTPS id 69BC5BE047; Wed, 5 Apr 2017 07:35:33 -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: <15dff029-b699-8205-90a7-7385254f3980@acm.org> Date: Wed, 05 Apr 2017 13:35:00 -0000 Cc: Richard Biener , 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> To: Nathan Sidwell X-TM-AS-GCONF: 00 x-cbid: 17040513-0008-0000-0000-0000078EEE6A X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006886; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000208; SDB=6.00843447; UDB=6.00415580; IPR=6.00621624; BA=6.00005271; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014921; XFM=3.00000013; UTC=2017-04-05 13:35:39 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17040513-0009-0000-0000-0000413C0383 Message-Id: <4DC65C33-038F-430C-8531-15B318861071@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-05_11:,, 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-1704050120 X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00219.txt.bz2 Hi Nathan, > On Apr 5, 2017, at 8:18 AM, Nathan Sidwell wrote: >=20 > Here's a completed patch. Bill, if you could regression test it, that'd = be great! (feel free to augment the testcase) Thanks for the patch! Looks like there are some compile problems. I can f= ix "resut", but not sure what the intent is for "canonical": In file included from /home/wschmidt/gcc/gcc-mainline-test/gcc/config/rs600= 0/rs6 000.c:26:0: /home/wschmidt/gcc/gcc-mainline-test/gcc/config/rs6000/rs6000.c: In functio= n 'tr ee_node* rs6000_vt(const char*, tree, unsigned int)': /home/wschmidt/gcc/gcc-mainline-test/gcc/config/rs6000/rs6000.c:17267:31: e= rror: 'canonical' was not declared in this scope tree orig_name =3D TYPE_NAME (canonical); ^ /home/wschmidt/gcc/gcc-mainline-test/gcc/tree.h:296:21: note: in definition= of m acro 'TREE_CLASS_CHECK' (tree_class_check ((T), (CLASS), __FILE__, __LINE__, __FUNCTION__)) ^ /home/wschmidt/gcc/gcc-mainline-test/gcc/tree.h:1840:26: note: in expansion= of m acro 'TYPE_CHECK' #define TYPE_NAME(NODE) (TYPE_CHECK (NODE)->type_common.name) ^~~~~~~~~~ /home/wschmidt/gcc/gcc-mainline-test/gcc/config/rs6000/rs6000.c:17267:20: n= ote:=20 in expansion of macro 'TYPE_NAME' tree orig_name =3D TYPE_NAME (canonical); ^~~~~~~~~ /home/wschmidt/gcc/gcc-mainline-test/gcc/config/rs6000/rs6000.c:17280:10: e= rror: 'resut' was not declared in this scope return resut; ^~~~~ Bill >=20 > Richard, rather than copy set_underlying_type's type cloning I added a ch= eck in it for error_mark_node as the existing name. If you'd prefer that r= emain unchanged, I can duplicate the type cloning into rs6000_vt itself. >=20 > nathan >=20 > --=20 > Nathan Sidwell >