- 07 May, 1998 2 commits
-
-
* gcc.c (read_specs): Handle missing blank line at end of specs file. From-SVN: r19622
Jim Wilson committed -
plus do some general cleanup of variable argument handling. * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro. * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT. (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h. (AC_CHECK_FUNCS): Remove unused check for vprintf. * Makefile.in: Add support for linking in vfprintf.c and doprint.c. (cccp.o): Depend on gansidecl.h. (cexp.o): Likewise. * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as per the rest of gcc source. * cexp.y: Likewise. Include gansidecl.h and remove all code made redundant. * cccp.c: Remove checks for HAVE_VPRINTF and the associated code used when vfprintf is missing. * cexp.y: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * mips-tfile.c: Likewise. * toplev.c: Likewise. * vfprintf.c: New file. * doprint.c: Likewise. From-SVN: r19610
Kaveh R. Ghazi committed
-
- 06 May, 1998 2 commits
-
-
* c-common.c: Convert to using ctype macros defined in system.h. * c-lex.c: Likewise. * cccp.c: Likewise. * collect2.c: Likewise. * rs6000.c: Likewise. * cpplib.c: Likewise. * fix-header.c: Likewise. * gcc.c: Likewise. * gen-protos.c: Likewise. * pexecute.c: Likewise. * protoize.c: Likewise. * rtl.c: Likewise. * scan.c: Likewise. * stmt.c: Likewise. * tlink.c: Likewise. * toplev.c: Likewise. From-SVN: r19579
Kaveh R. Ghazi committed -
Consolidate O_RDONLY/O_WRONLY fallback definitions from various files into system.h. * system.h: Wrap time.h and sys/file.h in autoconf checks. Provide default definitions for O_RDONLY and O_WRONLY here. * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here. From-SVN: r19571
Kaveh R. Ghazi committed
-
- 20 Apr, 1998 2 commits
-
-
* gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it. From-SVN: r19350
Jim Wilson committed -
From-SVN: r19342
Michael Meissner committed
-
- 18 Apr, 1998 1 commit
-
-
* gcc.c (lang_specific_driver): Add new parm type to prototype. (added_libraries): New file scope static variable. (process_command): Initialize added_libraries. Pass it to lang_specific_driver. (main): Use added_libraries in check for no input files. From-SVN: r19281
Jim Wilson committed
-
- 08 Apr, 1998 1 commit
-
-
* gcc.c (proces_command): Improve error message for -o with either -c or -S. From-SVN: r19058
Jeffrey A Law committed
-
- 06 Apr, 1998 1 commit
-
-
* gcc.c: Add linker spec. (link_command_spec): Use %(linker) instead of ld. (main): If collect2 is requested as the linker, see if it exists; if not, use ld instead. * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld. (ld:) Deleted. (install-collect2): Install as collect2, not ld. * configure.in(will_use_collect2): It's named collect2 now. * collect2: Remove checks to see if we were invoked recursively. (collect_execute): Use _spawnvp under cygwin32. From-SVN: r19022
Bob Manson committed
-
- 04 Apr, 1998 1 commit
-
-
for details. * haifa-sched.c: Mirror recent changes from gcc2. From-SVN: r18984
Jeff Law committed
-
- 30 Mar, 1998 1 commit
-
-
From-SVN: r18914
Stan Cox committed
-
- 27 Mar, 1998 1 commit
-
-
From-SVN: r18856
Michael Meissner committed
-
- 20 Mar, 1998 1 commit
-
-
* Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o, c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o, caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o, dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o, expr.o, final.o, flow.o, function.o, getpwd.o, global.o, integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o, prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o, reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o, rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o, tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend on system.h. * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c, c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c, caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c, dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c, expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c, integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c, prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c, reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c, rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c, stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c, xcoffout.c: Include system.h. Organize include ordering so that stdarg/varargs comes before other system headers. Remove spurious casts of functions assured of a prototype in system.h. From-SVN: r18726
Kaveh R. Ghazi committed
-
- 16 Mar, 1998 1 commit
-
-
From-SVN: r18630
Michael Meissner committed
-
- 12 Mar, 1998 3 commits
-
-
In gcc/: * i386.h (RTX_COSTS): Insert braces around nested if. (ADDITIONAL_REGISTER_NAMES): Insert braces around structured elements. * gcc.c (default_compilers): Properly put brackets around array elements in initializer. * getopt.c (_getopt_internal): Add explicit braces around nested if; reformatted. * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's. (record_reg_life_pat): Add explicit parens around && and || in expression. (stack_reg_life_analysis): Add parens around assignment used as expression. (convert_regs): Likewise. In gcc/cp/: * lang-specs.h: Properly put brackets around array elements in initializer. * typeck.c (build_binary_op_nodefault): Correctly place parens around && and || in expression. In gcc/f/: * lang-specs.h: Properly put brackets around array elements in initializer. From-SVN: r18502
Manfred Hollstein committed -
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: r18497
Manfred Hollstein committed -
d gcc/ChangeLog: * c-decl (finish_struct): Change type of min_align to unsigned. * cplus-dem.c (demangle_function_name): Change type of variable i to size_t; remove unused variable len. * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a comment indicating this is proper behaviour. (reg_loc_descriptor): Remove redundant comparison of unsigned variable reg >= 0. (based_loc_descr): Likewise. * enquire.c (bitpattern): Change type of variable i to unsigned. * final.c (output_asm_insn): Don't cast insn_noperands to unsigned. * flow.c (life_analysis): Change type of variable i to size_t; remove unused variable insn. * gcc.c (translate_options): Change type of variables optlen, arglen and complen to size_t. (input_filename_length): Change type to size_t. (do_spec_1): Change type of variable bufsize to size_t. (main): Change type of variables i and j to size_t; remove subblock local definition of variable i. (lookup_compiler): Change type of second argument to size_t; change type of variable i to size_t. * genemit.c (output_init_mov_optab): Change type of variable i to size_t. * genopinit.c (get_insn): Change type of variable pindex to size_t. * genrecog.c (add_to_sequence): Change type of variable i to size_t. * global.c (global_alloc): Change type of variable i to size_t. * regclass.c (init_reg_sets): Change type of variables i and j to unsigned. * stmt.c (expand_end_bindings): Change type of variable i to size_t. (expand_end_case): Change type of variable count to size_t. * toplev.c (main): Change type of variable j to size_t. (set_target_switch): Change type of variable j to size_t. (print_switch_values): Change type of variable j to size_t; remove unused variable flags. * varasm.c (assemble_variable): Change type of variable align to size_t. (const_hash_rtx): Change type of variable i to size_t. gcc/cp/ChangeLog: Sun Mar 8 17:13:38 1998 Manfred Hollstein <manfred@s-direktnet.de> * decl2.c (lang_decode_option): Change j's type to size_t. * tree.c (layout_vbasetypes): record_align and desired_align are of type unsigned int; const_size and nonvirtual_const_size likewise. From-SVN: r18490
Manfred Hollstein committed
-
- 28 Feb, 1998 1 commit
-
-
I've backed out of including stat.h via system.h because stat.h can define static functions (eg on x86 svr4 according to jfc@mit.edu) causing code bloat. * system.h: Remove sys/stat.h. * gcc.c: Add sys/stat.h. From-SVN: r18289
Kaveh R. Ghazi committed
-
- 15 Feb, 1998 1 commit
-
-
* gcc.c: Get system includes, prototypes and macros via "system.h" instead of doing it manually. Change all calls of the ctype macros to custom versions defined in "system.h". From-SVN: r18019
Kaveh R. Ghazi committed
-
- 07 Feb, 1998 1 commit
-
-
* gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>, <fcntl.h>. (free_path_suffix): Remove unreferenced static function. (process_command): Remove unused variable temp. (default_arg): Remove unused variable i. (do_spec_1): Add parens for assignment used as truth value. (main): Likewise. (validate_all_switches): Likewise. (main): Remove unused variables i, first_time> From-SVN: r17768
Robert Lipe committed
-
- 26 Jan, 1998 1 commit
-
-
* flags.h: New flag (optimize_size). * toplev.c (main): Parse -Os option and set optimize_space accordingly. * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define __OPTIMIZE_SIZE__ when compiling with -Os. * config/dsp16xx/dsp16xx.h, config/i386/i386.h, config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h, config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument to macro. * config/i386/i386.c (optimization_options): Accept new SIZE argument. From-SVN: r17497
Anthony Green committed
-
- 17 Jan, 1998 1 commit
-
-
* pexecute.c (pexecute): New function for mingw32. Supports pipes. (pwait): New function for mingw32. * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32 pipe support is broken for now. Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl> From-SVN: r17396
Mumit Khan committed
-
- 07 Dec, 1997 1 commit
-
-
From-SVN: r16987
Jeff Law committed
-
- 06 Dec, 1997 1 commit
-
-
* m68k.c: Include tree.h for dwarf2out_cfi_label. * gcc.c (process_command): Do not take address of function fatal when calling lang_specific_driver. * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling doesn't work with it yet, so set it to 0. * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define. * cse.c (cse_insn): Check for invalid entries when taking references. More assorted pending patches. From-SVN: r16978
Jeff Law committed
-
- 02 Nov, 1997 1 commit
-
-
From-SVN: r16278
Jeff Law committed
-
- 01 Sep, 1997 1 commit
-
-
* cccp.c (sys_errlist): Remove special 4.4bsd declaration. * collect2.c (sys_errlist): Likewise. * cpplib.c (sys_errlist): Likewise. * gcc.c (sys_errlist): Likewise. * protoize (sys_errlist): Likewise. * configure.in: Check for strerror. * xm-freebsd.h (HAVE_STRERROR): Remove definition. * xm-gnu.h (HAVE_STRERROR): Likewise. * xm-linux.h (HAVE_STRERROR): Likewise. * xm-netbsd.h (HAVE_STRERROR): Likewise. * xm-bsd386.h (HAVE_STRERROR): Likewise. * xm-cygwin32.h (HAVE_STRERROR): Likewise. * xm-dos.h (HAVE_STRERROR): Likewise. * xm-mingw32.h (HAVE_STRERROR): Likewise. * xm-pa.h (HAVE_STRERROR): Likewise. * xm-papro.h (HAVE_STRERROR): Likewise. * xm-sysv4.h (HAVE_STRERROR): Likewise. * configure, config.in: Rebuilt. Remove the need to define HAVE_STRERROR for each host port. From-SVN: r15011
Jeffrey A Law committed
-
- 19 Aug, 1997 1 commit
-
-
From-SVN: r14839
Jeff Law committed
-
- 17 Aug, 1997 1 commit
-
-
* gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines. From-SVN: r14822
Jeffrey A Law committed
-
- 15 Aug, 1997 1 commit
-
-
* version.c: Change the version string to look like: egcs-1.0.0 970814 (gcc2-970802 experimental). * gcc.c: Take out experimental snapshot warning message. From-SVN: r14811
Jeffrey A Law committed
-
- 11 Aug, 1997 2 commits
-
-
* gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'. (process_command): Increment n_switches for them. Don't discard their args. Validate them. (main): Escape " marks when creating COLLECT_GCC_OPTIONS. From Rohan Lenard. (process_command): Set include_prefixes from COMPILER_PATH. (main): Set COLLECT_GCC_OPTIONS sooner. * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld. * tlink.c, hash.c, hash.h: New files. * Makefile.in (USE_COLLECT2): Always use collect2. (collect2): Depend on and link in hash.o and tlink.o. (tlink.o, hash.o): Add dependencies. tlink patches from Jason. From-SVN: r14769
Jeffrey A Law committed -
From-SVN: r14764
Jeff Law committed
-
- 14 Jul, 1997 1 commit
-
-
From-SVN: r14440
Richard Kenner committed
-
- 13 Jul, 1997 2 commits
-
-
don't do -pipe. From-SVN: r14415
Richard Kenner committed -
* gcc.c (main): Handle blank in version_string when comparing with compiler_version. From-SVN: r14414
Doug Evans committed
-
- 21 Jun, 1997 1 commit
-
-
From-SVN: r14278
Richard Kenner committed
-
- 25 Mar, 1997 1 commit
-
-
From-SVN: r13803
Michael Meissner committed
-
- 18 Mar, 1997 1 commit
-
-
(process_command, main): Change all callers. From-SVN: r13737
Jim Wilson committed
-
- 15 Feb, 1997 2 commits
-
-
From-SVN: r13643
Richard Kenner committed -
From-SVN: r13641
Richard Kenner committed
-
- 01 Feb, 1997 1 commit
-
-
From-SVN: r13574
Richard Kenner committed
-