Re: [PATCH] c++: conversion to base of vbase in NSDMI [PR80431]

2021-06-20 Thread Jason Merrill via Gcc-patches
On 6/18/21 4:39 PM, Patrick Palka wrote: The delayed processing of conversions to a virtual base inside an NSDMI assumes the target base type is a (possibly indirect) virtual base of the current class, but the target base type could also be an indirect non-virtual base inherited from a virtual ba

[PATCH] c++: conversion to base of vbase in NSDMI [PR80431]

2021-06-18 Thread Patrick Palka via Gcc-patches
The delayed processing of conversions to a virtual base inside an NSDMI assumes the target base type is a (possibly indirect) virtual base of the current class, but the target base type could also be an indirect non-virtual base inherited from a virtual base, as in the testcase below. Since such a