aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-05-01Update copyrights.Jeff Law12-12/+12
From-SVN: r33579
2000-05-01Update copyright.Jeff Law1-1/+1
From-SVN: r33578
2000-05-01mn10300.c (print_operand_address): Do not add zero to SP.Alexandre Oliva2-6/+4
* config/mn10300/mn10300.c (print_operand_address): Do not add zero to SP. From-SVN: r33577
2000-05-01Update copyrights.Jeff Law16-16/+16
From-SVN: r33576
2000-05-01Update copyrightJeff Law1-1/+1
From-SVN: r33575
2000-05-01Update copyright.Jeff Law5-5/+5
From-SVN: r33574
2000-05-01mn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes...Alexandre Oliva2-25/+12
* config/mn10300/mn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes, use ret regardless of having any callee-saved register to restore. From-SVN: r33573
2000-05-01* tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.Laurynas Biveinis2-1/+5
From-SVN: r33572
2000-05-01cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro.Mark Mitchell9-38/+75
* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro. * call.c (standard_conversion): Use it. (direct_reference_binding): Likewise. (build_over_call): Likewise. (is_properly_derived_from): Likewise. (compare_ics): Likewise. * class.c (resolves_to_fixed_type_p): Likewise. * optimize.c (declare_return_variable): Likewise. * pt.c (is_specialization_of): Likewise. (unify): Likewise. * typeck.c (comp_target_parms): Likeiwse. (build_static_cast): Likewise. (build_reinterpret_cast): Likewise. (build_const_cast): Likewise. (comp_ptr_ttypes_real): Likewise. (comp_ptr_ttypes_const): Likewise. * typeck2.c (process_init_constructor): Likewise. From-SVN: r33571
2000-05-01djgpp.h (INT_ASM_OP): Define.Mark Elbrecht2-1/+79
* config/i386/djgpp.h (INT_ASM_OP): Define. (CPP_PREDEFINES): Rename MSDOS to __MSDOS__. (ASM_WEAKEN_LABEL): Define. (MASK_BNU210): Define. (SUBTARGET_SWITCHES): Define. (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define. (MAKE_DECL_ONE_ONLY): Define. (UNIQUE_SECTION_P, UNIQUE_SECTION): Define. From-SVN: r33570
2000-05-01* i386/cygwin.h (INT_ASM_OP): Define.Mumit Khan2-0/+8
From-SVN: r33569
2000-05-01avr.c (address_cost): renamed to avr_address_cost.Denis Chertykov3-2/+7
* config/avr/avr.c (address_cost): renamed to avr_address_cost. * config/avr/avr.h (ADDRESS_COST): use avr_address_cost. From-SVN: r33568
2000-05-01avr.c (asm_file_start): output 0 as r0 and 1 as r1 in __tmp_reg__ and ↵Denis Chertykov2-2/+7
__zero_reg__ initialization. * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in __tmp_reg__ and __zero_reg__ initialization. From-SVN: r33567
2000-05-01Daily bump.Jeff Law2-2/+2
From-SVN: r33565
2000-05-01* flow.c (propagate_one_insn): Mark sets even when the insn is dead.Richard Henderson2-5/+11
From-SVN: r33564
2000-04-30ifcvt.c (noce_process_if_block): Fail the conversion if X is referenced ↵Richard Henderson2-6/+17
bewteen the condition and the jump. * ifcvt.c (noce_process_if_block): Fail the conversion if X is referenced bewteen the condition and the jump. Don't delete anything but the jump. From-SVN: r33563
2000-05-01decl.c (finish_destructor_body): Use the base destructor when destroying ↵Scott Snyder3-1/+29
virtual bases. * decl.c (finish_destructor_body): Use the base destructor when destroying virtual bases. From-SVN: r33562
2000-05-01expr.c (cplus_expand_expr): Preserve temporaries when expanding STMT_EXPRs.Mark Mitchell4-6/+104
* expr.c (cplus_expand_expr): Preserve temporaries when expanding STMT_EXPRs. * optimize.c (struct inline_data): Add target_exprs field. (declare_return_variable): When a function returns an aggregate, use the variable declared in the TARGET_EXPR as the remapped DECL_RESULT. (expand_call_inline): Update the pending target_exprs stack. (optimize_function): Initialize the stack. From-SVN: r33561
2000-05-01bb-reorder.c (scope_def): New struct.Jason Eckhardt2-2/+683
Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com> * bb-reorder.c (scope_def): New struct. (scope_forest_info): New struct. (struct reorder_block_def): New member "scope". (REORDER_BLOCK_SCOPE): New macro. (relate_bbs_with_scopes): New function and prototype. (make_new_scope): Likewise. (build_scope_forest): Likewise. (remove_scope_notes): Likewise. (insert_intra_1): Likewise. (insert_intra_bb_scope_notes): Likewise. (insert_inter_bb_scope_notes): Likewise. (rebuild_scope_notes): Likewise. (free_scope_forest_1): Likewise. (free_scope_forest): Likewise. (dump_scope_forest): Likewise. (dump_scope_forest_1): Likewise. (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block. Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new block. (reorder_basic_blocks): Added calls to build_scope_scope_forest and remove_scope_notes before reordering is done. Added calls to rebuild_scope_notes, free_scope_forest, and reorder_blocks after after reordering is done. From-SVN: r33560
2000-05-01* decl2.c (finish_file): Fix typo in comment.Mark Mitchell2-1/+3
From-SVN: r33559
2000-04-30removed two stale entriesBruce Korb2-39/+6
From-SVN: r33557
2000-04-30Added definitions needed by OSR5Bruce Korb4-286/+572
From-SVN: r33556
2000-04-30ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes from the ↵Richard Henderson2-0/+18
last insn in the sequence. * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes from the last insn in the sequence. From-SVN: r33555
2000-04-30* method.c (emit_thunk): Don't try to return a `void' value.Mark Mitchell2-1/+6
From-SVN: r33554
2000-04-30optimize.c (initialize_inlined_parameters): If the parameter is addressable...Mark Mitchell2-1/+9
* optimize.c (initialize_inlined_parameters): If the parameter is addressable, we need to make a new VAR_DECL, even if the initializer is constant. From-SVN: r33553
2000-04-30cpplex.c (cpp_idcmp): New function.Zack Weinberg6-200/+243
* cpplex.c (cpp_idcmp): New function. * cpplib.h: Prototype it. * scan_decls.c (scan_decls): Use it to inspect token names. * fix-header.c (read_scan_file): Likewise. Set system_header_p on the file being run through the preprocessor. (check_macro_names): Provide length of token to cpp_defined. * Makefile.in: Remove stale warning message. From-SVN: r33552
2000-04-30cppfiles.c (redundant_include_p): Provide length of token to cpp_defined.Zack Weinberg5-39/+37
* cppfiles.c (redundant_include_p): Provide length of token to cpp_defined. * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash values are unsigned int. (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length. (_cpp_lookup_slot): Do not calculate the hash, either. * cpphash.h: Update prototypes. * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert): Hashes are unsigned int. Calculate hash here, pass by value to _cpp_lookup_slot. From-SVN: r33551
2000-04-30Fix memory corruption bugBernd Schmidt2-30/+34
From-SVN: r33549
2000-04-30d30v: New port.Richard Henderson11-91/+14466
* config/d30v: New port. * configure.in (d30v-*): Set fp format. * configure: Rebuild. From-SVN: r33548
2000-04-30ifcvt.c: New file.Richard Henderson6-1494/+2147
* ifcvt.c: New file. * Makefile.in (OBJS): Add it. (ifcvt.o): New target. * jump.c (jump_optimize_1): Remove all code related to if-conversion, and conditional arithmetic. (find_insert_position): Remove. * timevar.def (TV_IFCVT, TV_IFCVT2): New. * toplev.c (DFI_ce, DFI_ce2): New. (dump_file): Add ce and ce2 dumps. (rest_of_compilation): Run if_convert a couple o times. Set cse_not_expected after cse2. Don't set no_new_pseudos until after sched1 or recompute_reg_usage. From-SVN: r33547
2000-04-30t-crtbe (crtbegin.o): Add "-I.".Richard Henderson2-4/+9
* config/alpha/t-crtbe (crtbegin.o): Add "-I.". (crtend.o, crtbeginS.o, crtendS.o): Likewise. From-SVN: r33546
2000-04-30Remove ifnottex block confusing makeinfo 3.12.Richard Henderson1-3/+0
From-SVN: r33545
2000-04-30flow.c (struct reg_cond_life_info): New.Richard Henderson3-1/+453
* flow.c (struct reg_cond_life_info): New. (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg. (init_propagate_block_info): Initialize them. (free_propagate_block_info): Destruct them. (mark_set_1): Consider conditional life before killing a register. (mark_regno_cond_dead): New. (free_reg_cond_life_info): New. (flush_reg_cond_reg_1, flush_reg_cond_reg): New. (ior_reg_cond, not_reg_cond, nand_reg_cond): New. (mark_used_reg): Record conditional life. * haifa-sched.c (schedule_insns): Disable death counting sanity check for HAVE_conditional_execution. From-SVN: r33544
2000-04-30Makefile.in (TIMEVAR_H): New.Richard Henderson2-7/+11
* Makefile.in (TIMEVAR_H): New. (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it. (timevar.h): Remove rule. From-SVN: r33543
2000-04-30Missed last config/alpha update.Richard Henderson1-0/+7
From-SVN: r33540
2000-04-30Daily bump.Jeff Law2-2/+2
From-SVN: r33539
2000-04-30cpphash.h (enum node_type): Take out T_MCONST.Zack Weinberg4-145/+195
* cpphash.h (enum node_type: Take out T_MCONST. (union hashval): Move into struct hashnode. (struct hashnode): Pack tighter. Remove file, line, col members. * cpphash.c: Constify most of the macro-definition structures. (struct definition): Replace by struct object_defn and struct funct_defn. Put file, line, column information here. All users updated to match. (_cpp_create_definition, _cpp_macroexpand): Remove special case for #define WORD OTHERWORD. * cpplib.c (do_undef): Remove T_MCONST case. From-SVN: r33538
2000-04-29crtend.asm: Use C comments instead of #.Richard Henderson3-116/+133
* config/alpha/crtend.asm: Use C comments instead of #. * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden. * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL. From-SVN: r33537
2000-04-29cpphash.h: Move struct reflist, struct definition, and the DEFINITION ↵Zack Weinberg4-75/+83
typedef to cpphash.c. * cpphash.h: Move struct reflist, struct definition, and the DEFINITION typedef to cpphash.c. Use 'struct definition *' in union hashval. _cpp_free_definition takes a HASHNODE pointer. * cpphash.c (_cpp_free_definition): Free data pointed to by MCONST, XCONST, MACRO, and FMACRO nodes properly. (_cpp_create_definition, del_HASHNODE): Just call _cpp_free_definition to clear out a hashnode. * cpplib.c (do_pragma_poison): Likewise. From-SVN: r33536
2000-04-29mn10300.h (FIRST_DATA_REGNUM, [...]): New macros.Alexandre Oliva2-30/+59
* config/mn10300/mn10300.h (FIRST_DATA_REGNUM, LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM, FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros. (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM. (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P, REGNO_AM33_P): Redefine in terms of the new macros. (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise. (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, STRUCT_VALUE): Likewise. (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM, ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved. From-SVN: r33534
2000-04-29Daily bump.Jeff Law2-2/+2
From-SVN: r33532
2000-04-28revertJason Merrill2-9/+0
From-SVN: r33531
2000-04-28regmove.c (struct record_stack_memrefs_data): New.Jan Hubicka2-18/+64
* regmove.c (struct record_stack_memrefs_data): New. (record_stack_memrefs): New function. (combine_stack_adjustments_for_block): Use it. From-SVN: r33529
2000-04-28calls.c (calls_function_1): Propertly handle TREE_LIST expressions; use ↵Jan Hubicka2-12/+18
special_function_p to detect alloca. * calls.c (calls_function_1): Propertly handle TREE_LIST expressions; use special_function_p to detect alloca. From-SVN: r33528
2000-04-28* gcc.texi: Fixes for makeinfo 4.0 --html.Marc Espie2-17/+21
From-SVN: r33526
2000-04-28* decl.c (grok_op_properties): Add an extra check of argtypes.Cosmin Truta2-14/+19
From-SVN: r33524
2000-04-28pcp.h: Delete file.Zack Weinberg4-102/+8
* pcp.h: Delete file. * po/POTFILES.in: Update. From-SVN: r33522
2000-04-28h8300.c (function_epilogue): Clean up flags when the last insn in a function ↵Kazu Hirata2-1/+6
is a barrier. * h8300.c (function_epilogue): Clean up flags when the last insn in a function is a barrier. From-SVN: r33521
2000-04-28configure.in (sparc-hal-solaris2*): protect [] glob from my expansion.Chris Demetriou3-8/+18
* configure.in (sparc-hal-solaris2*): protect [] glob from my expansion. (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines rather than hard-coded constants in target_cpu_default2. * configure: Regenerate. From-SVN: r33520
2000-04-28tree.c (get_callee_fndecl): Extract the initial value from a readonly decl.Jason Merrill4-0/+22
* tree.c (get_callee_fndecl): Extract the initial value from a readonly decl. * cp/optimize.c (initialize_inlined_parameters): Call c_apply_type_quals_to_decl. Set DECL_INITIAL. From-SVN: r33518