This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]