[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-11-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:b305793b985f4d3e0032b04d446b8baabcb3e8b7 commit r13-3822-gb305793b985f4d3e0032b04d446b8baabcb3e8b7 Author: Marek Polacek Date: Fr

[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-10-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-10-24 Assignee|unassigne

[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 --- Comment #1 from Andrew Pinski --- The wrong caret comes from named return value optimization iirc.