This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/71969] Wrong setting of DECL_DISREGARD_INLINE_LIMITS in the C FE


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71969

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Jul 29 12:00:43 2016
New Revision: 238862

URL: https://gcc.gnu.org/viewcvs?rev=238862&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr71969-1.c
    trunk/gcc/testsuite/gcc.dg/pr71969-2.c
    trunk/gcc/testsuite/gcc.dg/pr71969-3.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/alias-11.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]