]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/optimize.c
re PR c++/41536 (always_inline does not work always with constructors)
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Fri, 6 Nov 2009 19:10:07 +0000 (19:10 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 6 Nov 2009 19:10:07 +0000 (11:10 -0800)
commit87e928642892922f18f1e652f41d8fc9169ae757
treeb288755ba9280ce0ec7b701f671fe7611718d52a
parent2e3135726b941c5d1cd87d1905678a7533ed7d4d
re PR c++/41536 (always_inline does not work always with constructors)

2009-11-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR c++/41536
        * optimize.c (maybe_clone_body): Copy DECL_ATTRIBUTES and
        DECL_DISREGARD_INLINE_LIMITS also.

2009-11-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR c++/41536
        * g++.dg/ext/always_inline-5.C: New test.

From-SVN: r153974
gcc/cp/ChangeLog
gcc/cp/optimize.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/always_inline-5.C [new file with mode: 0644]