This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: FRV: Remove redundant assert
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Jun 2014 10:09:26 +0100
- Subject: Commit: FRV: Remove redundant assert
- Authentication-results: sourceware.org; auth=none
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.
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"))