gcc regards struct foo and const struct foo as __builtin_types_compatible_p #3291
Labels
bugzilla
Issues migrated from bugzilla
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Extended Description
gcc accepts the following code which clang rejects:
int a0[__builtin_types_compatible_p(struct foo,
const struct foo) ? 1 : -1];
Reported as problem compiling Dovecot.
The text was updated successfully, but these errors were encountered: