From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 729 invoked by alias); 8 Jun 2015 06:42:26 -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 677 invoked by uid 48); 8 Jun 2015 06:42:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66444] [5/6 Regression] Miscompilation of Xen since r211078 Date: Mon, 08 Jun 2015 06:42: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-Version: 5.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: vries at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: 2015-06/txt/msg00630.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66444 --- Comment #3 from Jakub Jelinek --- The testcase has been reduced from much larger testcase, the content of the fn1 function matters only for the IPA-RA analysis, so can be changed to something else, and the other functions supposedly can be defined in a dg-additional-sources file. Though, the hardcoding of the constant in the pointer arithmetics makes it more difficult (the testcase would have to simulate there is something mapped at that address (or mmap there something - the constant can be changed to something more suitable).