PR tree-optimization/93683 - ICE on calloc with unused return value in ao_ref_init_fr...
authorMartin Sebor <msebor@redhat.com>
Tue, 11 Feb 2020 23:53:13 +0000 (16:53 -0700)
committerMartin Sebor <msebor@redhat.com>
Tue, 11 Feb 2020 23:53:13 +0000 (16:53 -0700)
commit9a5338e57db1cda13fa788b0e0debbcf99a475d6
tree22a43a4dda29b013a39d82899f6b1e0ce227d0f7
parentad21e0072e20b7c8e4d7af5ca78f24cc6ae407d1
PR tree-optimization/93683 - ICE on calloc with unused return value in ao_ref_init_from_ptr_and_size

gcc/testsuite/ChangeLog:

PR tree-optimization/93683
* gcc.dg/tree-ssa/ssa-dse-39.c: New test.

gcc/ChangeLog:

PR tree-optimization/93683
* tree-ssa-alias.c (stmt_kills_ref_p): Avoid using LHS when not set.
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-39.c [new file with mode: 0644]
gcc/tree-ssa-alias.c