------- Comment #3 from hubicka at gcc dot gnu dot org 2005-12-19 23:11 ------- testing patch: Index: config/i386/i386.c =================================================================== *** config/i386/i386.c (revision 108753) --- config/i386/i386.c (working copy) *************** ix86_function_regparm (tree type, tree d *** 2179,2184 **** --- 2179,2186 ----
/* Use register calling convention for local functions when possible. */ if (!TARGET_64BIT && !user_convention && decl + /* Libcalls pass IDENTIFIER_NODE as an decl. */ + && TREE_CODE (decl) == FUNCTION_DECL && flag_unit_at_a_time && !profile_flag) { struct cgraph_local_info *i = cgraph_local_info (decl); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25042