SRA: Add verification of accesses
authorMartin Jambor <mjambor@suse.cz>
Wed, 29 Jan 2020 12:13:12 +0000 (13:13 +0100)
committerMartin Jambor <mjambor@suse.cz>
Wed, 29 Jan 2020 12:13:12 +0000 (13:13 +0100)
commit5b9e89c922dc2e7e8b8da644bd3a8917c16b22ac
treeb5b378a812b1127d8f0e04ef813a6da2278093a3
parent7c7107778f16c2db6e97e73fdec6d6606b619864
SRA: Add verification of accesses

2020-01-29  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (verify_sra_access_forest): New function.
(verify_all_sra_access_forests): Likewise.
(create_artificial_child_access): Set parent.
(analyze_all_variable_accesses): Call the verifier.
gcc/ChangeLog
gcc/tree-sra.c