diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-15 15:54:05 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-15 15:54:05 +0000 |
commit | 21be23eb6d520315fd6fc61a207773664173abfd (patch) | |
tree | a92e74065f1854e027ae6d310ac8ad9f5f0a08ee | |
parent | 7deea7116aa99887d0a6524777c53e38015e1b50 (diff) |
2013-01-15 Richard Biener <rguenther@suse.de>
PR bootstrap/55961
* system.h: Do not include gmp.h for building host tools.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195205 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/system.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb85e0bee36..1a44b1777f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2013-01-15 Richard Biener <rguenther@suse.de> + PR bootstrap/55961 + * system.h: Do not include gmp.h for building host tools. + +2013-01-15 Richard Biener <rguenther@suse.de> + PR middle-end/55882 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly account for bitpos when computing alignment. diff --git a/gcc/system.h b/gcc/system.h index fbf1f11d85b..41cd565538a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -636,7 +636,10 @@ extern int vsnprintf(char *, size_t, const char *, va_list); #include <dlfcn.h> #endif +/* Do not introduce a gmp.h dependency on the build system. */ +#ifndef GENERATOR_FILE #include <gmp.h> +#endif /* Get libiberty declarations. */ #include "libiberty.h" |