https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103278
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:e28afbb90f8eca31d0a658e92e2007eb0db2a964 commit r12-5365-ge28afbb90f8eca31d0a658e92e2007eb0db2a964 Author: Richard Biener <rguent...@suse.de> Date: Thu Nov 18 09:49:38 2021 +0100 testsuite/103278 - adjust gcc.dg/tree-ssa/if-to-switch-3.c Analysis shows that after the CD-DCE change we produce better code which makes if-to-switch run into case-values-threshold on some architectures, thus the switch is deemed to simple to be worth generating. The following statically provides --param case-values-threshold to make the testcase less target dependent. 2021-11-18 Richard Biener <rguent...@suse.de> PR testsuite/103278 * gcc.dg/tree-ssa/if-to-switch-3.c: Supply --param case-values-threshold=4.
