diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-01-23 10:54:19 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-01-23 10:54:19 +0100 |
commit | bc0cbd52afc64bf9eedb238da196961987970d31 (patch) | |
tree | f81d5e9d46755289d04e07c8cb490da8a18b84c9 /gcc | |
parent | da17300a8472a3201863ba91d850819b6c8a40e8 (diff) | |
download | gcc-bc0cbd52afc64bf9eedb238da196961987970d31.zip gcc-bc0cbd52afc64bf9eedb238da196961987970d31.tar.gz gcc-bc0cbd52afc64bf9eedb238da196961987970d31.tar.bz2 |
re PR bootstrap/69434 (bootstrap failed with --with-arch=corei7 --with-cpu=corei7)
PR bootstrap/69434
* genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
remove <algorithm> include.
From-SVN: r232763
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/genrecog.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9712574..5841c09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 8866bbc..f8b8ef4 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -105,6 +105,7 @@ 5. Write out C++ code for each function. */ #include "bconfig.h" +#define INCLUDE_ALGORITHM #include "system.h" #include "coretypes.h" #include "tm.h" @@ -112,7 +113,6 @@ #include "errors.h" #include "read-md.h" #include "gensupport.h" -#include <algorithm> #undef GENERATOR_FILE enum true_rtx_doe { |