http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2010-11-27 16:33:36 UTC --- Although the printouts don't show it, the fails are with -fpic. The non pic versions don't fail. In the nested-6.c case, it appears the procedure label for the call to compare from qsort is built incorrectly. As a result, the test segfaults in libc.