Ups, sent this to the wrong mailing list... Sorry!
Please ignore and close.
--
main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];)
putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-
Hello everybody,
I am building grep 3.12 in a clean build environment for Arch Linux. That
fails when building with link time optimization is enabled:
CCLD grep
In function 'dfaoptimize',
inlined from 'dfaanalyze' at ../lib/dfa.c:2873:3:
../lib/dfa.c:2606:12: error: writing 1 byte into
Dear gzip maintainers,
just found out this is related to link time optimization. If I disable LTO it
builds as-is (git master and 1.14), as soon as I enable LTO my patches is
required for a successful build. Thanks!
--
Best regards,
Chris
pgpYU47i1wJJ1.pgp
Description: OpenPGP digital signature
... as the compiler complains:
gzip.c: In function 'main':
gzip.c:465:24: error: 'env_argc' may be used uninitialized
[-Werror=maybe-uninitialized]
465 | optc = getopt_long (env_argc, env_argv, shortopts,
longopts,
|^
gzip.c:413:9: note: 'env_argc'