* [Bug testsuite/37960] [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
@ 2008-10-30 18:58 ` eric dot weddington at atmel dot com
2008-10-30 19:07 ` manu at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-10-30 18:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from eric dot weddington at atmel dot com 2008-10-30 18:56 -------
Bug caused by:
2008-10-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 11492
* gcc.dg/pr11492.c: New.
* g++.dg/warn/pr11492.C: New.
Manuel, could you take a look at this?
--
eric dot weddington at atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
2008-10-30 18:58 ` [Bug testsuite/37960] " eric dot weddington at atmel dot com
@ 2008-10-30 19:07 ` manu at gcc dot gnu dot org
2008-10-30 20:00 ` eric dot weddington at atmel dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-10-30 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from manu at gcc dot gnu dot org 2008-10-30 19:04 -------
I don't know how to compile/test AVR. Is it in the CompileFarm?
To anyone with more knowledge on AVR, any suggestion what could cause this? Is
there any special about signed/unsigned multiplication on AVR?
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-10-30 19:04:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
2008-10-30 18:58 ` [Bug testsuite/37960] " eric dot weddington at atmel dot com
2008-10-30 19:07 ` manu at gcc dot gnu dot org
@ 2008-10-30 20:00 ` eric dot weddington at atmel dot com
2008-10-30 20:19 ` [Bug testsuite/37960] " manu at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-10-30 20:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from eric dot weddington at atmel dot com 2008-10-30 19:57 -------
(In reply to comment #2)
> I don't know how to compile/test AVR. Is it in the CompileFarm?
>
> To anyone with more knowledge on AVR, any suggestion what could cause this? Is
> there any special about signed/unsigned multiplication on AVR?
>
I don't know if it is in the Compile Farm, or not. But I can test for you.
Note that AVR has 8-bit chars, 16-bit ints and pointers, 32-bit longs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (2 preceding siblings ...)
2008-10-30 20:00 ` eric dot weddington at atmel dot com
@ 2008-10-30 20:19 ` manu at gcc dot gnu dot org
2008-10-30 20:29 ` manu at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-10-30 20:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from manu at gcc dot gnu dot org 2008-10-30 20:17 -------
(In reply to comment #3)
>
> I don't know if it is in the Compile Farm, or not. But I can test for you.
>
I need a way to debug this. I have no idea what the issue is.
> Note that AVR has 8-bit chars, 16-bit ints and pointers, 32-bit longs.
That doesn't ring a bell.
Anyway, this is not a regression. My patch added the testcase. The bogus
warning was there already.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4 Regression] FAIL: |FAIL: gcc.dg/pr11492.c
|gcc.dg/pr11492.c (test for |(test for bogus messages,
|bogus messages, line 8) |line 8)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (3 preceding siblings ...)
2008-10-30 20:19 ` [Bug testsuite/37960] " manu at gcc dot gnu dot org
@ 2008-10-30 20:29 ` manu at gcc dot gnu dot org
2008-10-30 20:44 ` eric dot weddington at atmel dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-10-30 20:29 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (4 preceding siblings ...)
2008-10-30 20:29 ` manu at gcc dot gnu dot org
@ 2008-10-30 20:44 ` eric dot weddington at atmel dot com
2008-10-30 21:19 ` manu at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-10-30 20:44 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (5 preceding siblings ...)
2008-10-30 20:44 ` eric dot weddington at atmel dot com
@ 2008-10-30 21:19 ` manu at gcc dot gnu dot org
2008-10-31 4:28 ` eric dot weddington at atmel dot com
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-10-30 21:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from manu at gcc dot gnu dot org 2008-10-30 21:17 -------
Eric,
Could you modify the testcase to use 100 instead of 1000 and run it under AVR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (6 preceding siblings ...)
2008-10-30 21:19 ` manu at gcc dot gnu dot org
@ 2008-10-31 4:28 ` eric dot weddington at atmel dot com
2009-02-07 15:40 ` manu at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: eric dot weddington at atmel dot com @ 2008-10-31 4:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from eric dot weddington at atmel dot com 2008-10-31 04:26 -------
(In reply to comment #7)
> Eric,
>
> Could you modify the testcase to use 100 instead of 1000 and run it under AVR?
>
The test is successful if the 1000 is changed to 100.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (7 preceding siblings ...)
2008-10-31 4:28 ` eric dot weddington at atmel dot com
@ 2009-02-07 15:40 ` manu at gcc dot gnu dot org
2009-03-16 20:01 ` janis at gcc dot gnu dot org
2009-05-01 14:37 ` manu at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2009-02-07 15:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from manu at gcc dot gnu dot org 2009-02-07 15:40 -------
Is this fixed? I think the solution was clear.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (8 preceding siblings ...)
2009-02-07 15:40 ` manu at gcc dot gnu dot org
@ 2009-03-16 20:01 ` janis at gcc dot gnu dot org
2009-05-01 14:37 ` manu at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-03-16 20:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from janis at gcc dot gnu dot org 2009-03-16 20:01 -------
Subject: Bug 37960
Author: janis
Date: Mon Mar 16 20:01:15 2009
New Revision: 144892
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144892
Log:
PR testsuite/37960
* gcc.dg/pr11492.c: Replace constant and remove xfail.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr11492.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)
2008-10-30 18:57 [Bug testsuite/37960] New: [4.4 Regression] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8) eric dot weddington at atmel dot com
` (9 preceding siblings ...)
2009-03-16 20:01 ` janis at gcc dot gnu dot org
@ 2009-05-01 14:37 ` manu at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2009-05-01 14:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from manu at gcc dot gnu dot org 2009-05-01 14:37 -------
FIXED by Janis.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37960
^ permalink raw reply [flat|nested] 12+ messages in thread