https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87551

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot 
de

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Rainer, can you try this?

Index: varasm.c
===================================================================
--- varasm.c    (Revision 264887)
+++ varasm.c    (Arbeitskopie)
@@ -804,7 +804,7 @@
       && 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;

Reply via email to