http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #9 from Rolf Pfister 2011-11-01
07:25:53 UTC ---
Am 31.10.11 21:38, schrieb manu at gcc dot gnu.org:
>
> I sincerely hope you are not doing something important with your code. Relying
No, I dont use this code in my own programs. It w
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #7 from Rolf Pfister 2011-10-31
19:58:07 UTC ---
I wrote:
> long x=2147483647;
> ulong c;
> for(c=0;c<2147483648UL;c++)
> {
> lcdSendData(x--);
> }
I tried this new variant with "gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1"
Wit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #6 from Rolf Pfister 2011-10-31
11:01:33 UTC ---
Am 31.10.11 11:18, schrieb manu at gcc dot gnu.org:
>
> http://gcc.gnu.org/wiki/FAQ#signed_overflow
>
Im not really convinced that the reason is the overflow.
Where is the overflow in t
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #4 from Rolf Pfister 2011-10-31
07:38:01 UTC ---
Am 30.10.11 20:14, schrieb pinskia at gcc dot gnu.org:
> --- Comment #3 from Andrew Pinski 2011-10-30
> 19:14:49 UTC ---
> Signed integer overflow is undefined so this is invalid.
>
I
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
Bug #: 50922
Summary: infinite loop when optimized
Classification: Unclassified
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3