diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-09-07 04:10:10 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-09-07 04:10:10 +0000 |
commit | 385bce060ac82554753630f1447a85c650300d9d (patch) | |
tree | 36da4e4899471215b1c1ed86f5a20bf2d7365607 /gcc/loop.c | |
parent | ef8f74d66da4c6034217dfe1147bb24e0193ef80 (diff) | |
download | gcc-385bce060ac82554753630f1447a85c650300d9d.zip gcc-385bce060ac82554753630f1447a85c650300d9d.tar.gz gcc-385bce060ac82554753630f1447a85c650300d9d.tar.bz2 |
re PR c++/11867 (static_cast ignores ambiguity)
PR c++/11687
* call.c (standard_conversion): Improve comments.
(perform_direct_initialization): Make sure we return an expression
of the correct type.
* typeck.c (build_static_cast): Check for ambiguity and
accessibility when performing conversions.
PR c++/11687
* g++.dg/expr/static_cast5.C: New test.
From-SVN: r71157
Diffstat (limited to 'gcc/loop.c')
0 files changed, 0 insertions, 0 deletions