+2003-11-14 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/frv/frv.c (frv_in_small_data_p): Return false for unknown
+ section names.
+
2003-11-14 Jason Merrill <jason@redhat.com>
PR middle-end/12526
if (TREE_CODE (decl) != VAR_DECL || DECL_ARTIFICIAL (decl))
return false;
- size = int_size_in_bytes (TREE_TYPE (decl));
- if (size > 0 && (unsigned HOST_WIDE_INT) size <= g_switch_value)
- return true;
-
/* If we already know which section the decl should be in, see if
it's a small data section. */
section_name = DECL_SECTION_NAME (decl);
return true;
if (frv_string_begins_with (section_name, ".sbss"))
return true;
+ return false;
}
+ size = int_size_in_bytes (TREE_TYPE (decl));
+ if (size > 0 && (unsigned HOST_WIDE_INT) size <= g_switch_value)
+ return true;
+
return false;
}
\f