[Bug c++/16564] g++ seems to go into an infinite loop after errors
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 18 15:47:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-10-18 15:47 -------
I think your testcase isn't very good. After all, you really try to
instantiate A<A<A<A...>>> and the compiler only gives up after its
500 nested instantiations. Your testcase is really badly constructed
since it necessarily requires the 500 instantiations, whereas mine
from comment #3 only requires 2 or so (a finite number if the instantiation
depth would be infinite, whereas yours is really infinite).
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16564
More information about the Gcc-bugs
mailing list