diff mbox

Commit: FRV: Remove redundant assert

Message ID 871tucqbp5.fsf@redhat.com
State New
Headers show

Commit Message

Nick Clifton June 26, 2014, 9:09 a.m. UTC
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  <nickc@redhat.com>

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

Patch

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"))