From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BBB153858D33; Sun, 9 Apr 2023 17:14:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBB153858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681060455; bh=U+xgz5MHSbgkAcPc6OFfjJg92HNk2AScIPoME7pm5TQ=; h=From:To:Subject:Date:From; b=trIYmzEZtRBWAfRbGzE0u0bQCntMDl24lhge3NdtH995sZ9o/WgcvZpDBKU8pQ0rA rWC5FJRpijLM1NX7zV/jlZ9gA3SaW9cZ8GY40b+Dv5NecZ5vrUXTVaEgBSQkp7/aKW v1nwy1LBEIfMcPrG0WdJRVQFm2ORBpHn55KwGOZE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109458] New: invalid use 'z' operand modifier in some cases mention the 'Z' operand modifier Date: Sun, 09 Apr 2023 17:14:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109458 Bug ID: 109458 Summary: invalid use 'z' operand modifier in some cases mention the 'Z' operand modifier Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: x86_64-*-* The problem here is the code in i386 does this: case 'z': ... if (GET_MODE_CLASS (GET_MODE (x)) =3D=3D MODE_FLOAT) warning (0, "non-integer operand used with operand code %"); /* FALLTHRU */ case 'Z': ... else { output_operand_lossage ("invalid operand type used with " "operand code 'Z'"); return; } output_operand_lossage ("invalid operand size for operand code 'Z= '"); So the error messages for 'Z' modifier is shared with 'z' but only referenc= es 'Z'.=