re PR rtl-optimization/36017 (Miscompilation of tail call sqrt)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Apr 2008 22:33:48 +0000 (00:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Apr 2008 22:33:48 +0000 (00:33 +0200)
commit63cb92c1ee60811725c0f0b2512e7edcded5c7d4
tree6c47921f4947f086070ce6f76eeb80c06959ae83
parentd7b5fa315012328dbd9b2fd6cb0e1c82942752c3
re PR rtl-optimization/36017 (Miscompilation of tail call sqrt)

PR rtl-optimization/36017
* builtins.c (expand_errno_check): Clear CALL_EXPR_TAILCALL before
expanding the library call.

* gcc.dg/pr36017.c: New test.

From-SVN: r134569
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr36017.c [new file with mode: 0644]