]> gcc.gnu.org Git - gcc.git/commit
Introduce REG_SET_EMPTY_P
authorRichard Biener <rguenther@suse.de>
Wed, 24 Nov 2021 14:57:03 +0000 (15:57 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 25 Nov 2021 13:23:44 +0000 (14:23 +0100)
commit555b8cc39062d1e02ed9117883229c75e17a8871
tree3cd4a2e92f0b679e249de44bb0c8ff43e8823759
parent1167d4890f7aba2bc173a4f4abb10d86e306864c
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.
gcc/cfgcleanup.c
gcc/regset.h
This page took 0.05493 seconds and 6 git commands to generate.