From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15380 invoked by alias); 22 Apr 2013 16:39:44 -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 15336 invoked by uid 48); 22 Apr 2013 16:39:40 -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: Mon, 22 Apr 2013 16:39: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: 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/msg01900.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003 --- Comment #6 from dank at kegel dot com 2013-04-22 16:39:37 UTC --- You'd think... but I didn't find any obvious memcpy replacement. I spent some time bisecting the wine source yesterday. There appear to be at least three or four affected sites. I bisected one of the affected files with #pragma GCC optimize("-O2") ... #pragma GCC optimize("-O1") and the offending memcpy() there seems to be http://source.winehq.org/source/dlls/kernel32/process.c#L1316 There are plenty of clues to chase down, hope I have time to spend on it sometime soon.