re PR c++/52432 ([C++11] -fdump-tree-gimple causes ICE: Error reporting routines re-entered.)
/cp 2012-09-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52432 * pt.c (tsubst_copy_and_build): If tf_error is not set in the complain argument don't call unqualified_name_lookup_error. /testsuite 2012-09-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52432 * g++.dg/cpp0x/decltype32.C: Tweak. From-SVN: r191564
This commit is contained in:
parent
9606465f8c
commit
01e721f30b
4 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-09-20 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/52432
|
||||
* pt.c (tsubst_copy_and_build): If tf_error is not set in the complain
|
||||
argument don't call unqualified_name_lookup_error.
|
||||
|
||||
2012-09-19 Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
PR c++/54581
|
||||
|
|
|
@ -13771,7 +13771,8 @@ tsubst_copy_and_build (tree t,
|
|||
}
|
||||
if (TREE_CODE (function) == IDENTIFIER_NODE)
|
||||
{
|
||||
unqualified_name_lookup_error (function);
|
||||
if (complain & tf_error)
|
||||
unqualified_name_lookup_error (function);
|
||||
release_tree_vector (call_args);
|
||||
RETURN (error_mark_node);
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2012-09-20 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/52432
|
||||
* g++.dg/cpp0x/decltype32.C: Tweak.
|
||||
|
||||
2012-09-20 Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
* gcc.dg/tree-ssa/forwprop-19.c: Check in forwprop1.
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
template <typename T>
|
||||
auto make_array(const T& il) ->
|
||||
decltype(make_array(il)) // { dg-error "not declared" }
|
||||
decltype(make_array(il)) // { dg-error "not declared|no matching|exceeds" }
|
||||
{ }
|
||||
|
||||
int main()
|
||||
{
|
||||
int z = make_array(1); // { dg-error "no match" }
|
||||
int z = make_array(1); // { dg-error "no matching" }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue