This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17248] [3.4 Regression] __always_inline__ throws "unimplemented" in -O0 mode
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2004 16:32:22 -0000
- Subject: [Bug c++/17248] [3.4 Regression] __always_inline__ throws "unimplemented" in -O0 mode
- References: <20040831121739.17248.wyderski@ii.uni.wroc.pl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-31 16:32 -------
You don't even need templates:
===================================================
__attribute__((__always_inline__)) void foo() {}
void bar()
{
foo();
}
===================================================
Note, that this compiles fine with the C frontend.
The bug is target independent.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
GCC build triplet|DJGPP, GCC 3.4.1 |
GCC host triplet|IA-32 PC, Windows XP, GCC |
|3.4.1 |
GCC target triplet|IA-32 PC, Windows XP, GCC |
|3.4.1 |
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17248