diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-05-22 23:20:51 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-05-22 23:20:51 +0200 |
commit | 2ea0d750147582b5d7bf405dce36f864618eacbd (patch) | |
tree | 34cc1dd5be60d131c6db256516f0ff7f4e71c648 /gcc/c | |
parent | 25b8168681bb5d1bc5e74c54b8f4cad635636ff1 (diff) | |
download | gcc-2ea0d750147582b5d7bf405dce36f864618eacbd.zip gcc-2ea0d750147582b5d7bf405dce36f864618eacbd.tar.gz gcc-2ea0d750147582b5d7bf405dce36f864618eacbd.tar.bz2 |
cfgcleanup: Ignore clobbers in bb_is_just_return
The function bb_is_just_return finds if the BB it is asked about does
just a return and nothing else. It currently does not allow clobbers
in the block either, which we of course can allow just fine.
This patch changes that.
* cfgcleanup.c (bb_is_just_return): Allow CLOBBERs.
gcc/testsuite/
From-SVN: r248351
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions