aboutsummaryrefslogtreecommitdiff
path: root/gcc/genoutput.c
AgeCommit message (Collapse)AuthorFilesLines
1998-04-06gansidecl.h: Check if compiler supports __attribute__.Kaveh R. Ghazi1-7/+2
* gansidecl.h: Check if compiler supports __attribute__. Provide definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using __attribute__ when its available. Also provide definitions for ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in terms of ATTRIBUTE_PRINTF. * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place of __attribute__. From-SVN: r19019
1998-04-01genattrtab.c: Make generated file use system.h, instead of including ↵Jeffrey A Law1-1/+6
stdio.h, etc directly. * genattrtab.c: Make generated file use system.h, instead of including stdio.h, etc directly. * genextract.c, genopinit.c, genoutput.c: Likewise. * genpeep.c, genrecog.c: Likewise * genoutput.c (process_template): Mark operands in the generated function as potentially unused if compiling with GNU CC. From-SVN: r18941
1998-03-24Cutover various gen*.c files to using system.h:Kaveh R. Ghazi1-13/+4
* Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o, genattrtab.o, genoutput.o): Depend on system.h. * genattr.c: Include system.h. Add arguments to various function prototypes. Remove redundant prototype of read_rtx(). * genattrtab.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. From-SVN: r18794
1998-03-12/Manfred Hollstein1-1/+1
In gcc/: * bitmap.c (bitmap_element_allocate): Remove unused parameter; change callers accordingly. * cplus-dem.c (arm_special): Remove unused parameter work in prototype and definition; change all callers accordingly. * except.c (init_eh): Avoid assignment of unused return value of build_pointer_type; cast it to void, instead, and remove unused variable type. * gcc.c (lang_specific_driver): Define prototype only #ifdef LANG_SPECIFIC_DRIVER. (temp_names): Define only #ifdef MKTEMP_EACH_FILE. * genoutput.c (output_epilogue): Initialize next_name to 0. * real.c (efrexp): #if 0 prototype and function definition. (eremain): Likewise. (uditoe): Likewise. (ditoe): Likewise. (etoudi): Likewise. (etodi): Likewise. (esqrt): Likewise. * reload.c (push_secondary_reload): Define prototype only #ifdef HAVE_SECONDARY_RELOADS. * varasm.c (assemble_static_space): Define rounded only #ifndef ASM_OUTPUT_ALIGNED_LOCAL. In gcc/cp/: * call.c (default_parm_conversions): Remove prototype definition. (build_method_call): Remove unused variable result. * cvt.c (ocp_convert): Remove unused variable conversion. * decl2.c (ambiguous_decl): Add explicit parameter definition for name. * except.c (do_unwind): #if 0 definition of unused variables fcall and next_pc. * expr.c (extract_scalar_init): #if 0 prototype and function definition. * init.c (expand_aggr_init_1): Remove unused variable init_type. (build_new_1): Remove unused variable t. * pt.c (instantiate_class_template): Remove unused variable newtag; cast called function return value to void. (do_decl_instantiation): Remove unused variables name and fn. * tree.c (get_type_decl): Add default return to shut up compiler from complaining control reaches end of non-void function. * typeck.c (build_x_conditional_expr): Remove unused variable rval. From-SVN: r18494
1998-02-27genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.Kaveh Ghazi1-1/+3
* genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE. * genattrtab.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV. From-SVN: r18284
1998-02-07c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.Robert Lipe1-1/+10
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>. * calls.c (expand_call): Remove unused variables funtree, n_regs, and tmpmode. * dbxout.c, except.c: Include <string.h>/<strings.h>. * explow.c: (plus_constant_for_output_wide) Removed unused variable all_constant. * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c, genrecog.c, global.c, integrate.c , stupid.c : Include <stdlib.h>. * genextract.c: (walk_rtx) Remove unused variable link. * genrecog.c: (concat) Remove unreferenced static function. * prefix.c: Include <string.h>/<strings.h>, <stdlib.h> * stmt.c: Include <stdlib.h>. (expand_asm_operands): Remove unused variable val1. (expand_return): Remove unused variable block. (pushcase): Remove unused variables l and n. (pushcaserange): Likewise. * unroll.c (unroll_loop): Remove unused variable temp. From-SVN: r17766
1997-07-02(process_template): Place increment expression outside of putcharRichard Kenner1-3/+10
function call. From-SVN: r14382
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-01-13(output_epilogue): Do not reference gen_ functions for insns whoseRichard Kenner1-2/+2
names begin with '*'. From-SVN: r8743
1994-09-27(n_occurrences): Make arg int, not char.Richard Kenner1-1/+1
From-SVN: r8147
1994-03-19(output_epilogue, insn_names): Write correct names for patterns beforeRichard Kenner1-2/+2
first named pattern. From-SVN: r6824
1992-12-27(have_error): New variable.Richard Kenner1-1/+10
(error): Set it. (main): Test it and return FATAL_EXIT_CODE if it is set. From-SVN: r2934
1992-10-13Include hconfig.h, not config.h.Richard Stallman1-1/+1
From-SVN: r2420
1992-08-14(scan_operands): Treat MATCH_PAR_DUP just like MATCH_DUP.Richard Kenner1-0/+1
From-SVN: r1834
1992-06-27entered into RCSRichard Stallman1-1/+0
From-SVN: r1315
1992-06-26*** empty log message ***Richard Kenner1-0/+1
From-SVN: r1296
1992-06-26*** empty log message ***Richard Stallman1-0/+1
From-SVN: r1290
1992-04-27*** empty log message ***Richard Stallman1-1/+1
From-SVN: r843
1992-01-17*** empty log message ***Richard Stallman1-1/+1
From-SVN: r202
1992-01-15*** empty log message ***Richard Kenner1-7/+7
From-SVN: r189
1992-01-07*** empty log message ***Richard Kenner1-6/+40
From-SVN: r169
1991-11-04Initial revisionRichard Kenner1-0/+954
From-SVN: r54