[Bug c/60291] slow compile times for any mode (-O0/-O1/-O2) on large .c source file (30MBs)

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 20 14:31:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60291

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
It looks like clang ignores all _attribute__((aligned (8))):

 % clang -c -O2 ghc14232_3.hc.i 2>&1 | grep Wignored-attributes | wc -l
16710
 %

Using -flto=4 with gcc-4.9 almost halves the compile time on my machine
(ancient AMD Phenom 4 core):
From: 5:27.73 total
To  : 2:23.85 total
(clang takes 1:22.60 total)



More information about the Gcc-bugs mailing list