[Bug middle-end/99608] gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread freezer at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99608 --- Comment #3 from freezer at posteo dot de --- In my opinion the current behavior is somehow inconsistent since the carets are displayed for included files. Example: // test.cpp #include int main(int argc, char **argv) { return 0; } $ c

[Bug middle-end/99608] gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread freezer at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99608 --- Comment #2 from freezer at posteo dot de --- That's too bad. For my use case it would be more efficient if I passed the file directly to gcc through stdin. There is really no way to change this, maybe through an option? With clang this works

[Bug middle-end/99608] gcc doesn't print diagnostics carets when file is passed through stdin

2021-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99608 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|driver