From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27786 invoked by alias); 29 Jul 2014 15:10:23 -0000 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 Received: (qmail 13294 invoked by uid 48); 29 Jul 2014 14:33:45 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61949] New: [4.10 regression] SEGV compiling gcc.dg/pch/import-[12].c Date: Tue, 29 Jul 2014 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg01911.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61949 Bug ID: 61949 Summary: [4.10 regression] SEGV compiling gcc.dg/pch/import-[12].c Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Host: i386-pc-solaris2.10 Target: i386-pc-solaris2.10 Build: i386-pc-solaris2.10 Between 20140711 (r212451) and 20140718 (r15669), the gcc.dg/pch/import-[12].c tests started to FAIL on Solaris 10/x86 (only, Solaris 11 is unaffected): FAIL: gcc.dg/pch/import-1.c -O0 -g -I. -Dwith_PCH (internal compiler error) FAIL: gcc.dg/pch/import-1.c -O0 -g -I. -Dwith_PCH (test for excess errors) FAIL: gcc.dg/pch/import-1.c -O0 -g assembly comparison and all others, both 32 and 64-bit. cc1 SEGVs here: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0x08c34226 in md5_read_ctx (resbuf=0x8047278, ctx=0x8047140) at /vol/gcc/src/hg/trunk/local/libiberty/md5.c:91 91 memcpy (resbuf, buffer, 16); 1: x/i $pc => 0x8c34226 : movaps -0x28(%ebp),%xmm0 -0x28(%ebp) isn't 16-byte aligned as required. This only happens with the stage3 cc1, stages 1 and 2 are unaffected. A reghunt revealed that this is caused by this patch: 2014-07-11 Richard Biener PR middle-end/61473 * builtins.c (fold_builtin_memory_op): Inline memory moves that can be implemented with a single load followed by a single store. (c_strlen): Only warn when only_value is not 2. Rainer