https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Jakub Jelinek from comment #3) > That means we need #define USE_ALGORITHM before #include "system.h" in > genmodes.c with a comment. But std::swap is used in many places. IMO, a configure check what to include would be the best solution here.