------- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-27 19:44 ------- This is the correct fix as in darwin.c we have: /* Play games to avoid marking the function as needing pic if we are being called as part of the cost-estimation process. */ if (current_ir_type () != IR_GIMPLE) crtl->uses_pic_offset_table = 1;
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39929