re PR debug/5163 (Internal compiler error in add_abstract_origin_attribute, at dwarf2...
authorRichard Henderson <rth@redhat.com>
Mon, 24 Dec 2001 08:45:59 +0000 (00:45 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 24 Dec 2001 08:45:59 +0000 (00:45 -0800)
commitb79d521356bff7a7db09804fb97c666013760665
tree0760756073317f0da8196fdf280c98f1a6b41166
parent6b98090114cf344b8859c0f07053abcad84e6761
re PR debug/5163 (Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9296)

        PR c/5163:
        * c-decl.c (duplicate_decls): As needed, set DECL_INLINE when
        we have a function body associated.  Minor cleanups.
        (grokdeclarator): Do not set DECL_INLINE without a function body.

        * gcc.dg/20011223-1.c: New.
        * gcc.dg/inline-1.c: New.

From-SVN: r48302
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20011223-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/inline-1.c [new file with mode: 0644]