diff options
author | Patrick Palka <ppalka@gcc.gnu.org> | 2016-01-19 00:19:16 +0000 |
---|---|---|
committer | Patrick Palka <ppalka@gcc.gnu.org> | 2016-01-19 00:19:16 +0000 |
commit | 17c15cb932563bb814865c39abc2b952c7707f79 (patch) | |
tree | c8fda91b6b8fbccdc143d90c1d753def47ac5deb /gcc/testsuite/ChangeLog | |
parent | 49f8a19186f939a7561cb2bae31ffa67c649c606 (diff) | |
download | gcc-17c15cb932563bb814865c39abc2b952c7707f79.zip gcc-17c15cb932563bb814865c39abc2b952c7707f79.tar.gz gcc-17c15cb932563bb814865c39abc2b952c7707f79.tar.bz2 |
Fix the remaining PR c++/24666 blockers (arrays decay to pointers too early)
gcc/cp/ChangeLog:
PR c++/11858
PR c++/24663
PR c++/24664
* decl.c (grokdeclarator): Don't decay array parameter type to
a pointer type if it's dependent.
(grokparms): Invoke strip_top_quals instead of directly invoking
cp_build_qualified_type.
* pt.c (decay_dependent_array_parm_type): New static function.
(type_unification_real): Call decay_dependent_array_parm_type
to decay a dependent array parameter type to its corresponding
pointer type before unification.
(more_specialized_fn): Likewise.
(get_bindings): Likewise.
* tree.c (cp_build_qualified_type): Trivial typofix in
documentation.
gcc/testsuite/ChangeLog:
PR c++/11858
PR c++/24663
PR c++/24664
* g++.dg/template/pr11858.C: New test.
* g++.dg/template/pr24663.C: New test.
* g++.dg/template/unify12.C: New test.
* g++.dg/template/unify13.C: New test.
* g++.dg/template/unify14.C: New test.
* g++.dg/template/unify15.C: New test.
* g++.dg/template/unify16.C: New test.
* g++.dg/template/unify17.C: New test.
From-SVN: r232547
Diffstat (limited to 'gcc/testsuite/ChangeLog')
-rw-r--r-- | gcc/testsuite/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index da5bfa93..9245b50 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2016-01-18 Patrick Palka <ppalka@gcc.gnu.org> + + PR c++/11858 + PR c++/24663 + PR c++/24664 + * g++.dg/template/pr11858.C: New test. + * g++.dg/template/pr24663.C: New test. + * g++.dg/template/unify12.C: New test. + * g++.dg/template/unify13.C: New test. + * g++.dg/template/unify14.C: New test. + * g++.dg/template/unify15.C: New test. + * g++.dg/template/unify16.C: New test. + * g++.dg/template/unify17.C: New test. + 2016-01-18 David Malcolm <dmalcolm@redhat.com> PR testsuite/69181 |