[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43725: 28.0.50; Include feature/native-comp into master
From: |
Pip Cet |
Subject: |
bug#43725: 28.0.50; Include feature/native-comp into master |
Date: |
Fri, 19 Feb 2021 12:53:43 +0000 |
On Thu, Feb 18, 2021 at 8:40 PM Andrea Corallo via Bug reports for GNU
Emacs, the Swiss army knife of text editors <bug-gnu-emacs@gnu.org>
wrote:
> I noticed that with the suggested fix applied in configurations where
> 'val' can't exceed a long on the positive side GCC (trunk from some time
> ago) is complaining emitting the following warning:
>
> comp.c:1174:22: warning: logical ‘or’ of collectively exhaustive tests is
> always true [-Wlogical-op]
> 1174 | if (val > LONG_MAX || val < LONG_MIN)
> | ^~
>
> Not sure what's the best way to silence it or if we want to revert to
> the previous formulation.
Maybe it's me, but I had a hard time parsing that warning. IIUC, the
tests are both trivially false? And oring two trivially false
conditions shouldn't trigger a warning, should it?
Sounds like it's GCC that needs to be fixed.
- bug#43725: 28.0.50; Include feature/native-comp into master, (continued)
bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/18
- bug#43725: 28.0.50; Include feature/native-comp into master, Eli Zaretskii, 2021/02/18
- bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/18
- bug#43725: 28.0.50; Include feature/native-comp into master, Eli Zaretskii, 2021/02/19
- bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/19
- bug#43725: 28.0.50; Include feature/native-comp into master, Eli Zaretskii, 2021/02/19
- bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/19
- bug#43725: 28.0.50; Include feature/native-comp into master, Eli Zaretskii, 2021/02/20
bug#43725: 28.0.50; Include feature/native-comp into master,
Pip Cet <=
bug#43725: 28.0.50; Include feature/native-comp into master, Eli Zaretskii, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Pip Cet, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Eli Zaretskii, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Pip Cet, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Andy Moreton, 2021/02/19
bug#43725: 28.0.50; Include feature/native-comp into master, Andrea Corallo, 2021/02/18