This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132609 - in /trunk/gcc/cp: ChangeLog typeck.c
- From: manu at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 25 Feb 2008 01:39:14 -0000
- Subject: r132609 - in /trunk/gcc/cp: ChangeLog typeck.c
Author: manu
Date: Mon Feb 25 01:39:14 2008
New Revision: 132609
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132609
Log:
2008-02-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* typeck.c (check_for_casting_away_constness): Use 1 single
argument, the type of cast, to decide what diagnostics generate.
(build_static_cast_1): Remove unused code. Update call to
check_for_casting_away_constness.
(build_reinterpret_cast_1): Update call to
check_for_casting_away_constness.
(build_const_cast_1): Likewise.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c