diff options
author | Richard Biener <rguenther@suse.de> | 2021-11-24 15:57:03 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-11-25 14:23:44 +0100 |
commit | 555b8cc39062d1e02ed9117883229c75e17a8871 (patch) | |
tree | 3cd4a2e92f0b679e249de44bb0c8ff43e8823759 /gcc/cfgexpand.c | |
parent | 1167d4890f7aba2bc173a4f4abb10d86e306864c (diff) | |
download | gcc-555b8cc39062d1e02ed9117883229c75e17a8871.zip gcc-555b8cc39062d1e02ed9117883229c75e17a8871.tar.gz gcc-555b8cc39062d1e02ed9117883229c75e17a8871.tar.bz2 |
Introduce REG_SET_EMPTY_P
This avoids a -Wunreachable-code diagnostic with EXECUTE_IF_*
in case the first iteration will exit the loop. For the case
in thread_jump using bitmap_empty_p looks preferable so this
adds REG_SET_EMPTY_P to make that available for register sets.
2021-11-25 Richard Biener <rguenther@suse.de>
* regset.h (REG_SET_EMPTY_P): New macro.
* cfgcleanup.c (thread_jump): Use REG_SET_EMPTY_P.
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions