public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38053] New: add a warning for b/c*d
@ 2008-11-07 17:26 mlg7 at yandex dot ru
2008-11-07 17:46 ` [Bug c++/38053] " rguenth at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: mlg7 at yandex dot ru @ 2008-11-07 17:26 UTC (permalink / raw)
To: gcc-bugs
If the compiler generates a warning for x&&y||z, it should also generate a
warning for a*b/c*d. The problem is that the programmer probably meant
a*b/(c*d), that is, a*b/c/d.
This relates to both C and C++.
--
Summary: add a warning for b/c*d
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38053
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/38053] add a warning for b/c*d
2008-11-07 17:26 [Bug c++/38053] New: add a warning for b/c*d mlg7 at yandex dot ru
@ 2008-11-07 17:46 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-07 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-07 17:45 -------
Confirmed.
--
rguenth 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-11-07 17:45:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38053
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-07 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-07 17:26 [Bug c++/38053] New: add a warning for b/c*d mlg7 at yandex dot ru
2008-11-07 17:46 ` [Bug c++/38053] " 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).