http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49309
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-07-14 20:23:39 UTC --- Author: pinskia Date: Thu Jul 14 20:23:36 2011 New Revision: 176281 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176281 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: trunk/gcc/testsuite/g++.dg/torture/pr49309.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-mudflap.c