From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 729743854568; Thu, 17 Nov 2022 23:49:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 729743854568 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668728948; bh=sAtUTxb6QUCZYBf3moJeTHYChAsPymHx7rgatFC8Y7Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BdGtaAEJl+fz/bCUfD4Bgm4c8a8Foyx92Nl9Jve9LODN165jwey3jNAL58JXa6Cnf DiK8bfHgat3pcQkGZMx9yQlSABGpeXPMbi2mQLI3kgY5ncGChEAyMrvEaPowGMqrBU DiZubfgcjgfuqTagyLsdHO2/zGfnUdtI57H/FD5k= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107737] seemly looking off code in gimplify_call_expr Date: Thu, 17 Nov 2022 23:49:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status see_also cf_reconfirmed_on keywords assigned_to 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107737 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D40435 Last reconfirmed| |2022-11-17 Keywords| |internal-improvement Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot = gnu.org --- Comment #1 from Andrew Pinski --- r0-94701-gdb3927fb49c9 (for PR 40435) added the "loc =3D EXPR_LOCATION (*expr_p);" before setting of the location. The original code of gimplify_call_expr (when it was merged in from the tree-ssa branch) had the setting of the location if it was not set. I think for GCC 14, I am going to try to see if setting of the location is really still needed (that is going to change it to an assert and run a full bootstrap/test including Ada).=