mirror of git://gcc.gnu.org/git/gcc.git
tree-inline.c (remap_ssa_name): Check for POINTER_TYPE_P before accessing SSA_NAME_PTR_INFO.
gcc/ChangeLog: 2016-08-04 Kugan Vivekanandarajah <kuganv@linaro.org> * tree-inline.c (remap_ssa_name): Check for POINTER_TYPE_P before accessing SSA_NAME_PTR_INFO. From-SVN: r239118
This commit is contained in:
parent
90b1c81d64
commit
231b116970
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-08-04 Kugan Vivekanandarajah <kuganv@linaro.org>
|
||||||
|
|
||||||
|
* tree-inline.c (remap_ssa_name): Check for POINTER_TYPE_P before
|
||||||
|
accessing SSA_NAME_PTR_INFO.
|
||||||
|
|
||||||
2016-08-04 Georg-Johann Lay <avr@gjlay.de>
|
2016-08-04 Georg-Johann Lay <avr@gjlay.de>
|
||||||
|
|
||||||
PR 70677
|
PR 70677
|
||||||
|
|
|
||||||
|
|
@ -244,6 +244,7 @@ remap_ssa_name (tree name, copy_body_data *id)
|
||||||
/* At least IPA points-to info can be directly transferred. */
|
/* At least IPA points-to info can be directly transferred. */
|
||||||
if (id->src_cfun->gimple_df
|
if (id->src_cfun->gimple_df
|
||||||
&& id->src_cfun->gimple_df->ipa_pta
|
&& id->src_cfun->gimple_df->ipa_pta
|
||||||
|
&& POINTER_TYPE_P (TREE_TYPE (name))
|
||||||
&& (pi = SSA_NAME_PTR_INFO (name))
|
&& (pi = SSA_NAME_PTR_INFO (name))
|
||||||
&& !pi->pt.anything)
|
&& !pi->pt.anything)
|
||||||
{
|
{
|
||||||
|
|
@ -276,6 +277,7 @@ remap_ssa_name (tree name, copy_body_data *id)
|
||||||
/* At least IPA points-to info can be directly transferred. */
|
/* At least IPA points-to info can be directly transferred. */
|
||||||
if (id->src_cfun->gimple_df
|
if (id->src_cfun->gimple_df
|
||||||
&& id->src_cfun->gimple_df->ipa_pta
|
&& id->src_cfun->gimple_df->ipa_pta
|
||||||
|
&& POINTER_TYPE_P (TREE_TYPE (name))
|
||||||
&& (pi = SSA_NAME_PTR_INFO (name))
|
&& (pi = SSA_NAME_PTR_INFO (name))
|
||||||
&& !pi->pt.anything)
|
&& !pi->pt.anything)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue