* typeck.c (build_const_cast): Tighten checks for legality.
authorMark Mitchell <mark@codesourcery.com>
Mon, 3 May 1999 15:04:58 +0000 (15:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 3 May 1999 15:04:58 +0000 (15:04 +0000)
commit2f8ec491ba5250824d0375d8b8e488c2cd689764
treefc157753e22ebbe959582e73fce9776fc3e85c3d
parentd750f6f780b3d70bc78c36daa0c896e335115654
* typeck.c (build_const_cast): Tighten checks for legality.

From-SVN: r26753
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.other/cast2.C