http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52555

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-15 
14:21:54 UTC ---
Another option is to switch this_target_optabs not just for SWITCHABLE_TARGETs,
but also when switching between cfun with different optimize/target attributes
(at the time when the optimization/target node is created for a function it
would try to init_all_optabs into a newly allocated array, and if that differed
from the default, it would stick it into the node and switch at set_cfun time).

I actually wonder how could target attribute work the way it is implemented
right now so far.

Reply via email to