]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/69434 (bootstrap failed with --with-arch=corei7 --with-cpu=corei7)
authorJakub Jelinek <jakub@redhat.com>
Sat, 23 Jan 2016 09:54:19 +0000 (10:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 23 Jan 2016 09:54:19 +0000 (10:54 +0100)
PR bootstrap/69434
* genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
remove <algorithm> include.

From-SVN: r232763

gcc/ChangeLog
gcc/genrecog.c

index 9712574301cbfd5b10b7516cc7cf3f642a634a7c..5841c09ec5f2863ff83e56a6d616cc8844783639 100644 (file)
@@ -1,3 +1,9 @@
+2016-01-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/69434
+       * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
+       remove <algorithm> include.
+
 2016-01-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/69432
index 8866bbcf5e15848b55d80d5263e2b368f2489c60..f8b8ef46dc57560bc3da5ab3c6cf95f3672c092f 100644 (file)
    5. Write out C++ code for each function.  */
 
 #include "bconfig.h"
+#define INCLUDE_ALGORITHM
 #include "system.h"
 #include "coretypes.h"
 #include "tm.h"
 #include "errors.h"
 #include "read-md.h"
 #include "gensupport.h"
-#include <algorithm>
 
 #undef GENERATOR_FILE
 enum true_rtx_doe {