From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17747 invoked by alias); 9 Jul 2010 10:41:53 -0000 Received: (qmail 17670 invoked by uid 48); 9 Jul 2010 10:41:34 -0000 Date: Fri, 09 Jul 2010 10:41:00 -0000 Subject: [Bug middle-end/44885] New: [4.6 regression] miscompilation of gnat.dg/aliasing3.adb after mem-ref2 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ebotcazou at gcc dot gnu dot org" 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 X-SW-Source: 2010-07/txt/msg00982.txt.bz2 There is a regression in gnat.dg visible on various 32-bit platforms: http://gcc.gnu.org/ml/gcc-testresults/2010-07/msg00744.html http://gcc.gnu.org/ml/gcc-testresults/2010-07/msg00743.html http://gcc.gnu.org/ml/gcc-testresults/2010-07/msg00709.html The problem is that the new code seems to overlook TYPE_NONALIASED_COMPONENT when building the MEM_REF and thus gives the wrong alias set to the RTL mem, causing aliasing memory references to be swapped by the scheduler. -- Summary: [4.6 regression] miscompilation of gnat.dg/aliasing3.adb after mem-ref2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ebotcazou at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44885