aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-05-17Daily bump.Jeff Law2-2/+2
From-SVN: r33952
2000-05-16crtbegin.asm (__dso_handle): Mark hidden if the assembler supports it.Richard Henderson3-70/+128
* config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the assembler supports it. (.fini, .init): Use a gp-relative indirect call. (__do_global_dtors_aux): Preserve the gp; rebundle. (__do_frame_setup): Likewise. * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1. (.init): Use a gp-relative indirect call. (__do_global_ctors_aux): Preserve the gp. From-SVN: r33951
2000-05-16flow.c (commit_one_edge_insertion): Be prepared for a return insn to be ↵Richard Henderson4-78/+91
inserted on the edge with a normal jump. * flow.c (commit_one_edge_insertion): Be prepared for a return insn to be inserted on the edge with a normal jump. * jump.c (jump_optimize_1): Don't look to create return isns. * flow.c (flow_delete_insn): Don't adjust reference count of notes. * jump.c (jump_optimize_1): Likewise. (returnjump_p): Verify the argument is a JUMP_INSN. * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL. From-SVN: r33950
2000-05-16Replace (GET_RTX_CLASS(GET_CODE()) == 'i') with INSN_P()Nick Clifton2-29/+34
From-SVN: r33949
2000-05-16cp-treeh (BINFO_NEW_VTABLE_MARKED): Update documentation.Mark Mitchell3-61/+28
* cp-treeh (BINFO_NEW_VTABLE_MARKED): Update documentation. * init.c (dfs_vtable_path_unmark): Remove. * search.c (marked_new_vtable_p): Likewise. (unmarked_new_vtable_p): Likewise. (dfs_search_slot_nonempty_p): Likewise. (dfs_mark): Likewise. (dfs_vtable_path_unmark): Likewise. (dfs_find_vbases): Don't set BINFO_NEW_VTABLE_MARKED. (dfs_int_vbase_pointers): Don't clear BINFO_VTABLE_PATH_MARKED. (dfs_init_vbase_pointers): Remove special-case new ABI code. (dfs_clear_vbase_slots): Don't clear BINFO_NEW_VTABLE_MARKED. (init_vbase_pointers): Simplify. (expand_indirect_vtbls_init): Likewise. From-SVN: r33948
2000-05-1620000516-1.c: New test.Franz Sirl2-0/+22
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20000516-1.c: New test. From-SVN: r33947
2000-05-16rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like VAR_DECL.Franz Sirl2-1/+4
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like VAR_DECL. From-SVN: r33946
2000-05-16sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.Franz Sirl2-3/+4
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable. From-SVN: r33945
2000-05-16class.c (copy_virtuals): New function.Mark Mitchell2-27/+85
* class.c (copy_virtuals): New function. (build_primary_table): Use it. (build_secondary_vtable): Likewise. (modify_vtable_entry): Use NULL_TREE, not integer_zero_node, to indicate that no vcall offset is required. (add_virtual_function): Likewise. (modify_all_vtables): Likewise. (dfs_finish_vtbls): Adjust call to build_vtbl_initializer. (dfs_accumulate_vtbl_inits): Likewise. (build_vtbl_initializer): Make changes to handle construction vtables. (dfs_build_vcall_offset_vtbl_entries): Likewise. (build_rtti_vtbl_entries): Likewise. (build_vtable_entries): Handle a NULL vcall_index. From-SVN: r33944
2000-05-16sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according to given ↵Franz Sirl2-4/+15
options. 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according to given options. From-SVN: r33942
2000-05-16mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS if X has ↵Jeffrey A Law3-4/+12
VOIDmode either. * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS if X has VOIDmode either. (LIMIT_RELOAD_CLASS): Similarly. * mn10200.md (indirect_jump, tablejump): Use "register_operand", not "general_operand" to match the processor's capabilities. From-SVN: r33940
2000-05-16Comments from first commit :-)Bruce Korb1-0/+10
From-SVN: r33933
2000-05-16corrected and rewrote char_macro_* fixes to parse the text with regexesBruce Korb4-284/+326
From-SVN: r33931
2000-05-16added several "test_text" attributes; changed several fixes to use `c_fix = ↵Bruce Korb4-939/+1282
format' and re-alphabetized the fixes From-SVN: r33930
2000-05-16* config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.Alexandre Oliva2-4/+4
From-SVN: r33929
2000-05-16* g++.old-deja/g++.other/eh.C: New test.Jakub Jelinek2-0/+24
From-SVN: r33928
2000-05-16Daily bump.Jeff Law2-2/+2
From-SVN: r33927
2000-05-15toplev.c (rest_of_compilation): Run full jump pass before find_basic_blocks ↵Richard Henderson2-1/+7
of flow2. * toplev.c (rest_of_compilation): Run full jump pass before find_basic_blocks of flow2. From-SVN: r33925
2000-05-15jump.c: Fix typos and clarify commentary from last change.Richard Henderson2-49/+37
* jump.c: Fix typos and clarify commentary from last change. (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE. (safe_to_remove_jump_p): Remove. (condjump_label): Use pc_set. From-SVN: r33924
2000-05-15ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns that get in ↵Richard Henderson2-0/+23
the way after reload. * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns that get in the way after reload. (cond_exec_process_if_block): Skip a label heading THEN block. From-SVN: r33923
2000-05-15varasm.c (output_constant_pool): Abort instead of converting (improperly) ↵Richard Henderson2-8/+35
deleted labels to zero. * varasm.c (output_constant_pool): Abort instead of converting (improperly) deleted labels to zero. From-SVN: r33922
2000-05-15Update to libgcc copyright exception clause.Jeff Law27-258/+183
From-SVN: r33916
2000-05-15cpplex.c (parse_string2): Update comment.Neil Booth4-15/+12
* cpplex.c (parse_string2): Update comment. (cpp_lex_line): No special assertion treatment for '('. * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT. * cpplib.h (SYNTAX_ASSERT): Remove. From-SVN: r33915
2000-05-15jump.c (condjump_p): Mark as depreached.Jan Hubicka3-2/+99
* jump.c (condjump_p): Mark as depreached. (any_condump_p): New. (any_uncondump_p): New. (pc_set): New. (safe_to_remove_jump_p): New. * rtl.h (any_condump_p, any_uncondjump_p, pc_set safe_to_remove_jump_p): Declare. From-SVN: r33914
2000-05-15calls.c: Re-install both patches reverted by last patch.Jan Hubicka2-237/+280
* calls.c: Re-install both patches reverted by last patch. (struct arg_data): New field tail_call_reg. (initialize_argument_information): Initialize tail_call_reg (load_register_parameters): New argument flags, use tail_call_reg when emiting tail call sequence. (expand_call): Update call of load_register_parameters; copy unadjusted_args_size to adjusted_args_size. From-SVN: r33913
2000-05-15loop.c (scan_loop, [...]): Change unroll_p and bct_p parameters to flags.Jan Hubicka5-17/+29
* loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p and bct_p parameters to flags. * loop.h (LOOP_UNROLL, LOOP_BCT): New constants. * rtl.h (loop_optimize): Update prototype. * toplev.c (rest_of_compilation): Update call of loop_optimize. From-SVN: r33912
2000-05-15calls.c (expand_call): Move expand_start_target_temps call after ↵Jakub Jelinek2-6/+14
start_sequence(). * calls.c (expand_call): Move expand_start_target_temps call after start_sequence(). From-SVN: r33911
2000-05-15Apparently forgot to commit this when I did the "real" work...Robert Lipe1-0/+5
2000-05-11 Robert Lipe <robertlipe@usa.net> * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO. * fixincl.x: Regenerate. From-SVN: r33910
2000-05-15decl2.c (lang_decode_option): Fix thinko.Gabriel Dos Reis2-3/+7
2000-05-15 Gabriel Dos Reis <gdr@codesourcery.com> * decl2.c (lang_decode_option): Fix thinko. From-SVN: r33909
2000-05-15Daily bump.Jeff Law2-2/+2
From-SVN: r33908
2000-05-14except.c (check_handlers): New fn.Jason Merrill5-11/+124
* except.c (check_handlers): New fn. * cp-tree.h: Declare it. * semantics.c (finish_handler_sequence): Call it. (finish_function_handler_sequence): Likewise. (finish_handler_parms): Set TREE_TYPE on the handler. * cp-tree.h (PUBLICLY_UNIQUELY_DERIVED_P): New macro. * search.c (get_base_distance_recursive): If protect>1, ignore special access. (get_base_distance): Don't reduce watch_access. From-SVN: r33904
2000-05-14newJason Merrill1-0/+21
From-SVN: r33903
2000-05-14updateJason Merrill14-14/+42
From-SVN: r33902
2000-05-14cpphash.c (trad_stringify, [...]): Make some pointers pointers to const.Neil Booth5-65/+108
* cpphash.c (trad_stringify, warn_trad_stringify, collect_params): Make some pointers pointers to const. * cpplex.c (auto_expand_name_space) Guaranteed to always expand by at least one character. (SPELL_CHAR, SPELL_NONE): Temporarily reverse order. (struct token_spelling): Use const U_CHAR * rather than PTR. (expand_name_space): Fix up token pointers if name space is moved when expanding. (INIT_NAME, cpp_scan_line, parse_name, parse_number, parse_string2, save_comment, spell_token, cpp_output_list): Update so the routines handle tokens with a direct pointer to their text, rather than an offset into the token's list's namebuf. (_cpp_lex_line): Rearrange for clarity. * cpplib.c (_cpp_check_directive): Similarly. (do_define): Make SYM a pointer to const. * cpplib.h (struct cpp_name): Replace offset with direct pointer. (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT. (TOK_OFFSET): Delete. (TOK_NAME): Update. From-SVN: r33901
2000-05-14rs6000.h (RETURN_ADDRESS_OFFSET): Correct for 64-bit ABI.Geoff Keating2-1/+4
* config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for 64-bit ABI. From-SVN: r33900
2000-05-14rs6000.c (logical_operand): Rewrite to take MODE into account.Geoff Keating5-876/+334
* config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE into account. (logical_u_operand): Delete. (non_logical_cint_operand): Rewrite to take MODE into account. (non_logical_u_cint_operand): Delete. (boolean_operator): New function. (print_operand): Add new %q operand. * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator, remove logical_u_operand and non_logical_u_cint_operand, update logical_operand and non_logical_cint_operand. * config/rs6000/rs6000.md: Rewrite the patterns for performing logical operations to use %q. From-SVN: r33899
2000-05-14rs6000.md (movsi): Don't modify RTL in-place.Geoff Keating4-17/+21
* config/rs6000/rs6000.md (movsi): Don't modify RTL in-place. (movdi): Make similar to movsi. * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There is no such thing as a DImode CONST_DOUBLE. * config/rs6000/rs6000.c (output_toc): Likewise. From-SVN: r33898
2000-05-14rs6000.c (output_cbranch): Don't output prediction codes when old mnemonics ↵Geoff Keating2-4/+9
are in use. * rs6000.c (output_cbranch): Don't output prediction codes when old mnemonics are in use. Print register names for cc registers when requested. From-SVN: r33897
2000-05-14Add several tests and use the ``c_fix = format'' fixer moreBruce Korb5-126/+240
From-SVN: r33895
2000-05-14optabs.c (expand_float): Don't allow mode widening that causes double rounding.Geoff Keating2-1/+8
* optabs.c (expand_float): Don't allow mode widening that causes double rounding. From-SVN: r33894
2000-05-14invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32 flags to their ↵Geoff Keating2-8/+13
current names -maix64 and -maix32. * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32 flags to their current names -maix64 and -maix32. From-SVN: r33893
2000-05-14implement "wrap" c_fixBruce Korb7-109/+264
From-SVN: r33892
2000-05-14mklibgcc.in (building libgcc1): Do not use unset variables $src and $dst.Hans-Peter Nilsson2-6/+10
* mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset variables $src and $dst. From-SVN: r33891
2000-05-14diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.Gabriel Dos Reis7-2/+86
2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro. (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise. (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise. (struct output_buffer: emitted_prefix_p, prefixing_rule): New fields. (set_message_prefixing_rule): Declare. * diagnostic.c: (current_prefixing_rule): New variable. (set_message_prefixing_rule): Define. (output_set_prefix): Adjust buffer->emitted_prefix_p. (init_output_buffer): Adjust Initialization. (output_emit_prefix): Rewrite. Take prefixing rules into account. cp/ 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com> * lex.c: #include diagnostic.h. (lang_init_options): Set default prefixing rules. * lang-options.h: Add -fdiagnostics-show-location=. * decl2.c: #include diagnostic.h. (lang_decode_option): Handle -fdiagnostics-show-location=. From-SVN: r33890
2000-05-14Daily bump.Jeff Law2-2/+2
From-SVN: r33889
2000-05-13* ifcvt.c (if_convert): Do not free NULL.Philippe De Muyter2-1/+6
From-SVN: r33888
2000-05-13Daily bump.Jeff Law2-2/+2
From-SVN: r33887
2000-05-12fix up some of the testingBruce Korb7-99/+184
From-SVN: r33886
2000-05-12Add movdi pattern to FR30 port.Nick Clifton5-13/+262
From-SVN: r33885
2000-05-12alpha.c (struct shadow_summary): Define bitfields as type unsigned int.Richard Henderson2-3/+8
* config/alpha/alpha.c (struct shadow_summary): Define bitfields as type unsigned int. From-SVN: r33884