From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1126 invoked by alias); 21 Apr 2013 14:22:46 -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 1089 invoked by uid 48); 21 Apr 2013 14:22:43 -0000 From: "dank at kegel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/57003] gcc-4.8.0 breaks -O2 optimization with Wine(64) - links/info/bisect of commits included Date: Sun, 21 Apr 2013 14:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dank at kegel dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 X-SW-Source: 2013-04/txt/msg01841.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 dank at kegel dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank at kegel dot com --- Comment #4 from dank at kegel dot com 2013-04-21 14:22:41 UTC --- Austin English said "I did...that's what led to the original commit showing the segfault. IOW: $ git reset --hard c8010b803d34fa7e096747067e33c650b36ecc06 # build gcc/wine - gcc fails to build wine, internal compiler error $ git show d73df2920c77116fd88e03cd95dd352f16511a3f | patch -p1 # build gcc/wine - wine segfaults on launch" So bisecting seems complete. Also, Kirill Smirnov reports that building wine using just -O2 runs into this bug for him, but building wine with "-O2 -fno-builtin-memcpy" doesn't. Next step may be to bisect wine's source code to see which file or files misbehave when built with -O2 but without -fno-builtin-memcpy.