[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 --- Comment #5 from Andrew Pinski --- (In reply to Richard Biener from comment #4) > We should get rid of input_location uses in the middle-end instead ;) Agreed but that is huge task. I will try to get rid of some of them once stage 1 opens up

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 --- Comment #4 from Richard Biener --- We should get rid of input_location uses in the middle-end instead ;)

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 --- Comment #3 from Andrew Pinski --- (In reply to Nathaniel Shead from comment #2) > Maybe worth noting that the C++ frontend already uses an 'iloc_sentinel' > RAII type for this (defined in cp/cp-tree.h), maybe it would be worth moving > somew

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|