gimple-pretty-print.c (dump_gimple_call): Dereference fn only if non-NULL.
* gimple-pretty-print.c (dump_gimple_call): Dereference fn only if non-NULL. From-SVN: r181920
This commit is contained in:
parent
0add5a9536
commit
cbe9d63036
@ -1,3 +1,8 @@
|
||||
2011-12-02 Sameera Deshpande <sameera.deshpande@arm.com>
|
||||
|
||||
* gimple-pretty-print.c (dump_gimple_call): Dereference fn only if
|
||||
non-NULL.
|
||||
|
||||
2011-12-02 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR tree-optimization/50622
|
||||
|
@ -698,6 +698,9 @@ dump_gimple_call (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
if (gimple_call_tail_p (gs))
|
||||
pp_string (buffer, " [tail call]");
|
||||
|
||||
if (fn == NULL)
|
||||
return;
|
||||
|
||||
/* Dump the arguments of _ITM_beginTransaction sanely. */
|
||||
if (TREE_CODE (fn) == ADDR_EXPR)
|
||||
fn = TREE_OPERAND (fn, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user