diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1998-11-23 20:25:50 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-11-23 15:25:50 -0500 |
commit | 8c8a9717085130efbd17e89ab68aa25bc8e8ef0d (patch) | |
tree | e48611ac6b9a59422a231359f9405211af320620 /gcc/config/i386/linux.h | |
parent | e468780f7e68b54b162a313d1a43a46ef65b3749 (diff) | |
download | gcc-8c8a9717085130efbd17e89ab68aa25bc8e8ef0d.tar.gz |
linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Wrap in do...while.
* i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Wrap in do...while.
* i386.md (prologue_get_pc): Remove unused variable.
From-SVN: r23816
Diffstat (limited to 'gcc/config/i386/linux.h')
-rw-r--r-- | gcc/config/i386/linux.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index a4a0ee41131..bd2aeb0c9fc 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -226,8 +226,10 @@ Boston, MA 02111-1307, USA. */ This is used to align code labels according to Intel recommendations. */ #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN -#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ - 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)) +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ + do { \ + 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 |