https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63592
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Igor Zamyatin from comment #4) > The same could be seen for 253.perlbmk and 400.perlbench tests from > spec2K/2006 suites That is a bug in the SPEC CPU also. There is a define for __attribute__ which causes the issue. I decided to use -std=gnu90 when compiling SPEC CPU as a portability flag.