[Bug c++/17248] [3.4 Regression] __always_inline__ throws "unimplemented" in -O0 mode

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 31 16:32:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list