------- Comment #8 from rguenth at gcc dot gnu dot org 2009-06-25 09:44 ------- Subject: Bug 32041
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 <rguent...@suse.de> Backport from mainline 2009-01-12 Jakub Jelinek <ja...@redhat.com> 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 <andrew_pin...@playstation.sony.com> Kaushal Kantawala <kaushal_kantaw...@playstation.sony.com> 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=32041