[PATCH] c++: Treat OPAQUE_TYPE types as an aggregate type [PR97947]

Peter Bergner bergner@linux.ibm.com
Thu Dec 3 00:18:16 GMT 2020


On 12/2/20 2:36 PM, Jakub Jelinek wrote:
> Just a random question, do you have some testsuite coverage for constant
> expression evaluation (primarily C++) with the opaque types, do you verify
> any object with that type is treated as something that may not appear in
> constant expression and does constexpr.c properly punt on it rather than
> ICE?

We don't, since we don't support that with these specific types, but yeah,
an ICE isn't as good as an error message.  We'll look into adding some.  
Thanks.

Peter


More information about the Gcc-patches mailing list