------- Comment #4 from gcc at cohi dot at  2008-04-08 10:55 -------
The second example could be related with a recursive template, more precisely
the templates seq_min_impl1 and seq_min_impl2 together perform a template
meta-programming "recursive walk" of a template structure, in order to define
their respective "const static size_t min" members.

In the second example the template structure is recursive, i.e. while trying to
determine seq_min_impl1< ... >::min for some template parameters the compiler
will reach a point where that value, through some steps, depends on itself.

(The meta-programming in the code included is a first step towards eliminating
the recursion.)

In other words: If my current understanding of my code is correct, the ICE from
scheme.ii should be an error message.


-- 

gcc at cohi dot at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |major


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35828

Reply via email to