gcc/
* function.c (allocate_struct_function): Only allocate a unique
funcdef_no if the decl is nonzero.
From-SVN: r137195
+2008-06-27 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * function.c (allocate_struct_function): Only allocate a unique
+ funcdef_no if the decl is nonzero.
+
2008-06-27 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips-protos.h (mips_split_const_insns): Declare.
cfun = GGC_CNEW (struct function);
- current_function_funcdef_no = get_next_funcdef_no ();
-
cfun->function_frequency = FUNCTION_FREQUENCY_NORMAL;
init_eh_for_function ();
{
DECL_STRUCT_FUNCTION (fndecl) = cfun;
cfun->decl = fndecl;
+ current_function_funcdef_no = get_next_funcdef_no ();
result = DECL_RESULT (fndecl);
if (!abstract_p && aggregate_value_p (result, fndecl))