[Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
eric dot weddington at atmel dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 30 20:44:00 GMT 2008
------- Comment #6 from eric dot weddington at atmel dot com 2008-10-30 20:42 -------
(In reply to comment #5)
> (In reply to comment #3)
> >
> > Note that AVR has 8-bit chars, 16-bit ints and pointers, 32-bit longs.
>
> Just a guess, given the above: for unsigned char b, b*1000 is signed integer
> and it may overflow, so probably this is causing the warning. Perhaps we should
> only run this testcase with int32plus targets.
This is what happened on bug #37663 recently.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
More information about the Gcc-bugs
mailing list