This is the mail archive of the gcc-patches@gcc.gnu.org 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]

gcc.c-torture/execute/20030221-1.c regressed with "fine-tuning for can_store_by_pieces"


On Sat, 25 Aug 2007, Jakub Jelinek wrote:
> On Fri, Aug 24, 2007 at 08:09:22PM -0400, Sandra Loosemore wrote:
> *************** store_expr (tree exp, rtx target, int ca
> *** 4507,4513 ****
>                                   str_copy_len, builtin_strncpy_read_str,
>                                   (void *) TREE_STRING_POINTER (exp),
>                                   MEM_ALIGN (target),
> !                                 exp_len > str_copy_len ? 1 : 0);
>         if (exp_len > str_copy_len)
>         clear_storage (dest_mem, GEN_INT (exp_len - str_copy_len),
>                        BLOCK_OP_NORMAL);
> --- 4520,4527 ----
>                                   str_copy_len, builtin_strncpy_read_str,
>                                   (void *) TREE_STRING_POINTER (exp),
>                                   MEM_ALIGN (target),
> !                                 exp_len > str_copy_len ? 1 : 0,
> !                                 false);
>         if (exp_len > str_copy_len)
>         clear_storage (dest_mem, GEN_INT (exp_len - str_copy_len),
>                        BLOCK_OP_NORMAL);
>
> This is wrong.
> ...

Likely, that's also the reason for this regression with r127790
(from r127789) on cris-axis-elf:

Running /home/hp/comb2/combined/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
FAIL: gcc.c-torture/execute/20030221-1.c execution,  -O0
FAIL: gcc.c-torture/execute/20030221-1.c execution,  -O1
FAIL: gcc.c-torture/execute/20030221-1.c execution,  -O2
FAIL: gcc.c-torture/execute/20030221-1.c execution,  -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/20030221-1.c execution,  -O3 -g
FAIL: gcc.c-torture/execute/20030221-1.c execution,  -Os

(Just a "program stopped with signal 6." in gcc.log)

brgds, H-P


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