aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2003-05-15 18:25:51 -0400
committerJason Merrill <jason@gcc.gnu.org>2003-05-15 18:25:51 -0400
commit9cefd2cac4d33953331ee31b96553e0baca0d898 (patch)
tree97560f63f2cfb583065bc62291c070d43909a908 /gcc/combine.c
parent8f4b394d0259cb330bf8a67f0e4b974a6070def7 (diff)
downloadgcc-9cefd2cac4d33953331ee31b96553e0baca0d898.zip
gcc-9cefd2cac4d33953331ee31b96553e0baca0d898.tar.gz
gcc-9cefd2cac4d33953331ee31b96553e0baca0d898.tar.bz2
re PR c++/5388 (Incorrect message "operands to ?: have different types")
PR c++/5388 * call.c (conditional_conversion): Don't consider implicit conversions if T2 is a base of T1. * cp-tree.h (DERIVED_FROM_P, UNIQUELY_DERIVED_FROM_P): Make boolean. (ACCESSIBLY_UNIQUELY_DERIVED_P, PUBLICLY_UNIQUELY_DERIVED_P): Likewise. * parser.c (cp_parser_primary_expression): Convert a static data member from reference. From-SVN: r66844
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions