re PR middle-end/38474 (compile time explosion in dataflow_set_preserve_mem_locs at -O3)
2012-07-02 Martin Jambor <mjambor@suse.cz> PR middle-end/38474 * ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a dynamic type change check. From-SVN: r189163
This commit is contained in:
parent
b60e9a88b0
commit
4e03d8493b
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-07-02 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR middle-end/38474
|
||||
* ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a
|
||||
dynamic type change check.
|
||||
|
||||
2012-07-02 Richard Guenther <rguenther@suse.de>
|
||||
Michael Matz <matz@suse.de>
|
||||
Tobias Grosser <tobias@grosser.es>
|
||||
|
|
|
@ -912,8 +912,8 @@ compute_known_type_jump_func (tree op, struct ipa_jump_func *jfunc,
|
|||
|| is_global_var (base))
|
||||
return;
|
||||
|
||||
if (detect_type_change (op, base, call, jfunc, offset)
|
||||
|| !TYPE_BINFO (TREE_TYPE (base)))
|
||||
if (!TYPE_BINFO (TREE_TYPE (base))
|
||||
|| detect_type_change (op, base, call, jfunc, offset))
|
||||
return;
|
||||
|
||||
ipa_set_jf_known_type (jfunc, offset, TREE_TYPE (base), TREE_TYPE (op));
|
||||
|
|
Loading…
Add table
Reference in a new issue