On 11/10/2015 05:35 PM, David Malcolm wrote:
+ /* Nasty workaround to convince the linker to add + rich_location::add_fixit_insert + rich_location::add_fixit_remove + rich_location::add_fixit_replace + to cc1 for use by diagnostic_plugin_test_show_locus, + before anything in cc1 is using them. + + This conditional should never hold, but hopefully the compiler can't + figure that out. */
Does attribute((used)) help with this problem? Bernd