http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49309
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-14 20:55:42 UTC --- Author: pinskia Date: Thu Jul 14 20:55:38 2011 New Revision: 176282 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176282 Log: 2011-07-14 Andrew Pinski <pins...@gmail.com> PR tree-opt/49309 * tree-mudflap.c (mf_xform_derefs_1 <case MEM_REF>): Use fold_build2_loc instead of build2. Use the correct type for the new tree. 2011-07-14 Andrew Pinski <pins...@gmail.com> PR tree-opt/49309 * g++.dg/torture/pr49309.C: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr49309.C - copied unchanged from r176281, trunk/gcc/testsuite/g++.dg/torture/pr49309.C Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-mudflap.c