[Bug c++/47734] New: no "comparisons like X<=Y<=Z do not have their mathematical meaning" warning in c++
sds at gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 14 16:16:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list