[Bug c/88392] Incorrect error message when using bitfields in void *pointer
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 7 08:53:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88392
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-12-07
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suspect error recovery parses the bogus type as 'int' to be able to continue
and report further errors. Well, or it's simply error_mark_node which likely
has precision zero ;)
More information about the Gcc-bugs
mailing list