From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5684 invoked by alias); 2 Apr 2010 12:51:10 -0000 Received: (qmail 5438 invoked by uid 48); 2 Apr 2010 12:50:33 -0000 Date: Fri, 02 Apr 2010 12:51:00 -0000 Message-ID: <20100402125033.5436.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/43629] [4.3/4.4/4.5 Regression] Struct to register optimization fails 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: 2010-04/txt/msg00208.txt.bz2 ------- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-02 12:50 ------- Really a CCP bug. int flag; extern void abort (void); int main() { int x; if (flag) x = -1; else x &= 0xff; if (x & ~0xff) abort (); return 0; } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.3/4.4 Regression] Struct |[4.3/4.4/4.5 Regression] |to register optimization |Struct to register |fails |optimization fails http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43629