https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
Eric Botcazou changed:
What|Removed |Added
CC||ebotcazou at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #10 from Max Bruckner ---
(In reply to Jakub Jelinek from comment #9)
> (In reply to Max Bruckner from comment #8)
> > Nevertheless I disagree that there is no "overflow" or "underflow". It's a
> > question of how you define the two
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #9 from Jakub Jelinek ---
(In reply to Max Bruckner from comment #8)
> Nevertheless I disagree that there is no "overflow" or "underflow". It's a
> question of how you define the two words, in a way, but being defined
> doesn't make
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #8 from Max Bruckner ---
I understand how unsigned integers work and that they are defined by the
standard to have modular arithmetic. In this case I just didn't add 1 and 1
together I guess.
Nevertheless I disagree that there is no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #7 from Jonathan Wakely ---
Strictly speaking, unsigned overflow doesn't even exist. "Integer overflow" is
only something that happens for signed integers. Operations on unsigned
integers have defined behaviour, they can't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #6 from Max Bruckner ---
Oh, you're right, unsigned overflow is defined of course. I guess I should
report a bug with UBSan then to get a suppression included for libstdc++.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
Markus Trippelsdorf changed:
What|Removed |Added
CC||trippels at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #3 from Max Bruckner ---
Created attachment 41946
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41946=edit
Suppression file as a workaround. Add to UBSAN_OPTIONS=supressions=...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #2 from Max Bruckner ---
This is on x86_64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81749
--- Comment #1 from Max Bruckner ---
Created attachment 41945
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41945=edit
Makefile to reproduce the error
11 matches
Mail list logo