From 9e41e97531b6fe141ca2f35839f4f1d45f47170e Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 12 Oct 2018 20:11:16 +0000 Subject: [PATCH] define HAVE_GAS_ALIGNED_COMM HAVE_GAS_ALIGNED_COMM is referenced in an initializer in cygming.opt, but it's not guaranteed to be defined by configure, so define it to zero in a cygming-specific header if it's not defined. for gcc/ChangeLog * cygming.h (HAVE_GAS_ALIGNED_COMM): Fallback-define. From-SVN: r265129 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/cygming.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac010614459..bc6efa74e23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-10-12 Alexandre Oliva + + * cygming.h (HAVE_GAS_ALIGNED_COMM): Fallback-define. + 2018-10-12 Peter Bergner PR rtl-optimization/87600 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index cfe563f47af..d7c7dd7057b 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -488,3 +488,7 @@ do { \ /* Static stack checking is supported by means of probes. */ #define STACK_CHECK_STATIC_BUILTIN 1 + +#ifndef HAVE_GAS_ALIGNED_COMM +# define HAVE_GAS_ALIGNED_COMM 0 +#endif -- 2.30.2