[Bug c/105499] inconsistency between -Werror=c++-compat and g++ in __extension__ block
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 31 07:45:11 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105499
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |c
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-10-31
Ever confirmed|0 |1
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed reduced testcase:
void f (void *q)
{
__extension__ int *p1 = q;
}
At first I thought it was an issue with the statement expression but nope, it
is just __extension__ vs -Wc++-compat .
More information about the Gcc-bugs
mailing list