[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread piotr dot wyderski at gmail dot com
--- Comment #3 from piotr dot wyderski at gmail dot com 2009-12-21 13:47 --- (In reply to comment #2) Any chance you can provide a smaller reproducer? Thanks. No, every simpler testcase based on the attached code I tried to create compiles successfully. Perhaps here is the problem?

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-12-21 14:11 --- Certainly *is* a problem if we hope to debug the issue decently fast... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42447

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread piotr dot wyderski at gmail dot com
--- Comment #5 from piotr dot wyderski at gmail dot com 2009-12-21 14:27 --- (In reply to comment #4) Certainly *is* a problem if we hope to debug the issue decently fast... I meant the cause of the problem is in its size, i.e. there must be a critical mass of templates to trigger

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2009-12-21 14:34 --- Ok... Did you help yourself with delta? See: http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42447

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42447

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2009-12-21 16:14 --- I'm reducing it. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread piotr dot wyderski at gmail dot com
--- Comment #8 from piotr dot wyderski at gmail dot com 2009-12-21 16:38 --- (In reply to comment #6) A marvelous tool! I'm reducing it too, staring at the proces with half-open mouth... -- piotr dot wyderski at gmail dot com changed: What|Removed

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42447

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-12-21 17:18 --- Note that a compiler built --disable-checking doesn't ICE, just errors out. Thus, are you sure the code is valid, before anything else? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42447

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread piotr dot wyderski at gmail dot com
--- Comment #10 from piotr dot wyderski at gmail dot com 2009-12-21 17:23 --- (In reply to comment #9) Thus, are you sure the code is valid, before anything else? It compiles and works on gcc version 4.5.0 20090604. The current compiler is Configured with: ../configure

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42447

[Bug c++/42447] [C++0x] ICE during processing complex templates

2009-12-21 Thread piotr dot wyderski at gmail dot com
--- Comment #11 from piotr dot wyderski at gmail dot com 2009-12-21 17:38 --- An even more reduced testcase which ICEs. Delta is amazing... I think I'll stop here. // 8 namespace std class tuple { }; templatestd::size_t __i,