[Bug c++/77462] Error message prints source from wrong file after #line

2016-09-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77462 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/77462] Error message prints source from wrong file after #line

2016-09-02 Thread d.frey at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77462 --- Comment #2 from Daniel Frey --- (In reply to Manuel López-Ibáñez from comment #1) Indeed, this is even worse than I thought. FWIW, here's a reduced example for my code: static_assert( 2 + 2 == 4, "oops" ); #line 1 static_assert( 2 +

[Bug c++/77462] Error message prints source from wrong file after #line

2016-09-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77462 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic