https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63338

--- Comment #4 from Steven Stewart-Gallus <sstewartgallus00 at mylangara dot 
bc.ca> ---
> What version of GCC and on which target?

Right, I should have mentioned that earlier. 

> $ uname -a
> Linux alonzo 3.13.0-34-generic #1trisquel1 SMP Sun Aug 24 04:17:04 UTC 2014 
> x86_64 x86_64 x86_64 GNU/Linux

> gcc --version
> gcc (GCC) 4.9.1
> Copyright (C) 2014 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> With -O2 GCC 4.9 takes 95s.

That's somewhat reasonable (not the best obviously but if it's only
one source file in the entire project that's okay.)

I probably should have posted numbers earlier. For reference on my
machine:

> $ time gcc -std=gnu99 -c module.i
> 11.365 secs

> $ time gcc -std=gnu99 -O1 -c module.i
> 161.176 secs

Reply via email to