From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30869 invoked by alias); 14 Jun 2012 08:41:14 -0000 Received: (qmail 30562 invoked by uid 22791); 14 Jun 2012 08:41:11 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jun 2012 08:40:59 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53663] 4.7 inconsistent inline handling of bool within union Date: Thu, 14 Jun 2012 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-06/txt/msg00864.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663 Richard Guenther changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2012-06-14 Ever Confirmed|0 |1 --- Comment #2 from Richard Guenther 2012-06-14 08:40:43 UTC --- The testcase does not compile for me, it has errors: > /space/rguenther/install/gcc-4.7.0/bin/gcc t.c -Wall -Wextra -o t -O1 t.c:4:11: error: expected ':', ',', ';', '}' or '__attribute__' before '=' token t.c: In function 'main': t.c:15:11: error: invalid initializer t.c:16:11: error: invalid initializer t.c:17:11: error: invalid initializer t.c:19:6: error: 'union u' has no member named 'i' t.c:22:6: error: 'union u' has no member named 'b' t.c:24:11: error: 'union u' has no member named 'b' t.c:26:14: error: 'union u' has no member named 'b' t.c:27:1: warning: control reaches end of non-void function [-Wreturn-type]