1. 20 Jul, 2001 15 commits
  2. 19 Jul, 2001 20 commits
    • * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition. · 6dd12198
      	* optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
      	pointer extension instruction.
      	* combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
      	* simplify-rtx.c (simplify_unary_operation) Likewise.
      	* explow.c (convert_memory_address) Check value of
      	POINTERS_EXTEND_UNSIGNED to avoid some conversions when
      	less than zero.
      	* config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
      	MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
      	* config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
      	Add Multilib Support.
      	(POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
      	* config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
      	Add Multilib Support.
      	(POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
      	support.
      	* config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
      	* config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
      	a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
      
      From-SVN: r44166
      Steve Ellcey committed
    • simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from old and new… · 0248ce05
      simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from old and new operands in `<', `3' and `b'.
      
      2001-07-19  Alexandre Oliva  <aoliva@redhat.com>
      
      	* simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
      	old and new operands in `<', `3' and `b'.
      
      From-SVN: r44164
      Alexandre Oliva committed
    • Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h. · e1772ac0
      	* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
      	(final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
      	(toplev.o): Don't depend on xcoffout.h.
      	* c-decl.c: Include debug.h
      	(duplicate_decls): Use debug hook.
      	* dbxout.c (dbxout_source_file, dbxout_args): Make static.
      	(dbx_debug_hooks, xcoff_debug_hooks): Update.
      	(dbxout_types): Remove.
      	* dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
      	* debug.c (do_nothing_debug_hooks): Update.
      	(debug_true_tree, debug_nothing_rtx): New.
      	* debug.h (struct rtx_def): New.
      	(struct gcc_debug_hooks): New hooks ignore_block,
      	outlining_inline_function and label.
      	(debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
      	dwarf2out_frame_finish): New.
      	* dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
      	Make static, update prototype.
      	(dwarf2_debug_hooks): Update.
      	* dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
      	dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
      	* dwarfout.c (dwarf_debug_hooks): Update.
      	* emit-rtl.c: Include debug.h.
      	(remove_unnecessary_notes): Use debug hook.
      	* final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
      	(final_scan_insn): Use debug hook.
      	* integrate.c (output_inline_function): Use debug hook.
      	* sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
      	(sdb_debug_hooks): Update.
      	* sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
      	* toplev.c: Don't include xcoffout.h.
      	(note_outlining_of_inline_function, debug_ignore_block): Remove.
      	* toplev.h (note_outlining_of_inline_function, debug_ignore_block):
      	Remove.
      	* tree.h (dwarf2out_do_frame): Remove.
      
      From-SVN: r44163
      Neil Booth committed
    • Restore ASM_OUTPUT_LABEL_REF definition. · 77f43519
      From-SVN: r44162
      Catherine Moore committed
    • reload1.c (eliminate_regs_in_insn): When updating a set to the frame pointer to… · c77fbfbe
      reload1.c (eliminate_regs_in_insn): When updating a set to the frame pointer to the hardware frame pointer...
      
      	* reload1.c (eliminate_regs_in_insn): When updating a set
      	to the frame pointer to the hardware frame pointer, perform
      	the update always not just when REPLACE is set.
      
      From-SVN: r44161
      Geoffrey Keating committed
    • reload1.c (choose_reload_regs): Don't inherit a reload that crosses multiple registers if... · eb4d554e
      	* reload1.c (choose_reload_regs): Don't inherit a reload
      	that crosses multiple registers if registers past the first
      	don't fit in the desired class.
      
      From-SVN: r44160
      Geoffrey Keating committed
    • top.c (ffe_decode_option): Disallow lang-independent processing for -ffixed-form. · 8d3216f8
      	* top.c (ffe_decode_option): Disallow lang-independent processing
      	for -ffixed-form.
      
      From-SVN: r44159
      Jakub Jelinek committed
    • ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode when negating constants. · d54ef62c
      	* ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
      	when negating constants.
      
      From-SVN: r44158
      Geoffrey Keating committed
    • tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument. · 7d46d516
      2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
      	* doc/tree.texi: Ditto.
      	* f/com.c (ffecom_expr_intrinsic_): Cope with it.
      
      From-SVN: r44156
      Toon Moene committed
    • unwind-dw2.c (_Unwind_FrameState): Add eh_ptr. · 5442cf15
      	* unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
      	(extract_cie_info): Handle "eh" augmentation properly,
      	remember eh_ptr.
      	(struct frame_state, __frame_state_for): New.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r44155
      Mark Kettenis committed
    • osf.h (ASM_OUTPUT_WEAK_ALIAS, [...]): Define. · 432fa9f2
      	* config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
      	HANDLE_SYSV_PRAGMA): Define.
      	* mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
      	previous args.
      	(copy_object): Caller changed.
      
      	testsuite:
      	* g++.old-deja/g++.pt/static3.C: Removed alpha*-*-osf* XFAIL.
      	g++.old-deja/g++.pt/static6.C: Likewise.
      	* lib/target-supports.exp (check_weak_available): alpha*-*-osf*
      	supports weak symbols.
      
      From-SVN: r44153
      Rainer Orth committed
    • re PR java/3731 (gcj should generate class init code for instanceof) · deaabf14
      * libjava.lang/PR3731.java: New file.
      * libjava.lang/PR3731.out: New file.
      * libjava.lang/PR3731.xfail: New file.
      
      From-SVN: r44151
      Jeff Sturm committed
    • configure.in (assembler dwarf2 debug_line support): Define nop insn for m68k. · bfabbc3c
      	* configure.in (assembler dwarf2 debug_line support): Define nop
      	insn for m68k.
      	* configure: Regenerated.
      
      From-SVN: r44149
      Andreas Schwab committed
    • * class.c (finish_struct_anon): Forbid nested classes. · b7076960
      From-SVN: r44148
      Mark Mitchell committed
    • Daily bump. · 69e6b1d4
      From-SVN: r44146
      GCC Administrator committed
    • Makefile.in (toplev.o, [...]): Don't depend on dwarfout.h. · 2b85879e
      	* Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
      	dwarfout.h.
      	* dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
      	to conditionally compiled block.
      	(dbx_debug_hooks, xcoff_debug_hooks): Update.
      	* dbxout.h (dbxout_function): Remove.
      	* debug.c (do_nothing_debug_hooks): Update.
      	* debug.h (struct gcc_debug_hooks): New hooks function_decl,
      	global_decl, deferred_inline_function.
      	* dwarf2out.c (dwarf2_debug_hooks): Update.
      	(dwarf2out_global_decl): New.
      	* dwarfout.c: Don't include dwarfout.h.
      	(dwarfout_global_decl, dwarfout_function_decl,
      	dwarfout_deferred_inline_function): New.
      	(dwarf_debug_hooks): Update.
      	* dwarfout.h: Remove.
      	* final.c: Don't include dwarfout.h.
      	* sdbout.c (sdbout_global_decl): New.
      	(sdbout_debug_hooks): Update.
      	* toplev.c: Don't include dwarfout.h.
      	(check_global_declarations, rest_of_compilation): Use new debug hooks.
      	(note_deferral_of_defined_inline_function): Remove.
      	* toplev.h (note_deferral_of_defined_inline_function): Remove.
      	* ch/Makefile.in (lex.o): No dependence on dwarfout.h.
      	* ch/lex.c: Don't include dwarfout.h.
      	* cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
      	(semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
      	* cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
      	* cp/optimize.c: Include debug.h.
      	(maybe_clone_body): Use debug hook.
      	* cp/semantics.c: Include debug.h.
      	(expand_body): Use debug hook.
      	* po/POTFILES.in: Remove dwarfout.h.
      
      From-SVN: r44145
      Neil Booth committed
    • c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases. · c60e94a7
      	* c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
      	* c-parse.in (yyerror, _yylex): Similarly.
      	* cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
      	Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
      	Update comments.
      	* cpplib.h (CPP_INT, CPP_FLOAT): Remove.
      	* cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
      
      From-SVN: r44144
      Neil Booth committed
    • class.c (type_requires_array_cookie): New function. · dbc957f1
      	* class.c (type_requires_array_cookie): New function.
      	(check_methods): Don't try to figure out whether the type needs a
      	cookie here.
      	(check_bases_and_members): Set TYPE_VEC_NEW_USES_COOKIE here.
      	* cp-tree.h (TYPE_VEC_DELETE_TAKES_SIZE): Remove.
      	(TYPE_VEC_NEW_USES_COOKIE): Reimplement.
      	* pt.c (instantiate_class_template): Don't set
      	TYPE_VEC_DELETE_TAKES_SIZE.
      	* NEWS: Document ABI changes from GCC 3.0.
      
      From-SVN: r44142
      Mark Mitchell committed
    • dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1. · 8458e954
      * dwarf2out.c (dwarf2out_abstract_function): Don't emit
      in-class declaration at -g1.  Fixes c++/2814.
      
      From-SVN: r44141
      Jeff Sturm committed
    • gen-num-limits.cc (set_signals_handler): New function. · b2a4c43c
              * src/gen-num-limits.cc (set_signals_handler): New function.
              Factor out signals setting.  Set signal handler for SIGILL.
      
      Co-Authored-By: Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
      
      From-SVN: r44139
      Gabriel Dos Reis committed
  3. 18 Jul, 2001 5 commits