[Bug c++/20453] [4.1 Regression] GCC fails to treat a valid constant expression as a template argument
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 17 16:09:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-17 16:09 -------
This is also fixed on the mainline.
It was fixed by:
2005-03-17 Nathan Sidwell <nathan@codesourcery.com>
PR c++/20186
* pt.c (contains_dependent_cast_p): Remove.
(fold_non_dependent_expr): Don't use it.
(value_dependent_expression_p): Use a switch statement.
reference_exprs can be dependent.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20453
More information about the Gcc-bugs
mailing list