This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48137] [4.6/4.7 Regression] "sorry, unimplemented: inlining failed in call to 'cb'" with -fnon-call-exceptions
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Mar 2011 16:32:41 +0000
- Subject: [Bug tree-optimization/48137] [4.6/4.7 Regression] "sorry, unimplemented: inlining failed in call to 'cb'" with -fnon-call-exceptions
- Auto-submitted: auto-generated
- References: <bug-48137-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48137
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2011-03-15 16:32:37 UTC ---
Oh, sorry. It was reduced from gcc.c-torture/compile/pr44043.c:
...
static inline __attribute__((always_inline)) int dst_output(struct sk_buff
*skb) {
return skb_dst(skb)->output(skb);
};
...
NF_HOOK(2, NF_INET_LOCAL_OUT, skb, ((void *)0), rt->u.dst.dev,
dst_output);
...
dst_output is always_inline there, but is used in this way.