https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105070
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:b285999440c000685c4e4dae9c2a9a8a8fe9e176 commit r10-10542-gb285999440c000685c4e4dae9c2a9a8a8fe9e176 Author: Richard Biener <rguent...@suse.de> Date: Mon Mar 28 10:07:53 2022 +0200 tree-optimization/105070 - annotate bit cluster tests with locations The following makes sure to annotate the tests generated by switch lowering bit-clustering with locations which otherwise can be completely lost even at -O0. 2022-03-28 Richard Biener <rguent...@suse.de> PR tree-optimization/105070 * tree-switch-conversion.h (bit_test_cluster::hoist_edge_and_branch_if_true): Add location argument. * tree-switch-conversion.c (bit_test_cluster::hoist_edge_and_branch_if_true): Annotate cond with location. (bit_test_cluster::emit): Annotate all generated expressions with location. (cherry picked from commit bc86a86a4f2c057bc0e0be94dcbb8c128ae7f717)