On Wed, 26 Oct 2011, Richard Guenther wrote: > Index: trunk/gcc/opts-global.c > =================================================================== > *** trunk.orig/gcc/opts-global.c 2011-10-26 13:46:24.000000000 +0200 > --- trunk/gcc/opts-global.c 2011-10-26 13:48:42.000000000 +0200 > *************** static void > *** 167,176 **** > post_handling_callback (const struct cl_decoded_option *decoded > ATTRIBUTE_UNUSED, > unsigned int mask ATTRIBUTE_UNUSED) > { > - #ifdef ENABLE_LTO > - lto_register_user_option (decoded->opt_index, decoded->arg, > - decoded->value, mask); > - #endif > }
It looks like this leaves both implementations of this callback (driver and compiler proper) empty, so all support for the post_handling_callback can be removed. -- Joseph S. Myers jos...@codesourcery.com