https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107737
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=40435 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 <pinskia at gcc dot gnu.org> --- r0-94701-gdb3927fb49c9 (for PR 40435) added the "loc = 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).