This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34715] [4.3/4.4 Regression] always_inline with templates and not declared as always_inline but definition has it
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2008 21:21:57 -0000
- Subject: [Bug c++/34715] [4.3/4.4 Regression] always_inline with templates and not declared as always_inline but definition has it
- References: <bug-34715-15505@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from pinskia at gcc dot gnu dot org 2008-02-22 21:21 -------
Subject: Bug 34715
Author: pinskia
Date: Fri Feb 22 21:21:11 2008
New Revision: 132558
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132558
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/ext/always_inline-1.C
trunk/gcc/testsuite/g++.dg/ext/always_inline-2.C
trunk/gcc/testsuite/g++.dg/ext/always_inline-3.C
trunk/gcc/testsuite/g++.dg/ext/always_inline-4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34715