------- Comment #5 from jakub at gcc dot gnu dot org 2009-06-24 19:26 ------- What do you do if the function has arguments, because ifunc shouldn't have arguments? While C++ has unnamed arguments and you could perhaps enforce them, C does not. How do you handle option 3 with: __attribute__((ifunc)) int foo (int a, int b) { if (a) return foo_1; if (b) return foo_2; return foo_3; } ?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40528