diff options
author | Art Haas <ahaas@neosoft.com> | 1999-04-07 18:32:14 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-04-07 18:32:14 -0600 |
commit | 0385ba57730f80589c434c8a0c3bd9c22fa1f4f8 (patch) | |
tree | c864c26fe4454c0dfd4273fb403e3dc5a31a79be /gcc/config | |
parent | 098f2a1e952a03ea95d61b484ffc54b4736d7f10 (diff) | |
download | gcc-0385ba57730f80589c434c8a0c3bd9c22fa1f4f8.zip gcc-0385ba57730f80589c434c8a0c3bd9c22fa1f4f8.tar.gz gcc-0385ba57730f80589c434c8a0c3bd9c22fa1f4f8.tar.bz2 |
freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Avoid ambigious else statement.
* freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Avoid ambigious
else statement.
* gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
* linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
* openbsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r26286
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/freebsd-elf.h | 5 | ||||
-rw-r--r-- | gcc/config/i386/gas.h | 5 | ||||
-rw-r--r-- | gcc/config/i386/linux.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/openbsd.h | 3 |
4 files changed, 10 insertions, 6 deletions
diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h index 1c4f1dc..a65a6d8 100644 --- a/gcc/config/i386/freebsd-elf.h +++ b/gcc/config/i386/freebsd-elf.h @@ -199,7 +199,8 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ - if ((LOG) != 0) \ + if ((LOG) != 0) {\ if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ - else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)) + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)) \ + } #endif diff --git a/gcc/config/i386/gas.h b/gcc/config/i386/gas.h index 3350afe..1004354 100644 --- a/gcc/config/i386/gas.h +++ b/gcc/config/i386/gas.h @@ -94,9 +94,10 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN # define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ - if ((LOG) != 0) \ + if ((LOG) != 0) {\ if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ - else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)) + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)) \ + } #endif /* A C statement or statements which output an assembler instruction diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 91d3830..7b368f8 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -228,8 +228,9 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ do { \ - if ((LOG) != 0) \ + if ((LOG) != 0) { \ if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ + } \ } while (0) #endif diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h index 69ac05b..dc84f89 100644 --- a/gcc/config/i386/openbsd.h +++ b/gcc/config/i386/openbsd.h @@ -125,9 +125,10 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ do { \ - if ((LOG) != 0) \ + if ((LOG) != 0) { \ if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ + } \ } while (0) #endif |