diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2003-05-15 18:25:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-05-15 18:25:51 -0400 |
commit | 9cefd2cac4d33953331ee31b96553e0baca0d898 (patch) | |
tree | 97560f63f2cfb583065bc62291c070d43909a908 /gcc/combine.c | |
parent | 8f4b394d0259cb330bf8a67f0e4b974a6070def7 (diff) | |
download | gcc-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