[Bug preprocessor/120421] -save-temps affects diagnostic position

2025-05-24 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120421 --- Comment #6 from nightstrike --- (In reply to Andrew Pinski from comment #2) > Dup. > > *** This bug has been marked as a duplicate of bug 95695 *** Respectfully, I don't think this is a duplicate of a bug that was resolved as invalid. Tha

[Bug preprocessor/120421] -save-temps affects diagnostic position

2025-05-23 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120421 --- Comment #5 from Harald van Dijk --- (In reply to Andrew Pinski from comment #4) > But printing out the preprocessed line is equally as wrong in many cases. > Especially when it comes to `#line` markers. That is it is there is no > correct an

[Bug preprocessor/120421] -save-temps affects diagnostic position

2025-05-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120421 --- Comment #4 from Andrew Pinski --- (In reply to Harald van Dijk from comment #3) > For diagnostics, this is not an exact duplicate, this can be addressed while > keeping the column information that is generated today. Here's what Clang > does

[Bug preprocessor/120421] -save-temps affects diagnostic position

2025-05-23 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120421 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug preprocessor/120421] -save-temps affects diagnostic position

2025-05-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120421 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---