This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49309] [4.6 Regression] ICE with -fmudflap: verify_stmts failed: type mismatch in pointer plus expression


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  <pinskia@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  <pinskia@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]