public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/35933] New: local variable used before set in fold-const.c
@ 2008-04-14 16:28 dcb314 at hotmail dot com
2008-04-15 9:55 ` [Bug bootstrap/35933] " rguenth at gcc dot gnu dot org
2008-04-17 8:35 ` rguenth at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2008-04-14 16:28 UTC (permalink / raw)
To: gcc-bugs
I just tried to compile the GNU C compiler version
4.4 snapshot 20080411 with the Intel C compiler.
The Intel compiler said
gcc-4.4-20080411/gcc/fold-const.c(14101): warning #592: variable "arg1" is used
before its value is set
The source code is
tree arg1 = arg1;
if ((TREE_INT_CST_LOW (arg1) & 1) == 0)
I agree with the compiler. Suggest code rework.
--
Summary: local variable used before set in fold-const.c
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35933
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/35933] local variable used before set in fold-const.c
2008-04-14 16:28 [Bug bootstrap/35933] New: local variable used before set in fold-const.c dcb314 at hotmail dot com
@ 2008-04-15 9:55 ` rguenth at gcc dot gnu dot org
2008-04-17 8:35 ` rguenth at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-15 9:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-04-15 09:54 -------
Doh. Rafael, this was you with
http://gcc.gnu.org/ml/gcc-cvs/2008-04/msg00326.html
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org, espindola at gcc dot
| |gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35933
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/35933] local variable used before set in fold-const.c
2008-04-14 16:28 [Bug bootstrap/35933] New: local variable used before set in fold-const.c dcb314 at hotmail dot com
2008-04-15 9:55 ` [Bug bootstrap/35933] " rguenth at gcc dot gnu dot org
@ 2008-04-17 8:35 ` rguenth at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-17 8:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-17 08:34 -------
This is fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35933
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-17 8:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14 16:28 [Bug bootstrap/35933] New: local variable used before set in fold-const.c dcb314 at hotmail dot com
2008-04-15 9:55 ` [Bug bootstrap/35933] " rguenth at gcc dot gnu dot org
2008-04-17 8:35 ` 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).