tree-sra.c (build_reconstructed_reference): Return NULL_TREE instead of NULL.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 16 Aug 2019 16:00:25 +0000 (16:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 16 Aug 2019 16:00:25 +0000 (16:00 +0000)
commitd83a4cf15dd544bbdcbe205217785b293dffd028
treedabd78b240dc4fd5668aad10f42d5563101a0a15
parentdc139eb184d5361147ac32c290a074a3bc28e29e
tree-sra.c (build_reconstructed_reference): Return NULL_TREE instead of NULL.

* tree-sra.c (build_reconstructed_reference): Return NULL_TREE instead
of NULL.  Add guard for broken VIEW_CONVERT_EXPRs.

From-SVN: r274576
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt81.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt81.ads [new file with mode: 0644]
gcc/tree-sra.c