This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2008 20:27:47 -0000
- Subject: [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
- References: <bug-37960-6095@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from manu at gcc dot gnu dot org 2008-10-30 20:27 -------
(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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960