From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35823 invoked by alias); 8 Jun 2015 08:34:01 -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 35769 invoked by uid 48); 8 Jun 2015 08:33:57 -0000 From: "vries 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 08:34: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: vries 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/msg00635.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66444 --- Comment #5 from vries at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > 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). I managed to write the testcase in such a way that it doesn't dereference the hardcoded pointer.