------- Comment #9 from rguenth at gcc dot gnu dot org 2008-01-14 12:35 -------
The testcase in comment #3 looks valid(?), at least EDG accepts it. The
problem is we try to fold_non_dependent_expr
n = n0 > max_shift ? max_shift : n0,
but substituting n0 makes this expression dependent and we leak template
param lists to fold.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |ice-on-valid-code
Priority|P4 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34774