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 9712574..5841c09 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 8866bbc..f8b8ef4 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 {