https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
--- Comment #7 from Martin Sebor ---
Wrong dupe id.
*** This bug has been marked as a duplicate of bug 66938 ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
Martin Sebor changed:
What|Removed |Added
Keywords|rejects-valid |diagnostic
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
--- Comment #5 from Jakub Jelinek ---
BTW, for __builtin_add_overflow_p with _Bool as last argument (which isn't
rejected, going to fix that momentarily) we don't emit the expected test
whether the result is 0/1, but whether it fits 8 bits unsign
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
--- Comment #3 from Martin Sebor ---
(In reply to Marek Polacek from comment #1)
> Dup of PR66938?
You're right, bug 66938 points out the same problem. I leave it to you to
decide which one to close as a dupe (this one is broader in mentioning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
Martin Sebor changed:
What|Removed |Added
Keywords||rejects-valid
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment