re PR target/65753 ([i386] Incorrect tail call inhibition logic on i386 (32-bit))
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 11 May 2015 16:10:24 +0000 (19:10 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 11 May 2015 16:10:24 +0000 (19:10 +0300)
commitf1ed9790a36ceff598fc2ad873a0bb7778c9fa6e
treed7e75304c1814d63228cee7fbd6020e839dbb714
parentb91fd3c76ac503f11d94ff00fd9399e949735148
re PR target/65753 ([i386] Incorrect tail call inhibition logic on i386 (32-bit))

PR target/65753
* config/i386/i386.c (ix86_function_ok_for_sibcall): Allow PIC sibcalls
via function pointers.

testsuite:
* gcc.target/i386/pr65753.c: New test.

From-SVN: r223005
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr65753.c [new file with mode: 0644]