From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6775 invoked by alias); 12 Nov 2012 16:19:17 -0000 Received: (qmail 6511 invoked by uid 48); 12 Nov 2012 16:18:53 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/55281] [4.8 Regression] ICE in build_int_cst_wide, at tree.c:1217 (with Ofast, ok with O3) Date: Mon, 12 Nov 2012 16:19: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: glisse at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: 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-11/txt/msg01034.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55281 --- Comment #5 from Marc Glisse 2012-11-12 16:18:52 UTC --- (In reply to comment #1) [ Using ?: with a vector condition ] > I was surprised only C++ handles this and not C BTW. Sorry, I didn't have time to do a C version (harder than C++ because of things like c_wrap_maybe_const that I don't understand yet). Even the C++ version isn't documented yet (I should do it), because it has a number of bugs like this one. By the way, I assume you are not calling pedantic_omit_one_operand_loc because the vector operand is unlikely to have a side effect?