Hi Guys,

  I am checking in the patch below to remove a redundant assert, now
  that DECL_SECTION_NAME returns a string rather than a tree.

Cheers
  Nick

gcc/ChangeLog
2014-06-26  Nick Clifton  <ni...@redhat.com>

        * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.

Index: config/frv/frv.c
===================================================================
--- config/frv/frv.c    (revision 212016)
+++ config/frv/frv.c    (working copy)
@@ -9488,7 +9488,6 @@
   section_name = DECL_SECTION_NAME (decl);
   if (section_name)
     {
-      gcc_assert (TREE_CODE (section_name) == STRING_CST);
       if (frv_string_begins_with (section_name, ".sdata"))
        return true;
       if (frv_string_begins_with (section_name, ".sbss"))
  

Reply via email to