https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113378

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>I expect the same diagnostic information when compiling stdin.


This part of the diagnostic:
    2 | foo();
      | ^~~

Comes from re-reading in the source file.  Since stdin does not have a source
file backing, there is no output there.

Reply via email to