PR c++/18001 * c-common.h (lvalue_use): Move here from c-ctypeck.c. (lvalue_or_else): Declare. * c-common.c (lvalue_or_else): Move here from c-typeck.c. * c-typeck.c (lvalue_use): Remove. (lvalue_or_else): Remove. PR c++/18556 * toplev.c (check_global_declarations): Set DECL_IGNORED_P on unemitted variables with static storage duration. PR c++/18445 * class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with unknown_type as non matching. Tidy up. * pt.c (build_non_dependent_expr): Do not build a NON_DEPENDENT_EXPR for a VAR_DECL. PR c++/18001 * cp-tree.h (lvalue_or_else): Remove declaration. * tree.c (lvalue_or_else): Remove. * typeck.c (build_unary_op): Adjust call to lvalue_or_else. (build_modify_expr): Likewise. PR c++/18625 * decl.c (duplicate_decls): Return error_mark_node on error, as specified. PR c++/18466 * decl.c (grokvardecl): Keep track of whether or not a there was explicit qualification. * name-lookup.c (set_decl_namespace): Complain about explicit qualification of a name within its own namespace. PR c++/18545 * typeck.c (check_return_expr): Robustify. PR c++/18445 * g++.dg/template/crash28.C: Likewise. PR c++/18001 * g++.dg/expr/unary2.C: Adjust lvalue messages. * g++.dg/ext/lvaddr.C: Likewise. * g++.dg/opt/pr7503-3.C: Likewise. PR c++/18466 * g++.dg/parse/qualified3.C: New test. * g++.old-deja/g++.other/friend7.C: Remove bogus qualification. PR c++/18545 * g++.dg/expr/return1.C: New test. From-SVN: r91301
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
anew1.C | Loading commit data... | |
anew2.C | Loading commit data... | |
anew3.C | Loading commit data... | |
anew4.C | Loading commit data... | |
assign1.C | Loading commit data... | |
call1.C | Loading commit data... | |
call2.C | Loading commit data... | |
cast1.C | Loading commit data... | |
cast2.C | Loading commit data... | |
comma1.C | Loading commit data... | |
cond1.C | Loading commit data... | |
cond2.C | Loading commit data... | |
cond3.C | Loading commit data... | |
cond4.C | Loading commit data... | |
cond6.C | Loading commit data... | |
copy1.C | Loading commit data... | |
crash-1.C | Loading commit data... | |
crash2.C | Loading commit data... | |
dtor1.C | Loading commit data... | |
dtor2.C | Loading commit data... | |
dtor3.C | Loading commit data... | |
enum1.C | Loading commit data... | |
for1.C | Loading commit data... | |
for2.C | Loading commit data... | |
incomplete1.C | Loading commit data... | |
lval1.C | Loading commit data... | |
member-of-incomplete-type-1.C | Loading commit data... | |
pmf-1.C | Loading commit data... | |
ptrmem1.C | Loading commit data... | |
ptrmem4.C | Loading commit data... | |
ptrmem5.C | Loading commit data... | |
return1.C | Loading commit data... | |
sizeof1.C | Loading commit data... | |
sizeof2.C | Loading commit data... | |
sizeof3.C | Loading commit data... | |
static_cast1.C | Loading commit data... | |
static_cast2.C | Loading commit data... | |
static_cast3.C | Loading commit data... | |
static_cast4.C | Loading commit data... | |
static_cast5.C | Loading commit data... | |
unary1.C | Loading commit data... | |
unary2.C | Loading commit data... |