gcc.dg/sibcall-6.c fails on x86-darwin since PIC is enabled by default but on darwin PIC is handled differently so it should be able to sibcall to the indirect function.
-- Summary: gcc.dg/sibcall-6.c fails on x86-darwin with default options Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: i686-darwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26552