re PR libmudflap/53952 (FAIL: libmudflap.c++/pass55-frag.cxx ( -O[123]) execution...
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 15 Dec 2012 10:25:15 +0000 (10:25 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 15 Dec 2012 10:25:15 +0000 (10:25 +0000)
commite88ebf869e234bca2535b43fd80ab744e65a3560
tree020f9b5c8e9194f2a72826f846f18ab34c661b39
parent5a6fe81088b9a7e5242897892239b745d9273cf9
re PR libmudflap/53952 (FAIL: libmudflap.c++/pass55-frag.cxx ( -O[123]) execution test)

PR libmudflap/53952
* expr.c (mem_ref_refers_to_non_mem_p): Factor out
implementation into...
(addr_expr_of_non_mem_decl_p_1): ... this new function.
(addr_expr_of_non_mem_decl_p): New.
* tree.h (addr_expr_of_non_mem_decl_p): Declare.
* tree-mudflap.c (mf_xform_derefs_1): Don't change MEM_REFs
and TARGET_MEM_REFs that have an ADDR_EXPR of a non-mem DECL
as base operand.

From-SVN: r194519
gcc/ChangeLog
gcc/expr.c
gcc/tree-mudflap.c
gcc/tree.h