https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289
Jan Hubicka changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289
--- Comment #4 from Richard Biener ---
probably makes sense, yes.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289
--- Comment #2 from Jan Hubicka ---
This patch fixes the problem
diff --git a/gcc/passes.def b/gcc/passes.def
index c9a8f19747b..faa5208b26b 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -88,6 +88,8 @@ along with GCC; see the file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110289
--- Comment #1 from Jan Hubicka ---
This is caused by the way libstdc++ defines max:
constexpr
inline const _Tp&
max(const _Tp& __a, const _Tp& __b)
{
if (__a < __b)
return __b;
return __a;
}