re PR target/39240 (Invalid sibcall optimization with promoted return types and diffe...
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Feb 2009 10:13:17 +0000 (11:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Feb 2009 10:13:17 +0000 (11:13 +0100)
commitc69cd1f5cd4256bea42452375dbf67c25bd6e4ef
tree9126c53d1ae5105c5fed3f5605c764b6e48fc0bc
parentbd967b22bc9acbf5c77a1a75fc6df199637f55e3
re PR target/39240 (Invalid sibcall optimization with promoted return types and differing signedness)

PR target/39240
* calls.c (expand_call): Clear try_tail_call if caller and callee
disagree in promotion of function return value.

* gcc.c-torture/execute/pr39240.c: New test.

From-SVN: r144316
gcc/ChangeLog
gcc/calls.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr39240.c [new file with mode: 0644]