https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101720
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- I have another C test case which seems to take a long time when -g is switched on: $ time /home/dcb/gcc/results.20210731.release/bin/gcc -c -O2 bug742.c real 1m45.778s user 1m40.487s sys 0m0.954s $ time /home/dcb/gcc/results.20210731.release/bin/gcc -c -O2 -g bug742.c real 8m40.157s user 8m24.941s sys 0m3.953s