[Bug c/77487] gcc reports "file shorter than expected" for regular files on stdin when the offset of fd 0 isn't 0
pskocik at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 13:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77487
pskocik at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pskocik at gmail dot com
--- Comment #1 from pskocik at gmail dot com ---
Created attachment 39564
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39564&action=edit
example test
a self-compiling c script -- passes self at an offset to gcc and then runs the
a.out
it should print:
c: hello world
but instead, there's also the
cc1: warning: is shorter than expected [enabled by default]
line in there
More information about the Gcc-bugs
mailing list