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: unassig...@gcc.gnu.org ReportedBy: s...@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.