[Bug libstdc++/109976] error: is not a constant expression in std::equal() with _GLIBCXX_DEBUG

2023-05-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109976 --- Comment #2 from Jonathan Wakely --- (In reply to Ed Catmur from comment #0) > This appears to be caused by bug 109975, but I'm filing separately since it > may be possible to fix in library. Maybe we can skip some of the debug checks

[Bug libstdc++/109976] error: is not a constant expression in std::equal() with _GLIBCXX_DEBUG

2023-05-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109976 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE