Re: [PATCH] testsuite/gcc.dg/uninit-pred-9_b.c:20: Fix XPASS for various targets

2023-11-26 Thread Mike Stump
On Nov 24, 2023, at 7:15 PM, Hans-Peter Nilsson wrote: > > While looking at the various targets, I found that the m32r > target has two options implemented as opposites: > -mbranch-cost=1 and -mbranch-cost=2, that have a bug that > makes them yield their functionally opposite effect; > i.e.

[PATCH] testsuite/gcc.dg/uninit-pred-9_b.c:20: Fix XPASS for various targets

2023-11-24 Thread Hans-Peter Nilsson
While looking at the various targets, I found that the m32r target has two options implemented as opposites: -mbranch-cost=1 and -mbranch-cost=2, that have a bug that makes them yield their functionally opposite effect; i.e. -mbranch-cost=$arg, arg={1, 2} yields BRANCH_COST(x, y) 3-$arg. Anyway,