On Nov 24, 2023, at 7:15 PM, Hans-Peter Nilsson <h...@axis.com> 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. -mbranch-cost=$arg, arg={1, 2} yields BRANCH_COST(x, y)
> 3-$arg.  Anyway, the default is 1, unknown if that's
> deliberate.  (I won't add a PR, just CC:ing the maintainer.)
> 
> Tested for
> XPASSing targets: m32r-elf and cris-elf
> XFAILing targets: loongarch64-unknown-linux-gnuf64 and ia64-linux.
> 
> Ok to commit?

Ok.

>       * gcc.dg/uninit-pred-9_b.c: Remove xfail for line 20.  Pass
>       --param=logical-op-non-short-circuit=0.  Comment why.

Reply via email to