public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?
       [not found] <bug-81271-4@http.gcc.gnu.org/bugzilla/>
@ 2020-10-02 11:54 ` nathan at gcc dot gnu.org
  2024-01-30 14:06 ` jason at gcc dot gnu.org
  2024-01-30 16:14 ` dcb314 at hotmail dot com
  2 siblings, 0 replies; 3+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-10-02 11:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
fwiw, I was kind of hoping the compiler could spot the test of three adjacent
bits and do a 3-bit extraction and comparison to zero.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?
       [not found] <bug-81271-4@http.gcc.gnu.org/bugzilla/>
  2020-10-02 11:54 ` [Bug c++/81271] gcc/cp/lex.c:116: wrong condition ? nathan at gcc dot gnu.org
@ 2024-01-30 14:06 ` jason at gcc dot gnu.org
  2024-01-30 16:14 ` dcb314 at hotmail dot com
  2 siblings, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2024-01-30 14:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
What tool did this warning come from?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?
       [not found] <bug-81271-4@http.gcc.gnu.org/bugzilla/>
  2020-10-02 11:54 ` [Bug c++/81271] gcc/cp/lex.c:116: wrong condition ? nathan at gcc dot gnu.org
  2024-01-30 14:06 ` jason at gcc dot gnu.org
@ 2024-01-30 16:14 ` dcb314 at hotmail dot com
  2 siblings, 0 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2024-01-30 16:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271

--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Jason Merrill from comment #4)
> What tool did this warning come from?

Looks like cppcheck to me.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-30 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-81271-4@http.gcc.gnu.org/bugzilla/>
2020-10-02 11:54 ` [Bug c++/81271] gcc/cp/lex.c:116: wrong condition ? nathan at gcc dot gnu.org
2024-01-30 14:06 ` jason at gcc dot gnu.org
2024-01-30 16:14 ` dcb314 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).