re PR middle-end/64922 (runtime error: member call on misaligned address for type...
authorJan Hubicka <hubicka@ucw.cz>
Wed, 4 Feb 2015 20:28:49 +0000 (21:28 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 4 Feb 2015 20:28:49 +0000 (20:28 +0000)
commit0b986c6ac777aa4ecbfa29549148ef8ab95595e1
tree47e63aafd9dc2bb56b66e8efb608e43a446ccad6
parentd303ff9764d326120bfd05eb75e82e66fd12ade3
re PR middle-end/64922 (runtime error: member call on misaligned address for type 'struct _Rep')

PR middle-end/64922
* gimple.c: Include gimple-ssa.h.
(maybe_remove_unused_call_args): New function.
* gimple.h (maybe_remove_unused_call_args): Declare.
* cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Use it.
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
* gimple-fold.c (gimple_fold_call): Likewise.

From-SVN: r220417
gcc/ChangeLog
gcc/cgraph.c
gcc/gimple-fold.c
gcc/gimple.c
gcc/gimple.h
gcc/tree-ssa-pre.c