https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58939
--- Comment #2 from Andrew Pinski ---
Interesting POSIX requires st_size to be off_t. I see it is long long on some
platforms of bionic.
https://android.googlesource.com/platform/bionic/+/refs/heads/master/libc/include/sys/stat.h
I don't know
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58939
--- Comment #1 from chaselton chaselton at gmail dot com ---
UPDATE:
Thanks to Jonathan Wakely and Ian Taylor for providing the codefixes.
This bug is resolved by adding the following to files.c
in lines 715-726:
if (regular total != size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58939
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Severity|blocker |normal