c-decl.c (c_expand_deferred_function): Only call c_expand_body if fndecl is still...
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Nov 2001 11:09:01 +0000 (12:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Nov 2001 11:09:01 +0000 (12:09 +0100)
commit83dea45d59b06dc8d99c78e471f97957c54105eb
treed4dbd995c69a21a68564a08a32a7170a31f8784a
parenta558c691e1e5042060a962899d8a2d0881010653
c-decl.c (c_expand_deferred_function): Only call c_expand_body if fndecl is still DECL_INLINE and has DECL_RESULT.

* c-decl.c (c_expand_deferred_function): Only call c_expand_body
if fndecl is still DECL_INLINE and has DECL_RESULT.

* gcc.c-torture/compile/20011119-1.c: New test.
* gcc.c-torture/compile/20011119-2.c: New test.

From-SVN: r47240
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20011119-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/20011119-2.c [new file with mode: 0644]