This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48137] [4.6/4.7 Regression] "sorry, unimplemented: inlining failed in call to 'cb'" with -fnon-call-exceptions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]