diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-04-21 19:49:23 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-04-21 19:49:23 +0000 |
commit | 36ef72625cd8bc38933adf8c06a7de4f093e98c6 (patch) | |
tree | 252a0939bdbc3eeb3a8ea24b01705c79fcc71cfe /gcc/except.c | |
parent | ad41bd84ff7298f2eff1d0b99e1975f99bc8ba68 (diff) | |
download | gcc-36ef72625cd8bc38933adf8c06a7de4f093e98c6.zip gcc-36ef72625cd8bc38933adf8c06a7de4f093e98c6.tar.gz gcc-36ef72625cd8bc38933adf8c06a7de4f093e98c6.tar.bz2 |
re PR c++/35711 (bad text in -Wcast-qual warning (forgets volatile))
2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/35711
cp/
* typeck.c (check_for_casting_away_constness): We diagnose casting
away any qualifiers not just constness.
(casts_away_constness): Mention that it handles more than just
constness.
testsuite/
* g++.dg/warn/pr35711.C: New.
* g++.dg/conversion/ptrmem2.C: Update.
From-SVN: r146537
Diffstat (limited to 'gcc/except.c')
0 files changed, 0 insertions, 0 deletions