re PR c++/20186 (ICE with static_cast and type dependent variable (templates))
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 17 Mar 2005 13:26:39 +0000 (13:26 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 17 Mar 2005 13:26:39 +0000 (13:26 +0000)
commit7416ab0243ea8eb35c6aa375db603755c2ec7706
treedf86f7cc60ab0585497a20e9ed5a196ba7a7bf69
parent52eb57dfb1a459af58f87e8dc71206d7c2ba36a8
re PR c++/20186 (ICE with static_cast and type dependent variable (templates))

cp:
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.

From-SVN: r96605
gcc/cp/ChangeLog
gcc/cp/pt.c