aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-04-04 21:23:10 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-04-04 21:23:10 +0000
commit86a44e25ced666e29ed35356c48608e45def90bc (patch)
tree8f5555ea950e693becf91c4a93ccfdf130e26061 /gcc
parent2a87fbe84e9cb099440fc173129735044f1aae6f (diff)
downloadgcc-86a44e25ced666e29ed35356c48608e45def90bc.zip
gcc-86a44e25ced666e29ed35356c48608e45def90bc.tar.gz
gcc-86a44e25ced666e29ed35356c48608e45def90bc.tar.bz2
dbxout.c (CONTIN): If it doesn't have to do anything...
* dbxout.c (CONTIN): If it doesn't have to do anything, give it a definition that doesn't provoke the "empty body in an if-statement" warning. From-SVN: r32913
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dbxout.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 44c6387..1098dab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -6,6 +6,10 @@
(_cpp_read_and_prescan): Change to use unified table. Use
is_hspace to test for whitespace.
+ * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
+ definition that doesn't provoke the "empty body in an
+ if-statement" warning.
+
2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
* builtins.c (expand_builtin_strlen): Force the source to
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 5926442..7af36a1 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -307,7 +307,7 @@ static int current_sym_nchars;
#define CONTIN \
do {if (current_sym_nchars > DBX_CONTIN_LENGTH) dbxout_continue ();} while (0)
#else
-#define CONTIN
+#define CONTIN do { } while (0)
#endif
#if defined(ASM_OUTPUT_SECTION_NAME)