From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id BA8C63858D39 for ; Wed, 19 Oct 2022 06:24:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA8C63858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29J61J7O027178 for ; Wed, 19 Oct 2022 06:24:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=6AIcjC9MqUnS/VmbWXxvT1GGwY3XsWncgqVNqAizp/I=; b=nW8Ho0UVc/Dc9Xn4uRsh4lhcsKo/X7ZVznLFO5E3TbiIuuqTBbUyq/u6qUKQmabLL7EZ /3mGzv+Kb7UGGqm/jFsfOCN3tAOaXQkPslzZop/WTuk0xRBA1XqJrH37Ida7Ii+7Lpo5 FNs51jtyfbgGDaNvCw0lAdqVUew5KEz0uyM5JbOj2lZhuLCiDkYXMYwPSkFM0EVYjsTF svU/gcLAMFRW4apSN1dldtf/eCFXWkjYGrru5chyS41Cxju9dZc6cXXUSm4C6bgCc59F fXKD1QIUbtYXFo0YQnOo/eRypte1ZB0H72Eh5FbP1tKcOVxfQtgzuuUSzQDtKxYj2DuJ cQ== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kabkj8r2j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 Oct 2022 06:24:12 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29J6LNi2028255 for ; Wed, 19 Oct 2022 06:24:10 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma06ams.nl.ibm.com with ESMTP id 3k7m4jpj0p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 Oct 2022 06:24:10 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29J6J7aO45875658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Oct 2022 06:19:07 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4DF66AE051; Wed, 19 Oct 2022 06:24:07 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 26009AE053; Wed, 19 Oct 2022 06:24:07 +0000 (GMT) Received: from [9.171.19.235] (unknown [9.171.19.235]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 19 Oct 2022 06:24:07 +0000 (GMT) Message-ID: <907430bb-940f-1c50-09ec-76b1e14fe2e0@linux.ibm.com> Date: Wed, 19 Oct 2022 08:24:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] s390: Fix bootstrap error with checking and -m31 To: Robin Dapp , GCC Patches References: Content-Language: en-US From: Andreas Krebbel In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: edCq3Wu_ES1JQqP6QqSmKyOD_lfRRyH5 X-Proofpoint-ORIG-GUID: edCq3Wu_ES1JQqP6QqSmKyOD_lfRRyH5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-19_02,2022-10-19_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 mlxlogscore=759 phishscore=0 suspectscore=0 bulkscore=0 malwarescore=0 spamscore=0 impostorscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210190033 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,KAM_NUMSUBJECT,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 10/19/22 08:22, Robin Dapp wrote: > Hi, > > since r13-2746 we hit an ICE when bootstrapping with -m31 and > --enable-checking=all. > > ../../../../libgfortran/ieee/ieee_helper.c: In function > 'ieee_class_helper_16': > ../../../../libgfortran/ieee/ieee_helper.c:77:3: internal compiler > error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at > rtl.h:1932 > 77 | } > | ^ > ../../../../libgfortran/ieee/ieee_helper.c:87:1: note: in expansion of > macro 'CLASSMACRO' > 87 | CLASSMACRO(16) > | ^~~~~~~~~~ > > This patch fixes the problem by first checking for reload_completed > and also ensuring that REGNO is only called on reg operands rather > than subregs. > > Bootstrapped and regtested --with-arch=arch14 and --enable-checking=all. > > Is it OK? Ok. Thanks! Andreas