[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-31 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #32 from Steven Bosscher steven at gcc dot gnu.org 2012-07-31 09:21:03 UTC --- Author: steven Date: Tue Jul 31 09:20:56 2012 New Revision: 18 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=18 Log: PR pch/53880 *

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-31 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Known to fail|4.8.0 | --- Comment

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-31 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added Status|ASSIGNED

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING ---

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #22 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-30 10:54:35 UTC --- (In reply to comment #21) Markus, I think that r189951 should have fixed this problem (xf.

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #23 from Steven Bosscher steven at gcc dot gnu.org 2012-07-30 11:08:01 UTC --- (In reply to comment #22) Still a 98% compile time regression on todays trunk. What revision number is this? If it includes r189951, could you please see

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #24 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-30 11:21:54 UTC --- (In reply to comment #23) (In reply to comment #22) Still a 98% compile time regression on todays trunk. What revision number is this? If it

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #26 from Steven Bosscher steven at gcc dot gnu.org 2012-07-30 13:17:25 UTC --- FWIW, the resulting PCH for GCC 4.8 is more than twice as large as the PCH for GCC 4.7.

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #27 from Steven Bosscher steven at gcc dot gnu.org 2012-07-30 13:51:58 UTC --- The problem is the quadratic behavior invoked by the loop in gt_pch_nx_line_maps: { size_t l2 = (size_t)(((*x).info_macro).used); if

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #28 from Steven Bosscher steven at gcc dot gnu.org 2012-07-30 14:22:37 UTC --- With -ftrack-macro-expansion=2 (the default): (gdb) call dump_line_table_statistics() Number of expanded macros: 237994 Average number

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #29 from Steven Bosscher steven at gcc dot gnu.org 2012-07-30 15:04:18 UTC --- Created attachment 27897 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27897 Unswitched gtype-desc.c at r189965 Manually unswitching

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #30 from Steven Bosscher steven at gcc dot gnu.org 2012-07-30 16:15:35 UTC --- Created attachment 27898 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27898 Hack to avoid quadratic loops This makes use of the assumption that

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #31 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-30 16:26:23 UTC --- (In reply to comment #30) Created attachment 27898 [details] Hack to avoid quadratic loops This makes use of the assumption that this_obj and

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #15 from dodji at seketeli dot org dodji at seketeli dot org 2012-07-26 16:30:33 UTC --- paolo.carlini at oracle dot com gcc-bugzi...@gcc.gnu.org a écrit: --- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #16 from dodji at seketeli dot org dodji at seketeli dot org 2012-07-26 17:15:15 UTC --- rguenth at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org a écrit: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #10 from Richard

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #16 from dodji at seketeli dot org dodji at seketeli dot org 2012-07-26 17:15:15 UTC --- rguenth at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org a écrit: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #10 from Richard

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #17 from dodji at seketeli dot org dodji at seketeli dot org 2012-07-26 17:15:43 UTC --- --- Comment #14 from Paolo Carlini paolo.carlini at oracle dot com 2012-07-24 10:13:24 UTC --- Thanks Steven for looking into this! Indeed,

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #18 from dodji at seketeli dot org dodji at seketeli dot org 2012-07-26 17:18:34 UTC --- --- Comment #13 from stevenb.gcc at gmail dot com stevenb.gcc at gmail dot com 2012-07-24 10:03:05 UTC --- On Tue, Jul 24, 2012 at 11:42 AM,

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread stevenb.gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #19 from stevenb.gcc at gmail dot com stevenb.gcc at gmail dot com 2012-07-26 19:44:59 UTC --- Dodji, please see http://gcc.gnu.org/ml/gcc-patches/2012-07/msg01204.html

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-26 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #20 from dodji at seketeli dot org dodji at seketeli dot org 2012-07-26 21:11:16 UTC --- stevenb.gcc at gmail dot com gcc-bugzi...@gcc.gnu.org a écrit: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #19 from

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #7 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-24 06:49:57 UTC --- (In reply to comment #5) What are the callers of gt_pch_p_9line_maps? It is only called from gt_pch_nx_line_maps of ./gcc/gtype-desc.c

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread stevenb.gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #8 from stevenb.gcc at gmail dot com stevenb.gcc at gmail dot com 2012-07-24 08:16:01 UTC --- (In reply to comment #7) I don't think it's really called from there. It should be called from gt_pch_save. gt_pch_nx_line_maps only

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #9 from Steven Bosscher steven at gcc dot gnu.org 2012-07-24 09:20:14 UTC --- (In reply to comment #1) Boost version is 1.49. (When I use --save-temps and use the resulting .ii file instead, the regression is no longer

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #10 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-24 09:34:21 UTC --- Err, isn't the GTY annotation in as y1. x0 is the spelling location for the argument token 1, and x2 is the spelling location for the

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread stevenb.gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #11 from stevenb.gcc at gmail dot com stevenb.gcc at gmail dot com 2012-07-24 09:41:18 UTC --- Err, isn't the GTY annotation in as y1. x0 is the spelling location for the argument token 1, and x2 is the spelling

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #12 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-24 09:42:53 UTC --- (In reply to comment #11) Err, isn't the GTY annotation in as y1. x0 is the spelling location for the argument token 1, and x2 is the

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread stevenb.gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #13 from stevenb.gcc at gmail dot com stevenb.gcc at gmail dot com 2012-07-24 10:03:05 UTC --- On Tue, Jul 24, 2012 at 11:42 AM, rguenth at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: The pointer to the array, but not the array

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #14 from Paolo Carlini paolo.carlini at oracle dot com 2012-07-24 10:13:24 UTC --- Thanks Steven for looking into this!

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-23 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-23 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #6 from Steven Bosscher steven at gcc dot gnu.org 2012-07-23 22:46:19 UTC --- FWIW this shows up in GCC's own libstdc++ PCHs also.

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-08 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #3 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-08 07:08:13 UTC --- Unfortunately jimis' patch from Bug 53525 doesn't help much: c++ -c -o pch.hpp.gch /usr/include/boost/math/special_functions.hpp 156.69s user

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-06 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 --- Comment #1 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-06 15:54:43 UTC --- Boost version is 1.49. (When I use --save-temps and use the resulting .ii file instead, the regression is no longer reproducible)

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

2012-07-06 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC||dodji