re PR c/71969 (Wrong setting of DECL_DISREGARD_INLINE_LIMITS in the C FE)
authorJakub Jelinek <jakub@redhat.com>
Fri, 29 Jul 2016 12:00:43 +0000 (14:00 +0200)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 29 Jul 2016 12:00:43 +0000 (12:00 +0000)
commit673a107a4003834ec3d6e8f413bda3c13b6062e7
tree403f2bdea676b39e3c28c39a2297523e8092bf21
parenta5b5c8b62494c0089bfc60ad5dfeae4e7f4c6690
re PR c/71969 (Wrong setting of DECL_DISREGARD_INLINE_LIMITS in the C FE)

PR c/71969
* c-decl.c (finish_function): Only set DECL_DISREGARD_INLINE_LIMITS
on GNU extern inline functions.

* gcc.dg/alias-11.c (add_cfi, new_cfi): Change __inline__ to
static __inline__.
* gcc.dg/pr71969-1.c: New test.
* gcc.dg/pr71969-2.c: New test.
* gcc.dg/pr71969-3.c: New test.

From-SVN: r238862
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/alias-11.c
gcc/testsuite/gcc.dg/pr71969-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr71969-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr71969-3.c [new file with mode: 0644]