This is the mail archive of the
mailing list for the GCC project.
plugin callbacks after compiler errors
- From: Taras Glek <taras dot glek at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 09 Jun 2009 12:33:08 -0700
- Subject: plugin callbacks after compiler errors
While developing my plugin I've noticed that many callbacks need to be
guarded with "if (errorcount)" or the plugin will cause a gcc crash due
to receiving less complete data than it expected.
Should the plugin API guard callbacks in invoke_plugin_callbacks() to
avoid 99% of plugins running into this issue?