From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11035 invoked by alias); 25 Jun 2009 09:44:43 -0000 Received: (qmail 10974 invoked by alias); 25 Jun 2009 09:44:28 -0000 Date: Thu, 25 Jun 2009 09:44:00 -0000 Message-ID: <20090625094428.10973.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/36891] [4.3 Regression] ICE with vector division and -ffast-math and LIM 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: 2009-06/txt/msg01832.txt.bz2 ------- Comment #12 from rguenth at gcc dot gnu dot org 2009-06-25 09:44 ------- Subject: Bug 36891 Author: rguenth Date: Thu Jun 25 09:44:12 2009 New Revision: 148939 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148939 Log: 2009-06-25 Richard Guenther Backport from mainline 2009-01-12 Jakub Jelinek PR c/32041 * c-parser.c (c_parser_postfix_expression): Allow `->' in offsetof member-designator, handle it as `[0].'. cp/ * parser.c (cp_parser_builtin_offsetof): Allow `->' in offsetof member-designator, handle it as `[0].'. * gcc.dg/pr32041.c: New test. * g++.dg/parse/offsetof9.C: New test. 2008-09-28 Andrew Pinski Kaushal Kantawala PR tree-optimization/36891 * tree-ssa-loop-im.c (rewrite_reciprocal): Set DECL_GIMPLE_REG_P on the newly created variable. Create a VECTOR_CST of all 1s for vector types. * gcc.dg/torture/pr36891.c: New testcase. Added: branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/offsetof9.C branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr32041.c branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/torture/pr36891.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/c-parser.c branches/gcc-4_3-branch/gcc/cp/ChangeLog branches/gcc-4_3-branch/gcc/cp/parser.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog branches/gcc-4_3-branch/gcc/tree-ssa-loop-im.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36891