This is the mail archive of the gcc-patches@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]

[PTR-PLUS] Fix libmudflap C++ ICEs


Hi,
  The problem here is that tree_mem_ref_addr was creating a PLUS_EXPR for 
a pointer type which is invalid now.  This patch changes tree_mem_ref_addr 
to create a POINTER_PLUS_EXPR instead.

Committed after a bootstrap/test on i686-linux-gnu with no regressions.

Thanks,
Andrew Pinski

ChangeLog:

        * tree-ssa-address.c (tree_mem_ref_addr): When adding
        the offset to the base, use POINTER_PLUS_EXPR.

Attachment: fixmudflap.diff.txt
Description: Text document


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