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

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-31 16:08 -------
Reduced testcase:
            template <typename T, bool> struct aux_erase_on_delete;
            template <typename T> struct aux_erase_on_delete<T,true> {
                inline __attribute__((__always_inline__)) static void apply(){}
            };
int main()
  {
    aux_erase_on_delete<int,true>::apply();
  }

Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
      Known to fail|                            |3.4.0 3.4.2
      Known to work|                            |3.3.3 3.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-31 16:08:09
               date|                            |
            Summary|__always_inline__ throws    |[3.4 Regression]
                   |"unimplemented" in -O0 mode |__always_inline__ throws
                   |                            |"unimplemented" in -O0 mode
   Target Milestone|---                         |3.4.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17248



More information about the Gcc-bugs mailing list