https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121755
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-reduction |
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C++ code seems to be:
namespace geom {
class Envelope;
}
using geom::Envelope;
constexpr double quiet_NaN() { return __builtin_nan(""); }
constexpr double DoubleNotANumber = quiet_NaN();
namespace geom {
double expandToInclude_x;
struct Envelope {
Envelope() : minx(DoubleNotANumber) {}
void expandToInclude() {
if (expandToInclude_x < minx)
minx = expandToInclude_x;
}
double minx;
};
} // namespace geom
Envelope ComponentJumpCheckercomputeEnvelope() {
Envelope env;
env.expandToInclude();
return env;
}