public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18835] New: memory consumption is high for C++ testcase
@ 2004-12-04 22:06 pinskia at gcc dot gnu dot org
2004-12-04 22:07 ` [Bug c++/18835] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-04 22:06 UTC (permalink / raw)
To: gcc-bugs
The testcase in PR 14719 shows that we use a large amount of memory still even on the mainline.
I was just compiling at -O0, 380M seems high to me for this "simple" C++ testcase (yes it is 8000 lines
but most of that is comming in from boost's headers so the testcase itself is much smaller).
--
Summary: memory consumption is high for C++ testcase
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: memory-hog
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18835] memory consumption is high for C++ testcase
2004-12-04 22:06 [Bug c++/18835] New: memory consumption is high for C++ testcase pinskia at gcc dot gnu dot org
@ 2004-12-04 22:07 ` pinskia at gcc dot gnu dot org
2005-07-24 7:22 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-04 22:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-04 22:07 -------
I should note that the compile time is not that bad at about 40s but that is still high for -O0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18835] memory consumption is high for C++ testcase
2004-12-04 22:06 [Bug c++/18835] New: memory consumption is high for C++ testcase pinskia at gcc dot gnu dot org
2004-12-04 22:07 ` [Bug c++/18835] " pinskia at gcc dot gnu dot org
@ 2005-07-24 7:22 ` pinskia at gcc dot gnu dot org
2005-08-23 12:38 ` nathan at gcc dot gnu dot org
2005-08-23 16:32 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24 7:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |23044
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18835] memory consumption is high for C++ testcase
2004-12-04 22:06 [Bug c++/18835] New: memory consumption is high for C++ testcase pinskia at gcc dot gnu dot org
2004-12-04 22:07 ` [Bug c++/18835] " pinskia at gcc dot gnu dot org
2005-07-24 7:22 ` pinskia at gcc dot gnu dot org
@ 2005-08-23 12:38 ` nathan at gcc dot gnu dot org
2005-08-23 16:32 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-08-23 12:38 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18835 depends on bug 23044, which changed state.
Bug 23044 Summary: [4.0/4.1 Regression] ICE on valid code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23044
What |Old Value |New Value
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18835] memory consumption is high for C++ testcase
2004-12-04 22:06 [Bug c++/18835] New: memory consumption is high for C++ testcase pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-23 12:38 ` nathan at gcc dot gnu dot org
@ 2005-08-23 16:32 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-23 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-23 16:27 -------
tree.c:5027 (build_method_type_directly) 7305888: 3.6% 0: 0.0% 596640: 0.9% 0:
0.0% 82318
cp/name-lookup.c:1241 (begin_scope) 8848872: 4.3% 0: 0.0% 2376: 0.0%
1639120: 7.5% 81956
cp/lex.c:748 (copy_decl) 60144: 0.0% 0: 0.0% 9639560:14.1% 157880:
0.7% 83327
varray.c:141 (varray_init) 9824868: 4.8% 128820: 0.3% 400: 0.0% 1946552:
8.9% 35661
cp/pt.c:5973 (tsubst_template_args) 10984652: 5.4% 0: 0.0% 3331804: 4.9%
576712: 2.6% 441940
cp/pt.c:3978 (coerce_template_parms) 15614688: 7.6% 0: 0.0% 882028: 1.3%
519976: 2.4% 528499
cp/name-lookup.c:4293 (arg_assoc_class) 20385336:10.0% 0: 0.0% 0: 0.0% 0:
0.0% 849389
Almost all in the front-end.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-23 16:27:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18835] memory consumption is high for C++ testcase
[not found] <bug-18835-4@http.gcc.gnu.org/bugzilla/>
@ 2011-09-25 15:17 ` paolo.carlini at oracle dot com
0 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-25 15:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC|gcc-bugs at gcc dot gnu.org |
Resolution| |INVALID
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-25 15:08:14 UTC ---
Feedback not forthcoming.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/18835] memory consumption is high for C++ testcase
[not found] <bug-18835-6528@http.gcc.gnu.org/bugzilla/>
@ 2009-02-23 16:39 ` hubicka at gcc dot gnu dot org
0 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2009-02-23 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hubicka at gcc dot gnu dot org 2009-02-23 16:39 -------
Testcase no longer compile:
/home/jh/bitmachine.cc:5049: error: declaration of 'typedef typename
Context::inner_context_type::state_base_type
boost::fsm::simple_state<MostDerived, Context, Reactions, InnerInitial,
historyMode>::state_base_type'
/home/jh/bitmachine.cc:4961: error: conflicts with previous declaration
'typedef typename Context::inner_context_type::state_base_type
boost::fsm::simple_state<MostDerived, Context, Reactions, InnerInitial,
historyMode>::state_base_type'
/home/jh/bitmachine.cc:5053: error: declaration of 'typedef typename
Context::inner_context_type::outermost_context_type
boost::fsm::simple_state<MostDerived, Context, Reactions, InnerInitial,
historyMode>::outermost_context_type'
/home/jh/bitmachine.cc:4920: error: conflicts with previous declaration
'typedef typename Context::inner_context_type::outermost_context_type
boost::fsm::simple_state<MostDerived, Context, Reactions, InnerInitial,
historyMode>::outermost_context_type'
Can we have updated one?
--
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-09-25 15:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-04 22:06 [Bug c++/18835] New: memory consumption is high for C++ testcase pinskia at gcc dot gnu dot org
2004-12-04 22:07 ` [Bug c++/18835] " pinskia at gcc dot gnu dot org
2005-07-24 7:22 ` pinskia at gcc dot gnu dot org
2005-08-23 12:38 ` nathan at gcc dot gnu dot org
2005-08-23 16:32 ` pinskia at gcc dot gnu dot org
[not found] <bug-18835-6528@http.gcc.gnu.org/bugzilla/>
2009-02-23 16:39 ` hubicka at gcc dot gnu dot org
[not found] <bug-18835-4@http.gcc.gnu.org/bugzilla/>
2011-09-25 15:17 ` paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).