* varasm.c (mergeable_string_section): Don't try to move zero-length
strings to the merge section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265025
138bc75d-0d04-0410-961f-
82ee72b054a4
+2018-10-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * varasm.c (mergeable_string_section): Don't try to move zero-length
+ strings to the merge section.
+
2018-10-10 Uros Bizjak <ubizjak@gmail.com>
PR target/87573
&& TREE_CODE (decl) == STRING_CST
&& TREE_CODE (TREE_TYPE (decl)) == ARRAY_TYPE
&& align <= 256
- && (len = int_size_in_bytes (TREE_TYPE (decl))) >= 0
+ && (len = int_size_in_bytes (TREE_TYPE (decl))) > 0
&& TREE_STRING_LENGTH (decl) == len)
{
scalar_int_mode mode;