diff options
author | Martin Jambor <mjambor@suse.cz> | 2021-11-16 10:44:53 +0100 |
---|---|---|
committer | Martin Jambor <mjambor@suse.cz> | 2021-11-16 10:45:32 +0100 |
commit | 9f7fc82014626173bd2c9effa8d8dcb3abd9b06c (patch) | |
tree | 686738fcf2d17e8302e4c7ce4b2923d192063e1b /gcc/tree-ssa-phiopt.c | |
parent | 9ceaf0fee35f6c79cda60e35aad27598dd4dcee6 (diff) | |
download | gcc-9f7fc82014626173bd2c9effa8d8dcb3abd9b06c.zip gcc-9f7fc82014626173bd2c9effa8d8dcb3abd9b06c.tar.gz gcc-9f7fc82014626173bd2c9effa8d8dcb3abd9b06c.tar.bz2 |
ipa-sra: Testcase that removing a "returns_nonnull" retval works
Since we can now remove return values of functions with return_nonnull
type attribute, I'll feel a bit safer if we can test this does not ICE
when someone attempts to access a non-existent call LHS. Eventually
we should probably drop the attribute when this happens.
gcc/testsuite/ChangeLog:
2021-11-15 Martin Jambor <mjambor@suse.cz>
* gcc.dg/ipa/ipa-sra-ret-nonull.c: New test.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions