diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/xm-mingw32.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2a592c..a699411 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-08-17 Stanislaw Halik <sthalik@misaki.pl> + + PR target/66488 + * config/i386/xm-mingw32.h (HOST_BITS_PER_PTR): Define if __x86_64__. + 2016-08-17 Richard Biener <rguenther@suse.de> * tree-ssa.c: Include tree-cfg.h and tree-dfa.h. diff --git a/gcc/config/i386/xm-mingw32.h b/gcc/config/i386/xm-mingw32.h index 5561e00..db2a708 100644 --- a/gcc/config/i386/xm-mingw32.h +++ b/gcc/config/i386/xm-mingw32.h @@ -38,3 +38,7 @@ along with GCC; see the file COPYING3. If not see #define HOST_LONG_LONG_FORMAT "I64" #endif +/* this is to prevent gcc-heap.c from assuming sizeof(long) == sizeof(intptr_t) */ +#ifdef __x86_64__ +# define HOST_BITS_PER_PTR 64 +#endif |
