[Bug c/92773] GCC compilation with big array / header is infinite
renault at fedoraproject dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 4 15:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773
--- Comment #6 from Charles-Antoine Couret <renault at fedoraproject dot org> ---
Ok with a friend we identified a bit more what is the issue.
So in fact I built (manually):
$ gcc -Wall sound/soc/codecs/tas5756m.i -o sound/soc/codecs/tas5756m.o
In that case, no output and it does not stop.
But with:
$ gcc sound/soc/codecs/tas5756m.i
It finished very quickly with some linker errors.
And with:
$ gcc -Wall sound/soc/codecs/tas5756m.i
There are a lot of outputs (warning for each line of my big arrays). And the
process is really slow, some minutes to display the first 1000 lines. It seems
slower over the time (the beginning seems really faster than the end).
I assume that's the issue that I got with Linux build system.
>From my point of view there is a performance regression somewhere. I don't
think this behaviour is normal.
More information about the Gcc-bugs
mailing list