[Bug plugins/62252] a callback to event PLUGIN_FINISH_TYPE segfaults

klemen.jan.enova at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 24 19:46:00 GMT 2014


--- Comment #2 from klemen.jan.enova at gmail dot com ---
TREE_CODE(type) returns an ERROR_MARK. So, (tree) event_data must not alias
with a tree. This plugin is from
There are no checks there, it just assumes it is a type represented as a tree.

More information about the Gcc-bugs mailing list