PR bootstrap/69434
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jan 2016 09:54:19 +0000 (09:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jan 2016 09:54:19 +0000 (09:54 +0000)
* genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
remove <algorithm> include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232763 138bc75d-0d04-0410-961f-82ee72b054a4

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 {