public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47734] New: no "comparisons like X<=Y<=Z do not have their mathematical meaning" warning in c++
@ 2011-02-14 16:16 sds at gnu dot org
  2011-02-14 16:20 ` [Bug c++/47734] " manu at gcc dot gnu.org
  2011-03-29 16:45 ` redi at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sds at gnu dot org @ 2011-02-14 16:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47734

           Summary: no "comparisons like X<=Y<=Z do not have their
                    mathematical meaning" warning in c++
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sds@gnu.org


gcc issues a warning
comparisons like X<=Y<=Z do not have their mathematical meaning
for code like
if (-2 < -1 < 0) {
 ....
}
but c++ does not.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-29 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 16:16 [Bug c++/47734] New: no "comparisons like X<=Y<=Z do not have their mathematical meaning" warning in c++ sds at gnu dot org
2011-02-14 16:20 ` [Bug c++/47734] " manu at gcc dot gnu.org
2011-03-29 16:45 ` redi at gcc dot gnu.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).