- 13 Feb, 1998 8 commits
-
-
* c-lang.c (finish_file): Bracket declaration of static_ctors, static_dtors. * calls.c (expand_call): Bracket declaration of 'rtx_before_call', 'old_stack_arg_under_construction' (emit_library_call): Bracket declaration of 'upper_bound', 'lower_bound', 'i', 'reg_parm_stack_space' (emit_library_call_value): Likewise. (store_one_arg): * collect2.c: include <unistd.h> when appropriate. Bracket declaration of 'exportf' and 'full_real_ld_suffix'. * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'. * explow.c (plus_constant_for_output_wide): Remove unused variable 'code'. (memory_address): Remove unused variable 'orig_x'. * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'. (write_const_num_delay_slots): Remove unused variable 'i'. * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'. (gen_insn): Remove unused variable 'obstack_ptr'. * libgcc2.c (__bb_exit_func): Remove unused variables 'ret', 'j', 'tmp', 'i'. (__bb_exit_trace_func): Remove unused variable 'e'. * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs', 'funexp'. (expand_unop): Remove unused variable 'funexp'. (expand_complex_abs): Remove unused variable 'funexp'. (init_optabs): Bracket declaration of 'j'. (init_complex_libfuncs): Deleted. Dead static function. * profile.c (branch_prob): Remove unused variables 'insn', 'dest'. * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths' (reg_to_stack): 'initialized', 'before_function_beg' explictly type as ints instead of defaulting. (emit_swap_insn): Remove unused variable 'i2'. (compare_for_stack_reg): Remove unused variable 'src_note'. * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'. * sched.c (actual_hazard): Bracket declaration of 'this_cost'. * stmt.c (add_case_node): Add parens for assignment used as truth. (all_cases_count): Remove unused variable 'count_high'. (mark_seen_cases): Remove unused variable 'i'. (check_for_full_enumeration_handling): Remove unused variable 't'. Bracket declaration of 'all_values', 'l'. * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>. * varasm.c (assemble_string): Remove unused variable 'i'. (immed_double_const): Remove unused variable 'in_current_obstack'. (immed_real_const_1): Likewise. (output_constant_pool): Remove unreferenced label 'done'. (output_constant): Remove unused variable 'x'. * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not a string. * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used as truth. From-SVN: r17901
Robert Lipe committed -
* call.c (build_over_call): Convert builtin abs, labs and fabs to tree-codes. * decl.c (init_decl_processing): Reenable abs, labs and fabs as builtins. From-SVN: r17900
Andreas Schwab committed -
From-SVN: r17899
J"orn Rennecke committed -
From-SVN: r17898
Jason Merrill committed -
* config/linux.h (LIB_SPEC): Add -lc for -shared if USE_GNULIBC_1 is not defined. * config/sparc/linux.h; Ditto. * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared. * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if USE_GNULIBC_1 is not defined. From-SVN: r17895
H.J. Lu committed -
* cp-tree.h: Add access_protected_virtual_node. * class.c (init_class_processing): Initialize it. * decl.c (xref_basetypes): Use it. * parse.y (base_class_access_list): Likewise. * Make-lang.in (DEMANGLER_PROG): Add $(exeext). (c++.install-common): Install c++filt. From-SVN: r17894
Jason Merrill committed -
* rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux) for -mcall-linux From-SVN: r17892
Franz Sirl committed -
* system.h: New file to get common systems includes and various definitions and declarations based on autoconf macros. From-SVN: r17891
Kaveh R. Ghazi committed
-
- 12 Feb, 1998 17 commits
-
-
* fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17890
Jeff Law committed -
( * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17889
Krister Walfridsson committed -
f * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17888
Krister Walfridsson committed -
From-SVN: r17886
Jeffrey A Law committed -
From-SVN: r17885
Jeffrey A Law committed -
* com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'. * expr.c (ffeexpr_type_combine): Likewise. (ffeexpr_reduce_): Likewise. (ffeexpr_declare_parenthesized_): Likewise. * src.c (ffesrc_strcmp_1ns2i): Likewise. (ffesrc_strcmp_2c): Likewise. (ffesrc_strncmp_2c): Likewise. * stb.c (ffestb_halt1_): Likewise. (ffestb_R90910_): Likewise. (ffestb_R9109_): Likewise. * stc.c (ffestc_R544_equiv_): Likewise. * std.c (ffestd_subr_copy_easy_): Likewise. (ffestd_R1001dump_): Likewise. (ffestd_R1001dump_1005_1_): Likewise. (ffestd_R1001dump_1005_2_): Likewise. (ffestd_R1001dump_1005_3_): Likewise. (ffestd_R1001dump_1005_4_): Likewise. (ffestd_R1001dump_1005_5_): Likewise. (ffestd_R1001dump_1010_2_): Likewise. * ste.c (ffeste_R840): Likewise. * sts.c (ffests_puttext): Likewise. * symbol.c (ffesymbol_check_token_): Likewise. * target.c (ffetarget_real1): Likewise. (ffetarget_real2): Likewise. From-SVN: r17884
Kaveh R. Ghazi committed -
testcase for g++/14837 From-SVN: r17882
Benjamin Kosnik committed -
d Thu Feb 12 12:46:51 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com> * decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837 From-SVN: r17881
Benjamin Kosnik committed -
a Thu Feb 12 12:46:51 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com> * decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837 From-SVN: r17880
Benjamin Kosnik committed -
From-SVN: r17879
Michael Meissner committed -
* expr.c (expand_assignment): Correct typo exposed by -Wall. offset should have been a truth value, not an assignment. From-SVN: r17876
Robert Lipe committed -
call.c (reference_binding): Use comptypes when comparing TYPE_MAIN_VARIANTS to handle non-canonical... * call.c (reference_binding): Use comptypes when comparing TYPE_MAIN_VARIANTS to handle non-canonical array/index types. From-SVN: r17875
Mark Mitchell committed -
* typeck.c (build_ptrmemfunc): Typecheck pointer-to-member conversions. From-SVN: r17874
Mark Mitchell committed -
cse.c (delete_dead_from_cse): If a libcall produces a constant result and that result can be substituted into... * cse.c (delete_dead_from_cse): If a libcall produces a constant result and that result can be substituted into SET_SRC of the insn with the REG_RETVAL note, then perform the substitution and delete the libcall. From-SVN: r17871
Jeffrey A Law committed -
* mips.md (trucndihi2,truncdiqi2): Change these to support mips16. From-SVN: r17868
Gavin Koch committed -
mips.c (movdi_operand): Direct referances to symbols that arn't mips16 consts in mips16 mode arn't... * mips/mips.c (movdi_operand): Direct referances to symbols that arn't mips16 consts in mips16 mode arn't valid operands. * mips/mips.c (mips_move_2words): Add gprel handling. From-SVN: r17867
Gavin Koch committed -
* mips.md (extendsidi2): Allow extension to/from a non-mips16 register. From-SVN: r17866
Gavin Koch committed
-
- 11 Feb, 1998 15 commits
-
-
to work right. From-SVN: r17865
Robert Lipe committed -
* i386.c: Conditionally include <stdlib.h>, <string.h>, and <strings.h>. From-SVN: r17864
Marc Lehmann committed -
* tree.c (is_overloaded_fn): Use really_overloaded_fn. (really_overloaded_fn): Move check here from is_overloaded_fn. (get_first_fn): Use really_overloaded_fn and is_overloaded_fn. From-SVN: r17863
Mark Mitchell committed -
* Makefile.in (WARN_CFLAGS): New variable. (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it. From-SVN: r17862
Kaveh R. Ghazi committed -
* config/i386/i386.c (reg_mentioned_in_mem): Don't abort when falling through default case in switch. (i386_aligned_p): Likewise. From-SVN: r17860
Mark Mitchell committed -
* mips/mips.h (mips_abi_string): Correct typo in comment. From-SVN: r17858
Lee Iverson committed -
From-SVN: r17857
Jeff Law committed -
From-SVN: r17855
Gavin Koch committed -
From-SVN: r17854
Jeff Law committed -
From-SVN: r17853
Jason Merrill committed -
* cp-tree.h (push_template_decl): Return the decl passed in, or an equivalent duplicate. * decl.c (pushtag): Use the return value from push_template_decl. (duplicate_decls): When duplicating a template declaration, merge the DECL_TEMPLATE_RESULTs as well. (make_implicit_typename): Don't try to dive into typename types to find a context for making a new implicit typename. (start_decl): Use the return value from push_template_decl. (grokdeclarator): Complain about declarations list `const operator int'. Since we don't correctly handle in-class initializations of non-static data members, complain about this (now illegal) practice. Issue an error for initializations of non-const statics since that is illegal as well, and since we don't handle that case correctly either. (start_function): Use the return value from push_template_decl. (start_method): Likewise. * decl2.c (grokfield): Likewise. Since the change to grokdeclarator ensures that all initialized fields are in fact static, remove a redundant test for TREE_PUBLIC. * parse.y (initlist): Disable labeled initializers since they do not work as per the documentation, and since they do not use the same syntax as the C front end. * pt.c (push_template_decl): Return the decl passed in, or an equivalent duplicate. (lookup_template_class): When searching in a nested context, use the right arguments. (uses_template_parms): Handle the DECL_INITIAL for a CONST_DECL. * typeck.c (build_component_ref): Assign the correct type to the result of build_vfn_ref. From-SVN: r17852
Mark Mitchell committed -
From-SVN: r17850
Richard Henderson committed -
* Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o, reorg.o, regmove.o): Depend on insn-codes.h, it gets included indirectly via expr.h. From-SVN: r17849
Kaveh R. Ghazi committed -
Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing argument size limit on ancious System V. * Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing argument size limit on ancious System V. From-SVN: r17848
Manfred Hollstein committed -
com.c (ffecom_ptr_to_expr): Do upper - lower in the native type, so as to properly handle negative indices. * com.c (ffecom_ptr_to_expr) [FFEBLD_opARRAYREF]: Do upper - lower in the native type, so as to properly handle negative indices. From-SVN: r17847
Richard Henderson committed
-