diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-19 17:48:29 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-19 17:48:29 -0400 |
commit | 25f3f9bf4433de4ab3881d15c3ec6bc54c31e301 (patch) | |
tree | 1f758db1f20381cf6e2556941d5399fa4b8cc910 /gcc/dbxout.c | |
parent | cbb2bbd44d377e621e38e25aa7cba539a6465518 (diff) | |
download | gcc-25f3f9bf4433de4ab3881d15c3ec6bc54c31e301.zip gcc-25f3f9bf4433de4ab3881d15c3ec6bc54c31e301.tar.gz gcc-25f3f9bf4433de4ab3881d15c3ec6bc54c31e301.tar.bz2 |
(print_int_cst_octal): Fix bug in last change.
From-SVN: r5812
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 6743526..e2182e9 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -1386,11 +1386,10 @@ print_int_cst_octal (c) ; else if (width > HOST_BITS_PER_WIDE_INT) high &= (((HOST_WIDE_INT) 1 << (width - HOST_BITS_PER_WIDE_INT)) - 1); - else - { - high = 0; - low &= (((HOST_WIDE_INT) 1 << width) - 1); - } + else if (width == HOST_BITS_PER_WIDE_INT) + high = 0; + else + high = 0, low &= (((HOST_WIDE_INT) 1 << width) - 1); fprintf (asmfile, "0"); |