- 30 Mar, 2000 3 commits
-
-
From-SVN: r32823
Jason Merrill committed -
From-SVN: r32822
Philipp Thomas committed -
c-common.c (c_common_nodes_and_builtins): The first parameter to __builtin_va_start and __builtin_va_copy is now either a... * c-common.c (c_common_nodes_and_builtins): The first parameter to __builtin_va_start and __builtin_va_copy is now either a 'va_list' or a reference to a va_list. * builtins.c (stabilize_va_list): Simplify now we don't have to work around C array address decay. * c-typeck.c (convert_for_assignment): Handle assignment to a reference parameter by taking the address of the RHS. * ginclude/stdarg.h (va_start): Don't take address of first parameter. (va_copy): Likewise. (__va_copy): Likewise. * ginclude/varargs.h (va_start): Likewise. (__va_copy): Likewise. From-SVN: r32821
Geoff Keating committed
-
- 29 Mar, 2000 26 commits
-
-
From-SVN: r32820
Jeffrey A Law committed -
From-SVN: r32819
Jeffrey A Law committed -
From-SVN: r32818
Jason Merrill committed -
From-SVN: r32817
Jason Merrill committed -
Undo effects of previous delta. Do not define ASM_SPEC and SUBTARGET_EXTRA_ASM_SPEC oin arm.h as it conflicts with builds for non GAS using targets From-SVN: r32816
Nick Clifton committed -
From-SVN: r32815
Jeffrey A Law committed -
* tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't been expanded. From-SVN: r32814
Jason Merrill committed -
* stor-layout.c (bit_from_pos, byte_from_pos): New functions. (pos_from_byte, pos_from_bit, normalize_offset): Likewise. (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them. * tree.c (bit_position, byte_position): Likewise. * tree.h: Declare new functions. From-SVN: r32813
Richard Kenner committed -
* objc/Protocol.h, objc/objc-list.h: Change #endif labels to comments. From-SVN: r32812
Zack Weinberg committed -
Add definitions of ASM_SPEC and SUBTARGET_EXTRA_ASM_SPEC to arm.h if not already defined. From-SVN: r32810
Nick Clifton committed -
* hashtab.c (htab_find_with_hash): Avoid calculating hash2 unless it will be used. Rearrange loop for better optimization. (higher_prime_number): Add static prototype. From-SVN: r32809
Zack Weinberg committed -
* cppfiles.c (cpp_read_file): Don't pass zero-length string to _cpp_calc_hash. From-SVN: r32808
Zack Weinberg committed -
* dwarf2out.c (gen_enumeration_type_die): If enum has a negative value, don't output it as unsigned. From-SVN: r32807
Jakub Jelinek committed -
From-SVN: r32806
Jeffrey A Law committed -
c-common.c (c_common_nodes_and_builtins): Don't special case cplus_mode when declaring builtin bzero/bcmp... * c-common.c (c_common_nodes_and_builtins): Don't special case cplus_mode when declaring builtin bzero/bcmp, always avoid prototype arguments. From-SVN: r32805
Kaveh R. Ghazi committed -
From-SVN: r32804
Bruce Korb committed -
* calls.c (PUSH_ARGS_REVERSED) Change to expression. (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value. (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS. (save_fixed_argument_area, restore_fixed_argument_area): conditionize by #ifdef REG_PARM_STACK_SPACE only. (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS. (precompute_register_parameters): Avoid #ifdefs on ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED. (stire_one_args): Likewise. (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS. (emit_library_call_value_1): Likewise. (compute_argument_block_size): Align to STACK_BOUNDARY only for ACCUMULATE_OUTGOING_ARGS. * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value. (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH. (use_crosses_set_p): Likewise. * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to #define ACCUMULATE_OUTGOING_ARGS 1. * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS frames. * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New constants. (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros. (TARGET_SWITCHES): Add push-args, no-push-args, accumulate-outgoing-args and no-accumulate-outgoing-args. (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro. * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default. (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS and PUSH_ROUNDING. (emit_push_insn): Likewise. * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default. (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS. * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default. (STACK_DYNAMIC_OFFSET): Define correctly for both ACCUMULATE_OUTGOING_ARGS and normal mode. * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document. * tm.texi (PUSH_ARGS): Document. (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation. From-SVN: r32803
Jan Hubicka committed -
* flags.h (flag_optimize_sibling_calls): Declare. * calls.c (expand_call): Fail sibcall when !flag_optimize_sibling_calls * invoke.texi (flag_optimize_sibling_calls): Document. * toplev.c (flag_optimize_sibling_calls): New global variable. (f_options): Add flag_optimize_sibling_calls. (rest_of_compilation): Conditionize optimize_sibling_and_tail_recursive_calls by flag_optimize_sibling_calls. (main): Set flag_optimize_sibling_calls for -O2. * stmt.c (expand_return): Conditionize tail recursion by flag_optimize_sibling_calls. From-SVN: r32802
Jan Hubicka committed -
* config/i386/att.h (LOCAL_LABEL_PREFIX): Define. (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it. From-SVN: r32801
Richard Henderson committed -
From-SVN: r32800
Jeff Law committed -
gcc: * except.c (add_eh_table_entry): Mark type_info's as referenced. gcc/cp: * rtti.c (get_tinfo_decl): Mark used. (emit_tinfo_decl): Don't optimize polymorphic type_info. Only mark as dealt with, if we output it. From-SVN: r32799
Nathan Sidwell committed -
* class.c: Reorganize to put virtual function table initialization machinery at the end of the file. From-SVN: r32798
Mark Mitchell committed -
* config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given. * config/rs6000/aix43.h (CPP_SPEC): Likewise. * config/rs6000/rs6000.h (CPP_SPEC): Moved to... * config/rs6000/aix.h: then modified likewise. From-SVN: r32797
Alexandre Oliva committed -
* libjava.lang/pr184.java: New file. * libjava.lang/pr184.out: New file. From-SVN: r32796
Bryce McKinlay committed -
* rtl.h: Redistribute enum reg_note documentation. Kill trailing whitespace. * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks. Kill trailing whitespace. From-SVN: r32795
Richard Henderson committed -
* class.c (finish_struct): Use bitsize_zero_node. * pt.c (instantiate_class_template): Likewise. From-SVN: r32794
Jason Merrill committed
-
- 28 Mar, 2000 11 commits
-
-
parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index. 2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index. * ChangeLog: Fixed typo. (Fixes the following bogus patch: http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00937.html) From-SVN: r32793
Alexandre Petit-Bianco committed -
2000-03-28 Zack Weinberg <zack@wolery.cumb.org> * cppfiles.c (hash_IHASH): Just return i->hash. (cpp_included): Set dummy.hash using _cpp_calc_hash. Use htab_find_with_hash. (cpp_read_file): Likewise. (find_include_file): Likewise. Properly initialize ih->nshort. Share ih->name and ih->nshort if possible. * cpphash.c (_cpp_calc_hash): New function. (hash_HASHNODE): Just return h->hash. (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use htab_find_with_hash. * cpphash.h: Prototype _cpp_calc_hash. * cppinit.c (initialize_builtins): Provide a valid hash to _cpp_make_hashnode, using _cpp_calc_hash. * cpphash.c (collect_expansion): # is not a special character in object-like macros. In -traditional mode, /**/ is not token paste at the beginning or end of the line. * cpplib.c (do_include, do_import, do_include_next): If parse_include fails, return immediately. From-SVN: r32792
Zack Weinberg committed -
sibcall.c (indentify_call_return_value): Find last call in the chain; Allow stack adjustment after function call. * sibcall.c (indentify_call_return_value): Find last call in the chain; Allow stack adjustment after function call. From-SVN: r32791
Jan Hubicka committed -
* com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL. (ffecom_init_0): Likewise. From-SVN: r32790
Franz Sirl committed -
From-SVN: r32789
Zack Weinberg committed -
* config/arm/arm.md (return peepholes): Update to reflect the new call insn patterns. * config/arm/arm.c (arm_volatile_func): Also check current_function_nothrow. (output_return_instruction, output_func_prologue): Use it. (arm_output_epilogue, arm_expand_prologue): Likewise. From-SVN: r32788
Jason Merrill committed -
* class.c (dfs_build_vbase_offset_vtbl_entries): Put the first vbase offset at index -3, not -1. (build_vtabe_offset_vtbl_entries): Use unmarked_vtable_pathp, not dfs_vtable_path_unmarked_real_bases_queue_p to walk bases. (dfs_build_vcall_offset_vtbl_entries): Don't use skip_rtti_stuff. (build_rtti_vtbl_entries): New function. (set_rtti_entry): Remove. (build_primary_vtable): Don't use it. (build_secondary_vtable): Likewise. (start_vtable): Remove. (first_vfun_index): New function. (set_vindex): Likewise. (add_virtual_function): Don't call start_vtable. Do call set_vindex. (set_primary_base): Rename parameter. (determine_primary_base): Likewise. (num_vfun_entries): Don't use skip_rtti_stuff. (num_extra_vtbl_entries): Include RTTI information. (build_vtbl_initializer): Use build_rtti_vtbl_entries. (skip_rtti_stuff): Remove. (dfs_modify_vtables): Don't use it. (modify_all_vtables): Don't use start_vtable. Do use set_vindex. (layout_nonempty_base_or_field): Update size handling. (create_vtable_ptr): Tweak. (layout_class_type): Adjust parameter names. (finish_struct_1): Simplify. * cp-tree.h (CLASSTYPE_VSIZE): Tweak documentation. (skip_rtti_stuff): Remove. (first_vfun_index): New function. (dfs_vtable_path_unmarked_real_bases_queue_p): Remove. (dfs_vtable_path_marked_real_bases_queue_p): Remove. (marked_vtable_pathp): Declare. (unmarked_vtable_pathp): Likewise. * error.c (dump_expr): Use first_vfun_index to calculate vtable offsets. * rtti.c (build_headof): Look for RTTI at negative offsets. (get_tinfo_decl_dynamic): Likewise. (tinfo_base_init): Don't take the address of the TINFO_VTABLE_DECL here. (create_pseudo_type_info): Do it here instead. Adjust so that vptr points at first virtual function. * search.c (marked_vtable_pathp): Make it global. (unmarked_vtable_pathp): Likewise. (dfs_vtable_path_unmarked_real_bases_queue_p): Remove. (dfs_vtable_path_marked_real_bases_queue_p): Likewise. (dfs_get_pure_virtuals): Don't use skip_rtti_stuff. (get_pure_virtuals): Likewise. (expand_upcast_fixups): Likewise. * tree.c (debug_binfo): Likewise. * tinfo.cc (__dynamic_cast): Look for vtable_prefix at appropriate negative offset. From-SVN: r32787
Mark Mitchell committed -
From-SVN: r32786
Mark Mitchell committed -
From-SVN: r32785
Zack Weinberg committed -
* gcc.c (handle_braces): In {x*...} case, break out of loop if switch is found. From-SVN: r32784
Tom Tromey committed -
* expr.c (store_constructor): SIZE now signed. For EXPR_SIZE, don't evaluate size; just needed if constant. * fold-const.c (fold): Fix a number of cases when folded tree is wrong type. * function.c (flush_addressof): Reenable. * tree.h (flush_addressof): Likewise. * toplev.c (independent_decode_option): Look at strings_processed. * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned. From-SVN: r32783
Richard Kenner committed
-