[Bug c/35753] apparent integer math bug

2008-03-29 Thread regehr at cs dot utah dot edu
--- Comment #5 from regehr at cs dot utah dot edu 2008-03-29 19:32 --- Subject: Re: apparent integer math bug > wrapping behavior with signed types. Note the C standard is over 18 > years old now so I had hoped people would still not making the mistake > of thinking signed interger

[Bug c/35753] apparent integer math bug

2008-03-29 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2008-03-29 19:27 --- Subject: Re: apparent integer math bug Sent from my iPhone On Mar 29, 2008, at 12:16, "regehr at cs dot utah dot edu" <[EMAIL PROTECTED] > wrote: > > > --- Comment #3 from regehr at cs dot utah dot edu 2008-03

Re: [Bug c/35753] apparent integer math bug

2008-03-29 Thread Andrew Pinski
Sent from my iPhone On Mar 29, 2008, at 12:16, "regehr at cs dot utah dot edu" <[EMAIL PROTECTED] > wrote: --- Comment #3 from regehr at cs dot utah dot edu 2008-03-29 19:16 --- Subject: Re: apparent integer math bug This multiplication overflows so the resulting behavior i

[Bug c/35753] apparent integer math bug

2008-03-29 Thread regehr at cs dot utah dot edu
--- Comment #3 from regehr at cs dot utah dot edu 2008-03-29 19:16 --- Subject: Re: apparent integer math bug > This multiplication overflows so the resulting behavior is undefined. Right-- but always in the past it has been (or seemed) fine to assume two's complement overflow behavi

[Bug c/35753] apparent integer math bug

2008-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-03-29 10:27 --- use unsigned arithmetic. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/35753] apparent integer math bug

2008-03-28 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2008-03-29 05:08 --- Subject: Re: New: apparent integer math bug Sent from my iPhone On Mar 28, 2008, at 21:40, "regehr at cs dot utah dot edu" <[EMAIL PROTECTED] > wrote: > This is for "gcc (GCC) 4.3.0". > > This function returns dif