[Bug c/48623] gcc 4.6.0 generates no code for a function with __attribute__((always_inline))

richard at nod dot at gcc-bugzilla@gcc.gnu.org
Fri Apr 15 22:28:00 GMT 2011


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

--- Comment #11 from Richard Weinberger <richard at nod dot at> 2011-04-15 22:27:19 UTC ---
(In reply to comment #10)
> You have to make use of 'p' of course.  Your return value still is based
> on &ti.

Damn, you're right!

Now gcc produces a functional UML kernel. :-)

I fear current_thread_info() is not the only function in the kernel
which returns a local stack address.

Thanks,
//richard



More information about the Gcc-bugs mailing list