This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33273] FAIL: 27_io/basic_istream/ignore/char/ (test for excess errors)

------- Comment #3 from danglin at gcc dot gnu dot org  2007-09-01 15:25 -------
Sorry Sandra, I see looking at the backtrace in more detail that the ICE
arises from the new code added here:

2007-08-24  Jakub Jelinek  <>

        * expr.c (store_expr): Optimize initialization of an array
        with STRING_CST.

It looks like the problem is here:

+      dest_mem = target;
+      dest_mem = store_by_pieces (dest_mem,
+                                 str_copy_len, builtin_strncpy_read_str,
+                                 (void *) TREE_STRING_POINTER (exp),
+                                 MEM_ALIGN (target),
+                                 exp_len > str_copy_len ? 1 : 0);

The memory pointer returned by store_by_pieces is QImode.


danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
                 CC|                            |jakub at redhat dot com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]