public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler
@ 2009-01-28 11:19 jakub at gcc dot gnu dot org
2009-01-28 11:21 ` [Bug middle-end/38999] " jakub at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-28 11:19 UTC (permalink / raw)
To: gcc-bugs
+++ This bug was initially created as a clone of Bug #38934 +++
This failure is not "worked around" by FRE unlike 38932.
/* { dg-do compile } */
/* { dg-options "-O2 --std=gnu99" } */
/* This variable needed only to work around earlier optimizations than VRP. */
unsigned char g;
extern void abort();
void f (long long int p)
{
g = 255;
/* { dg-warning "constant is" "" { target *-*-* } 14 } */
/* { dg-warning "overflow" "" { target *-*-* } 14 } */
if (p >= -9223372036854775808LL - (signed char) g)
p = 1;
if (p)
abort ();
}
3.2.x issued just one warning both in 32-bit HWI i386 gcc and x86_64 -m32 gcc,
haven't checked 3.3, 3.4 and later issues one extra warning in 32-bit HWI
compilation.
--
Summary: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-
bit HWI compiler
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
BugsThisDependsOn: 38934
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
@ 2009-01-28 11:21 ` jakub at gcc dot gnu dot org
2009-01-28 11:28 ` bonzini at gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-28 11:21 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
2009-01-28 11:21 ` [Bug middle-end/38999] " jakub at gcc dot gnu dot org
@ 2009-01-28 11:28 ` bonzini at gnu dot org
2009-01-28 21:40 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bonzini at gnu dot org @ 2009-01-28 11:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bonzini at gnu dot org 2009-01-28 11:27 -------
Two warnings for 3.3.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
2009-01-28 11:21 ` [Bug middle-end/38999] " jakub at gcc dot gnu dot org
2009-01-28 11:28 ` bonzini at gnu dot org
@ 2009-01-28 21:40 ` rguenth at gcc dot gnu dot org
2009-02-21 22:25 ` steven at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-28 21:40 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Priority|P3 |P2
Target Milestone|4.3.4 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-01-28 21:40 ` rguenth at gcc dot gnu dot org
@ 2009-02-21 22:25 ` steven at gcc dot gnu dot org
2009-03-31 21:11 ` [Bug middle-end/38999] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-02-21 22:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2009-02-21 22:25 -------
Confirmed, then... I've tested 3.4, 4.1, and 4.3. I suppose 4.2 is the same.
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |3.3 3.4.0 4.0.0 4.1.0 4.2.0
| |4.3.0 4.4.0
Known to work| |3.2
Last reconfirmed|0000-00-00 00:00:00 |2009-02-21 22:25:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.3/4.4/4.5 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-02-21 22:25 ` steven at gcc dot gnu dot org
@ 2009-03-31 21:11 ` jsm28 at gcc dot gnu dot org
2009-08-04 12:47 ` rguenth at gcc dot gnu dot org
2010-05-22 18:29 ` [Bug middle-end/38999] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 21:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jsm28 at gcc dot gnu dot org 2009-03-31 21:08 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
|Extra overflow warning in |Extra overflow warning in
|32-bit HWI compiler |32-bit HWI compiler
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.3/4.4/4.5 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-03-31 21:11 ` [Bug middle-end/38999] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:47 ` rguenth at gcc dot gnu dot org
2010-05-22 18:29 ` [Bug middle-end/38999] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-08-04 12:29 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/38999] [4.3/4.4/4.5/4.6 Regression] Extra overflow warning in 32-bit HWI compiler
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-08-04 12:47 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:29 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38999
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-05-22 18:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28 11:19 [Bug middle-end/38999] New: [4.2/4.3/4.4 Regression] Extra overflow warning in 32-bit HWI compiler jakub at gcc dot gnu dot org
2009-01-28 11:21 ` [Bug middle-end/38999] " jakub at gcc dot gnu dot org
2009-01-28 11:28 ` bonzini at gnu dot org
2009-01-28 21:40 ` rguenth at gcc dot gnu dot org
2009-02-21 22:25 ` steven at gcc dot gnu dot org
2009-03-31 21:11 ` [Bug middle-end/38999] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:47 ` rguenth at gcc dot gnu dot org
2010-05-22 18:29 ` [Bug middle-end/38999] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).