From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4150 invoked by alias); 15 Mar 2008 11:52:39 -0000 Received: (qmail 4057 invoked by uid 48); 15 Mar 2008 11:51:55 -0000 Date: Sat, 15 Mar 2008 11:52:00 -0000 Message-ID: <20080315115155.4056.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/35585] [4.2 Regression] Miscompiled inline assembly In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth 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: 2008-03/txt/msg01283.txt.bz2 ------- Comment #7 from rguenth at gcc dot gnu dot org 2008-03-15 11:51 ------- points-to works well and ends up with __b_5 pointing to anything, so we fall back to use SMTs which in this case is (for const int& __b): SMT.761, UID 18425, const int, is addressable, is global, call clobbered, may aliases: { r r r r } there you go. It should also (at least) alias D.12083, UID 12083, int, is aliased, is addressable, call clobbered, default def: D.12083_242 SMT.763, UID 18427, struct SceneProps, is addressable, is global, call clobbered, default def: SMT.763_469, may aliases: { SFT.738 SFT.739 SFT.740 r r r r D.12089 D.12083 D.12084 D.12088 } so it is flow-insensitive alias analysis that gets it wrong. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-03-15 11:51:54 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35585