We've had this comment to remove the code since r13-963, so it seems
it's been long enough now to go ahead and remove it.
gcc/cp/ChangeLog:
* constexpr.cc (cxx_eval_bare_aggregate): Remove dead code.
Reviewed-by: Jason Merrill <jason@redhat.com>
/* This is an initializer for an empty field; now that we've
checked that it's constant, we can ignore it. */
changed = true;
- else if (index
- && (TREE_CODE (index) == NOP_EXPR
- || TREE_CODE (index) == POINTER_PLUS_EXPR))
- {
- /* Old representation of empty bases. FIXME remove. */
- gcc_checking_assert (false);
- gcc_assert (is_empty_class (TREE_TYPE (TREE_TYPE (index))));
- changed = true;
- }
else
{
if (TREE_CODE (type) == UNION_TYPE