[Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 2 18:41:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83602
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Sorry about the breakage.
Patch looks reasonable to me. Maybe cpp_macro_definition_location should gain
an assertion that CPP_HASHNODE_VALUE_IDX (node) == NTV_MACRO ?
More information about the Gcc-bugs
mailing list