https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71995
Tom Honermann <tom at honermann dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Tom Honermann <tom at honermann dot net> ---
(In reply to Andrew Pinski from comment #1)
> Can you add --enable-checking=release and try again for the trunk?
Thanks, that explains it:
Compile times using the gcc trunk build:
# default SCALE_FACTOR=23
$ time g++ -c -std=c++11 t.cpp
real 0m01.427s | real 0m01.442s | real 0m01.430s
user 0m01.328s | user 0m01.384s | user 0m01.356s
sys 0m00.092s | sys 0m00.052s | sys 0m00.068s
# SCALE_FACTOR=25
$ time g++ -c -std=c++11 -DSCALE_FACTOR=25 t.cpp
real 0m03.969s | real 0m03.978s | real 0m04.008s
user 0m03.816s | user 0m03.804s | user 0m03.900s
sys 0m00.148s | sys 0m00.168s | sys 0m00.104s
# SCALE_FACTOR=27
$ time g++ -c -std=c++11 -DSCALE_FACTOR=27 t.cpp
real 0m10.735s | real 0m10.757s | real 0m10.873s
user 0m10.340s | user 0m10.272s | user 0m10.420s
sys 0m00.392s | sys 0m00.484s | sys 0m00.452s
Times are now close enough to gcc-6-branch times that I'm not going to bother
calculating percentages.
Closing as resolved/invalid.