aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-05-01configure.in (alpha*-*-linux-gnulibc1*): Remove reference to alpha/t-linux.Richard Henderson3-4/+9
* configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove reference to alpha/t-linux. (alpha*-*-linux-gnu*): Likewise. * configure: Rebuild. From-SVN: r33598
2000-05-01flow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in ↵Richard Henderson2-3/+5
SSA form. * flow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in SSA form. From-SVN: r33597
2000-05-01* calls.c (expand_call): Don't emit reg notes for a sibcall.Richard Henderson2-1/+6
From-SVN: r33596
2000-05-01tree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just ↵Jason Merrill4-12/+38
return it. * tree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just return it. * optimize.c (initialize_inlined_parameters): Don't generate an EXPR_STMT if we can just use DECL_INITIAL. * decl.c (emit_local_var): Only make the initialization a full-expression if stmts_are_full_exprs_p. From-SVN: r33595
2000-05-01(The patch contained impurities -- this should fix the situation.)Alexandre Petit-Bianco2-181/+239
From-SVN: r33591
2000-05-01* ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.Richard Henderson2-0/+6
From-SVN: r33590
2000-05-01integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE.Jason Merrill2-0/+7
* integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE. From-SVN: r33589
2000-05-01re GNATS gcj/195: (gcj fail on code to implement an inner interface.)Alexandre Petit-Bianco2-5/+33
2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (register_incomplete_type): Handle JDEP_ANONYMOUS. (This is a fix for the Java PR #195: http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00009.html) From-SVN: r33588
2000-05-01ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.Richard Henderson2-0/+13
* ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move. From-SVN: r33585
2000-05-01Change dynamic linker name to conform to current glibc. From Jakub Jelinek.Jakub Jelinek2-1/+6
* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1 as the dynamic linker. From-SVN: r33584
2000-05-01cppfiles.c (open_include_file): Open file in blocking mode.Zack Weinberg2-24/+24
* cppfiles.c (open_include_file): Open file in blocking mode. (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore. Only exclude block devices and directories. From-SVN: r33583
2000-05-01Oops, forgot to commit this with the last changeZack Weinberg1-0/+23
From-SVN: r33582
2000-05-01cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static.Zack Weinberg8-138/+85
* cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static. Allocate the hashnode and its string in the same block of memory. (del_HASHNODE): Don't free h->name. (_cpp_lookup): If there is no entry for this string, create one, of type T_VOID. (_cpp_lookup_slot): Delete. * cpphash.h: Update prototypes. * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID, not hp == NULL. * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert, do_unassert, cpp_defined): Use _cpp_lookup. Don't create a node here, just fill in the value field properly. "Delete" entries by setting the value field to T_VOID. Check for hp->type == T_VOID, not hp == NULL. * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H). * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include hashtab.h. From-SVN: r33581
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