]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
authorNick Clifton <nickc@redhat.com>
Thu, 26 Jun 2014 09:10:02 +0000 (09:10 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 26 Jun 2014 09:10:02 +0000 (09:10 +0000)
From-SVN: r212017

gcc/ChangeLog
gcc/config/frv/frv.c

index a9ae2605b902fa386e67f2a9648fcdbe1f07a9b0..9b975ce09a3313678e40116a18c5890d1722d242 100644 (file)
@@ -1,5 +1,7 @@
 2014-06-26  Nick Clifton  <nickc@redhat.com>
 
+       * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
+
        * doc/extend.texi (Function Attributes): Fix typo in description
        of RX vector attribute.
 
index 98a5336a9951596417335f83e4bd5f1a5a900f1d..d282ef2eb9b8e24e29269c1653410ec80c94f17b 100644 (file)
@@ -9488,7 +9488,6 @@ frv_in_small_data_p (const_tree decl)
   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"))