This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60291] slow compile times for any mode (-O0/-O1/-O2) on large .c source file (30MBs)
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Feb 2014 14:31:55 +0000
- Subject: [Bug c/60291] slow compile times for any mode (-O0/-O1/-O2) on large .c source file (30MBs)
- Auto-submitted: auto-generated
- References: <bug-60291-4 at http dot gcc dot gnu dot org/bugzilla/>
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)