diff options
author | Richard Biener <rguenther@suse.de> | 2021-10-18 09:10:43 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-10-18 10:26:16 +0200 |
commit | a5b1b2a186d94b31a522395e9d02c9cec1b928cb (patch) | |
tree | 0d4f8d1f9b5befdb7f5a438b2ce80d03a7780678 /gcc/fortran/trans-openmp.c | |
parent | 724e27046bc3f1b24eb4e153f71da0ac1049127d (diff) | |
download | gcc-a5b1b2a186d94b31a522395e9d02c9cec1b928cb.zip gcc-a5b1b2a186d94b31a522395e9d02c9cec1b928cb.tar.gz gcc-a5b1b2a186d94b31a522395e9d02c9cec1b928cb.tar.bz2 |
tree-optimization/102798 - avoid copying PTA info to old SSA names
The vectorizer duplicates pointer-info to created pointer bases
but it has to avoid changing points-to info on existing SSA names
because there's now flow-sensitive info in there (pt->pt_null as
set from VRP).
2021-10-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/102798
* tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
Only copy points-to info to newly generated SSA names.
* gcc.dg/pr102798.c: New testcase.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions