[Bug c++/30716] recursive templates compilation fault

2007-02-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-02-07 09:55 --- note the size of class cls grows exponentially with its template parameter. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30716] recursive templates compilation fault

2007-02-06 Thread fang at csl dot cornell dot edu
--- Comment #1 from fang at csl dot cornell dot edu 2007-02-07 00:32 --- Ahh, exploding recursive templates... For future reference, you could limit the recursion depth explicitly, using -ftemplate-depth-n from a gcc-3.4.0 man page: Set the maximum instantiation depth for template