re PR c++/34715 (always_inline with templates and not declared as always_inline but...
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Fri, 22 Feb 2008 21:21:11 +0000 (21:21 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 22 Feb 2008 21:21:11 +0000 (13:21 -0800)
commit1eea53dfef7c181187c6d1c8556740ae9c407cc4
tree2e28932094f40b110cf5d60e656e39a948ee722c
parent5114c2a3200bce2c19d95a26b02c7b0b37c7a137
re PR c++/34715 (always_inline with templates and not declared as always_inline but definition has it)

2008-02-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/34715
        * decl.c (duplicate_decls): Merge DECL_DISREGARD_INLINE_LIMITS for
        template decls' function decl.

2008-02-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/34715
        * g++.dg/ext/always_inline-1.C: New test.
        * g++.dg/ext/always_inline-2.C: New test.
        * g++.dg/ext/always_inline-3.C: New test.
        * g++.dg/ext/always_inline-4.C: New test.

From-SVN: r132558
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/always_inline-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/always_inline-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/always_inline-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/always_inline-4.C [new file with mode: 0644]