From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 536 invoked by alias); 9 Jan 2013 17:48:59 -0000 Received: (qmail 30513 invoked by uid 48); 9 Jan 2013 17:48:14 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55719] [4.8 Regression] ICE: Segmentation fault Date: Wed, 09 Jan 2013 17:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: ra X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00847.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55719 Aldy Hernandez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org --- Comment #4 from Aldy Hernandez 2013-01-09 17:48:10 UTC --- My brain's too small for such a big testcase. Further reduced testcase, and reduced arguments. // ./cc1 -quiet -O2 a.c -march=z10 -fPIC -I /tmp static int glob_a, glob_b; int foobar() { char buffer[100]; glob_a = 0; glob_b = 0; bar (buffer); __builtin_memcpy(buffer, "abc", 3); buffer[7] = (char)(glob_a >> 8); buffer[11] = (char)glob_b; buffer[13] = (char)glob_a; buffer[17] = (char)(glob_a >> 8); return foo(0, 0, 0, 0); }