https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585
Manuel López-Ibáñez changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585
--- Comment #2 from Максим Прохоренко ---
clang return all warnings
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585
--- Comment #1 from Максим Прохоренко ---
int f (double x)
{
if (x > 0 || x < 0)
return 1;
// ok - warn
}
struct value
{
double x;
int operator== (const value &a)
{
if (a.x < x || a.x > x)
return 0;
// no warn ??
}