http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #9 from Rolf Pfister pfister at pci dot uzh.ch 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #4 from Rolf Pfister pfister at pci dot uzh.ch 2011-10-31
07:38:01 UTC ---
Am 30.10.11 20:14, schrieb pinskia at gcc dot gnu.org:
--- Comment #3 from Andrew Pinskipinskia at gcc dot gnu.org 2011-10-30
19:14:49 UTC ---
Signed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
Manuel López-Ibáñez manu at gcc dot gnu.org changed:
What|Removed |Added
CC||manu at gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #6 from Rolf Pfister pfister at pci dot uzh.ch 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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #7 from Rolf Pfister pfister at pci dot uzh.ch 2011-10-31
19:58:07 UTC ---
I wrote:
long x=2147483647;
ulong c;
for(c=0;c2147483648UL;c++)
{
lcdSendData(x--);
}
I tried this new variant with gcc (Ubuntu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #8 from Manuel López-Ibáñez manu at gcc dot gnu.org 2011-10-31
20:38:17 UTC ---
(In reply to comment #7)
I tried this new variant with gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
With this version it works correctly. Also with avr-gcc this
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
xunxun xunxun1982 at gmail dot com changed:
What|Removed |Added
CC||xunxun1982 at gmail
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
--- Comment #2 from Mikael Pettersson mikpe at it dot uu.se 2011-10-30
17:03:10 UTC ---
(In reply to comment #0)
int main(void)
{
long x=0;
unsigned long c;
for(c=0;c2147483648UL;c++)
{
lcdSendData(x++);
}
You're causing
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50922
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED