aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-06-18 06:46:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-06-18 06:46:35 +0000
commitcab634f2e9a515de84b9c59a564b5df3bce7cd4a (patch)
tree4334db70cb4ef1c631d87aca6ef618a4e9b9efda /gcc/varasm.c
parent264a8100d1daa1d3528449cc227969ffcdf85bcb (diff)
downloadgcc-cab634f2e9a515de84b9c59a564b5df3bce7cd4a.zip
gcc-cab634f2e9a515de84b9c59a564b5df3bce7cd4a.tar.gz
gcc-cab634f2e9a515de84b9c59a564b5df3bce7cd4a.tar.bz2
Warning fixes:
* Makefile.in (c-lang.o): Depend on output.h. * c-lang.c: Include output.h. * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'. * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'. * genrecog.c (write_subroutine): When writing insn-recog.c, mark variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem' with ATTRIBUTE_UNUSED. * regmove.c (copy_src_to_dest): Make function static to match its prototype. * reload1.c Include hard-reg-set.h before rtl.h to get macro HARD_CONST. Include machmode.h before hard-reg-set.h. * rtl.h: Prototype `retry_global_alloc' and wrap with macro HARD_CONST to protect usage of typedef HARD_REG_SET. * tree.c: Prototype `_obstack_allocated_p'. * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro BSS_SECTION_ASM_OP. From-SVN: r20556
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index d60bfcb..cd65c90 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -164,9 +164,11 @@ static void output_constructor PROTO((tree, int));
#ifdef ASM_OUTPUT_BSS
static void asm_output_bss PROTO((FILE *, tree, char *, int, int));
#endif
+#ifdef BSS_SECTION_ASM_OP
#ifdef ASM_OUTPUT_ALIGNED_BSS
static void asm_output_aligned_bss PROTO((FILE *, tree, char *, int, int));
#endif
+#endif /* BSS_SECTION_ASM_OP */
static enum in_section { no_section, in_text, in_data, in_named
#ifdef BSS_SECTION_ASM_OP