aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-01-09 14:23:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-01-09 14:23:35 +0000
commit0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b (patch)
tree75b0e77395b3484b3774824792bfef303b7801ce /gcc/config/elfos.h
parent975ab1312f8486b7b950dba91733bf81222ecb86 (diff)
downloadgcc-0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b.zip
gcc-0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b.tar.gz
gcc-0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b.tar.bz2
elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value.
* elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value. * function.c (assign_temp): Mark parameter `dont_promote' with ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro PROMOTE_FOR_CALL_ONLY. * genrecog.c (write_subroutine): Mark variable `operands' with ATTRIBUTE_UNUSED. * optabs.c (prepare_cmp_insn): Mark parameter `align' with ATTRIBUTE_UNUSED. * sdbout.c (sdbout_init): Likewise for parameter `asm_file'. (sdbout_begin_block, sdbout_end_block): Likewise for `file'. * toplev.c (note_deferral_of_defined_inline_function): Likewise for `decl'. From-SVN: r31293
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 4b4b876..a3bfcd3e 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -709,7 +709,7 @@ dtors_section () \
\
fprintf ((FILE), "\t%s\t\"", STRING_ASM_OP); \
\
- for (; ch = *_limited_str; _limited_str++) \
+ for (; (ch = *_limited_str); _limited_str++) \
{ \
register int escape; \
\