------- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-08 23:48 ------- Note the back-end builtin arrays don't have the same name so it is not as simple as using that array. I think we need to add either a target hook or have a standard name for them.
Also the assert there for END_BUILTINS is also incorrect for BUILT_IN_MD as there could be more target builtins than there are normal builtins. Which means the use of enum built_in_function is incorrect for function_code and could break when we compile with the C++ front-end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41638