From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6470 invoked by alias); 25 Aug 2007 11:09:59 -0000 Received: (qmail 6314 invoked by uid 22791); 25 Aug 2007 11:09:57 -0000 X-Spam-Check-By: sourceware.org Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 25 Aug 2007 11:09:49 +0000 Received: (qmail 77472 invoked by uid 20157); 25 Aug 2007 11:09:47 -0000 Date: Sat, 25 Aug 2007 14:30:00 -0000 From: Hans-Peter Nilsson To: Sandra Loosemore cc: Jakub Jelinek , GCC Patches , Nigel Stephens Subject: gcc.c-torture/execute/20030221-1.c regressed with "fine-tuning for can_store_by_pieces" In-Reply-To: <20070825065954.GJ2063@devserv.devel.redhat.com> Message-ID: References: <87y7g6r50c.fsf@firetop.home> <46CA222D.2050107@codesourcery.com> <87ps1h5mda.fsf@firetop.home> <46CAEBCE.3050807@codesourcery.com> <87r6lx3r9p.fsf@firetop.home> <46CB4B99.5010501@codesourcery.com> <87zm0k39gj.fsf@firetop.home> <46CD9828.3040305@codesourcery.com> <87hcmqe2sp.fsf@firetop.home> <46CF7332.3000706@codesourcery.com> <20070825065954.GJ2063@devserv.devel.redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-08/txt/msg01705.txt.bz2 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