aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2010-11-12 18:00:21 +0000
committerJason Merrill <jason@gcc.gnu.org>2010-11-12 13:00:21 -0500
commitd780189f23bdad447d7520f46ec1d3258a115d82 (patch)
treec13c89e13244110928c0efb339650e53955d063b /gcc/function.c
parent47c217252a6ddb70babcaf3b544a17a3b33bd80f (diff)
downloadgcc-d780189f23bdad447d7520f46ec1d3258a115d82.zip
gcc-d780189f23bdad447d7520f46ec1d3258a115d82.tar.gz
gcc-d780189f23bdad447d7520f46ec1d3258a115d82.tar.bz2
re PR c++/39415 (static_cast used as downcast can silently lose const)
PR c++/39415 * typeck.c (build_static_cast_1): Convert to the target type when doing static_cast<cv Derived*>(Base*). From-SVN: r166667
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions