------- Comment #5 from hpa at zytor dot com 2009-02-19 22:21 ------- Let me respectfully disagree, and explain why.
*You* can just create a builtin, but for us (the Linux kernel community) we stare a multi-year pipeline in the face whenever we have to request a gcc change. This feature would allow us to do arbitrary trapping constructs via the existing generic asm feature, without having to do wait for this pipeline to flush every time we want to do something new. In theory, ALL asm() constructs could be turned into builtins, and on some level, that would be the right thing to do. However, I think you can see why this is completely unrealistic, at least with anything less than us forking gcc and have an ad hoc compiler for the kernel. Yes, this feature can be abused. So can *any* use of asm(). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39252