re PR target/24236 (gcc.dg/i386-sse-10.c fails on the mainline on x86_64-linux-gnu)
PR c++/24235 * pt.c (check_instantiated_args): Reword diagnostic message about template argument involving local types. From-SVN: r107451
This commit is contained in:
parent
86556d87a3
commit
9df540a8d9
|
@ -1,3 +1,9 @@
|
|||
2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||
|
||||
PR c++/24235
|
||||
* pt.c (check_instantiated_args): Reword diagnostic message about
|
||||
template argument involving local types.
|
||||
|
||||
2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||
|
||||
PR c++/21667
|
||||
|
|
|
@ -9093,7 +9093,8 @@ check_instantiated_args (tree tmpl, tree args, tsubst_flags_t complain)
|
|||
if (TYPE_ANONYMOUS_P (nt))
|
||||
error ("%qT is/uses anonymous type", t);
|
||||
else
|
||||
error ("%qT uses local type %qT", t, nt);
|
||||
error ("template argument for %qD uses local type %qT",
|
||||
tmpl, t);
|
||||
}
|
||||
result = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue