------- Comment #4 from pinskia at gcc dot gnu dot org 2005-12-24 07:54 ------- ICC does not even do this optimization.
I should note that Fortran code has something like this, except you don't need to know about the function that is being called, just the variable and if it has TARGET on it or not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23134