Fix ICE when __builtin_calloc has no LHS (PR tree-optimization/91014).
authorMartin Liska <mliska@suse.cz>
Thu, 27 Jun 2019 09:41:34 +0000 (11:41 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 27 Jun 2019 09:41:34 +0000 (09:41 +0000)
commit4c4be718fb65f9b8dd06d83c6fa3f697a5369d52
tree8628d7cbb265cdea6fa0ad8b94a416eee3108674
parentfecd7a1ab444a38ebda5c1d495ee48f02f290a25
Fix ICE when __builtin_calloc has no LHS (PR tree-optimization/91014).

2019-06-27  Martin Liska  <mliska@suse.cz>

PR tree-optimization/91014
* tree-ssa-dse.c (initialize_ao_ref_for_dse): Bail out
when LHS is NULL_TREE.
2019-06-27  Martin Liska  <mliska@suse.cz>

PR tree-optimization/91014
* gcc.target/s390/pr91014.c: New test.

From-SVN: r272738
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/pr91014.c [new file with mode: 0644]
gcc/tree-ssa-dse.c