public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/17248] [3.4 Regression] __always_inline__ throws "unimplemented" in -O0 mode
Date: Tue, 31 Aug 2004 16:18:00 -0000	[thread overview]
Message-ID: <20040831161816.15469.qmail@sourceware.org> (raw)
In-Reply-To: <20040831121739.17248.wyderski@ii.uni.wroc.pl>


------- Additional Comments From bangerth at dealii dot org  2004-08-31 16:18 -------
This is even a little simpler: 
---------------- 
template <typename T> 
inline __attribute__((__always_inline__)) void apply(T){} 
 
int main() { 
  apply(1); 
} 
---------------- 
 
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc 
x.cc: In function `int main()': 
x.cc:2: sorry, unimplemented: inlining failed in call to 'void apply(T) [with 
T = int]': function body not available 
x.cc:5: sorry, unimplemented: called from here 
 
W. 

-- 


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


  parent reply	other threads:[~2004-08-31 16:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 12:17 [Bug c++/17248] New: " wyderski at ii dot uni dot wroc dot pl
2004-08-31 16:08 ` [Bug c++/17248] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-08-31 16:18 ` bangerth at dealii dot org [this message]
2004-08-31 16:32 ` reichelt at gcc dot gnu dot org
2004-08-31 17:03 ` reichelt at gcc dot gnu dot org
2004-10-31  2:43 ` mmitchel at gcc dot gnu dot org
2004-12-14  8:55 ` ebotcazou at gcc dot gnu dot org
2005-05-19 17:41 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-17248-7768@http.gcc.gnu.org/bugzilla/>
2005-10-07  3:29 ` gdr at gcc dot gnu dot org
2006-02-28  9:41 ` gdr at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040831161816.15469.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).