1. 28 Feb, 2002 17 commits
    • c-parse.in (STATIC): New terminal. · f79f2651
      	* c-parse.in (STATIC): New terminal.
      	(scspec): New non-terminal.  Update productions accordingly.
      	(program): Remove bogus ifc / end ifc.
      	(array_declarator): Simplify production using STATIC.
      
      From-SVN: r50155
      Neil Booth committed
    • cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: \a still means TARGET_BELL. · 001e3fee
      	* cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
      	\a still means TARGET_BELL.
      
      From-SVN: r50154
      Jim Meyering committed
    • haifa-sched.c (sched_emit_insn): New. · 89076bb3
              * haifa-sched.c (sched_emit_insn): New.
              (schedule_block): Use last_scheduled_insn to track last insn.
              * sched-int.h (sched_emit_insn): Prototype.
              * config/ia64/ia64.c (last_issued): Remove.
              (ia64_variable_issue): Don't set it.
              (nop_cycles_until): Use sched_emit_insn.
      
      From-SVN: r50153
      Richard Henderson committed
    • sparc.c (sparc64_initialize_trampoline): Generate sign extended constants. · e3aaacf4
      	* config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
      	extended constants.
      
      From-SVN: r50152
      Andrew MacLeod committed
    • h8300.c: Fix formatting. · 7f473594
      	* config/h8300/h8300.c: Fix formatting.
      	* config/h8300/h8300.h: Likewise.
      
      From-SVN: r50150
      Kazu Hirata committed
    • search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope. · 28dc79bc
              * search.c (lookup_base_r): Don't clear is_non_public just because
              we found a friendly scope.
      
      From-SVN: r50143
      Jason Merrill committed
    • search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope. · 07f521fc
              * search.c (lookup_base_r): Don't clear is_non_public just because
              we found a friendly scope.
      
      From-SVN: r50140
      Jason Merrill committed
    • avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high… · b96c434c
      avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte of the frame pointer.
      
      
      	* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
      	which may overwrite the high byte of the frame pointer.
      
      From-SVN: r50138
      Marek Michalkiewicz committed
    • linux64.h (LINK_SPEC): Fix 32/64 bit compilation. · 9b420a6a
      2002-02-28  Bo Thorsen  <bo@suse.de>
      
      	* config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
      	(STARTFILE_SPEC): Add 64 bit files.
      	(ENDFILE_SPEC): Likewise.
      
      From-SVN: r50137
      Bo Thorsen committed
    • c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type. · 46cfb101
              * c-decl.c (finish_function): Only warn about missing return
              statement with -Wreturn-type.
              * cp/decl.c (finish_function): Only warn about missing return
              statement with -Wreturn-type.
      
      From-SVN: r50132
      Jason Merrill committed
    • expr.c (java_array_data_offset): Removed function. · 022dcc46
      	* expr.c (java_array_data_offset): Removed function.
      	(JAVA_ARRAY_LENGTH_OFFSET): Removed macro.
      	(build_java_array_length_access): Obtain "length" value using a
      	COMPONENT_REF, instead of INDIRECT_REF and arithmetic.
      	(build_java_arrayaccess): Correct comment. Access "data" using a
      	COMPONENT_REF, and return an ARRAY_REF instead of an INDIRECT_REF.
      	(build_java_arraystore_check): New function.
      	(expand_java_arraystore): Use build_java_arraystore_check.
      	* parse.y (patch_assignment): Simplify code to insert a store check
      	when lvalue is an ARRAY_REF. Use build_java_arraystore_check.
      	* check-init.c (check_init): Update to reflect that an array length
      	access is now a COMPONENT_REF.
      	* gcj.texi (Code Generation): Improve documentation of
      	-fno-bounds-check. Add documentation for -fno-store-check.
      	* java-tree.h (flag_store_check): Declare.
      	(build_java_arraystore_check): Declare.
      	* lang.c (flag_store_check): Initialize to 1.
      	(lang_f_options): Add store-check option.
      	* jvspec.c: Don't pass store-check option to jvgenmain.
      	* lang-options.h: Add help string for -fno-store-check.
      
      From-SVN: r50129
      Bryce McKinlay committed
    • cfgrtl.c (purge_dead_edges): Fix handling of EH edges. · 70da1d03
      
      	* cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
      
      	* i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
      	PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
      
      From-SVN: r50128
      Jan Hubicka committed
    • basic-block.h (BB_REACHABLE): Renumber. · 38c1593d
      	* basic-block.h (BB_REACHABLE): Renumber.
      	(BB_DIRTY, BB_NEW): New flags.
      	(clear_bb_flags): Declare.
      	(update_life_info_in_dirty_blocks): Declare.
      	* cfg.c (clear_bb_flags): New function.
      	* cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
      	* emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
      	reorder_insns, emit_insn_after): Mark block as dirty.
      	* flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
      	(update_life_info_in_dirty_blocks): New function.
      	* recog.c (apply_change_group): Dirtify block.
      
      	* cse.c (cse_insn): Reorder emitting of jump insn to keep
      	cfg consistent.
      	* gcse.c (delete_null_pointer_checks): Likewise.
      
      	* toplev.c (dump_file_index): Move cse2 after bp,
      	add DFI_null
      	(dump_file_info): Similary.
      	(rest_of_compilation): Avoid most of CFG rebuilds;
      	do first if converision after null pointer checks, do cse2
      	after branch prediction; avoid full liveness rebuild after
      	initializing subregs.
      	* invoke.texi (-d options): Document -du, renumber.
      
      	* cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
      	(notice_new_block): Do not set BB_UPDATE_LIFE.
      	(try_forward_edges, merge_blocks_move_predecessor_nojumps,
      	 merge_blocks_move_successor_nojumps, merge_blocks,
      	 try_crossjump_to_edge): Likewise.
      	(try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
      	* cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
      	* ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
      	(merge_of_block): Do not use life_data_ok.
      	(find_if_case_1): Do not use SET_UPDATE_LIFE.
      	(if_convert): Use BB_DIRTY mechanizm to update life.
      	* lcm.c (optimize_mode_switching): Update
      	update_life_info_in_dirty_blocks
      
      From-SVN: r50127
      Jan Hubicka committed
    • Daily bump. · bde131d3
      From-SVN: r50126
      GCC Administrator committed
    • Makefile.in (integrate.o): Update. · 63e1b1c4
      	* Makefile.in (integrate.o): Update.
      	* c-decl.c (copy_lang_decl): Rename.
      	* c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
      	* integrate.c: Include langhooks.h.
      	(copy_decl_for_inlining): Update to use langhook.
      	* langhooks-def.h (lhd_do_nothing_t,
      	LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
      	(LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.c (lhd_do_nothing_t): New.
      	* langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
      	* tree.h (copy_lang_decl): Remove.
      ada:
      	* misc.c (copy_lang_decl): Remove.
      cp:
      	* class.c (build_clone): Update.
      	* cp-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
      	* cp-tree.h (cxx_dup_lang_specific_decl): New.
      	* lex.c (copy_lang_decl): Rename cxx_dup_lang_specific_decl.
      	(copy_decl): Update.
      	* method.c (make_thunk): Update.
      f:
      	* com.c (copy_lang_decl): Delete.
      java:
      	* decl.c (copy_lang_decl): Rename java_dup_lang_specific_decl.
      	* java-tree.h (java_dup_lang_specific_decl): New.
      	* lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
      objc:
      	* objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
      
      From-SVN: r50122
      Neil Booth committed
    • dwarf2out.c (stack_adjust_offset): Add support for POST_INC, POST_DEC, and POST_MODIFY. · f472fa29
      	* dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
      	POST_DEC, and POST_MODIFY.
      
      From-SVN: r50121
      Andrew MacLeod committed
    • natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'. · d6275471
      2002-02-27  Adam Megacz <adam@xwt.org>
      
              * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
              '#undef STRICT'.
      
      From-SVN: r50120
      Adam Megacz committed
  2. 27 Feb, 2002 23 commits