From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3375393C849; Tue, 19 Jan 2021 15:38:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3375393C849 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0YXJnZXQvOTg2MzZdIFtBUk1dIElDRSBvbiBwYXNzaW5n?= =?UTF-8?B?IGluY29tcGF0aWJsZSBvcHRpb25zIGZvciBmcDE2IC0gZ2xvYmFsX29wdGlv?= =?UTF-8?B?bnPigJkgYXJlIG1vZGlmaWVkIGluIGxvY2FsIGNvbnRleHQ=?= Date: Tue, 19 Jan 2021 15:38:59 +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: 11.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2021 15:38:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98636 --- Comment #13 from prathamesh3492 at gcc dot gnu.org --- IIUC, the issue comes from the following mismatch in cl_optimization_compar= e: if (ptr1->x_arm_fp16_format !=3D ptr2->x_arm_fp16_format) internal_error ("% are modified in local context"); x_arm_fp16_format is of following type defined in arm-opts.h: /* Which __fp16 format to use. The enumeration values correspond to the numbering for the Tag_ABI_FP_16bit_format attribute. */ enum arm_fp16_format_type { ARM_FP16_FORMAT_NONE =3D 0, ARM_FP16_FORMAT_IEEE =3D 1, ARM_FP16_FORMAT_ALTERNATIVE =3D 2 }; For the test-case passing -mfp16-format=3Dalternative results in: ptr1->x_arm_fp16_format =3D=3D ARM_FP16_FORMAT_ALTERNATIVE and ptr2->x_arm_fp16_format =3D=3D ARM_FP16_FORMAT_IEEE, and the mismatch results in ICE. Thanks, Prathamesh=