]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/14122 (problem with non-type tmplt parm in member template)
authorMark Mitchell <mark@codesourcery.com>
Sat, 14 Feb 2004 00:49:15 +0000 (00:49 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 14 Feb 2004 00:49:15 +0000 (00:49 +0000)
commit0e8c9b28a1a4ea9d542dade50f4f07a74ccfbe64
tree7b7881b71a1f399038eb2c8d1db98965fca65574
parente8cae6592627b08a19885bd11216dfbcd7e8c90d
re PR c++/14122 (problem with non-type tmplt parm in member template)

PR c++/14122
* cp-tree.h (delete_sanity): Change prototype.
* decl2.c (delete_sanity): Make doing_vec a bool, not an int.
Remove dead code.  Adjust code to warn about deleting an array.
* typekc.c (decay_conversion): Use build_address and build_nop.

PR c++/14108
* search.c (accessible_p): Do not check access in thunks.

PR c++/14122
* g++.dg/template/array4.C: New test.

PR c++/14108
* g++.dg/inherit/thunk2.C: New test.

From-SVN: r77786
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/search.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/thunk2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/array4.C [new file with mode: 0644]