1. 20 Jul, 2001 4 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 16 commits
    • merge from glibc · 27ffc806
      From-SVN: r44138
      DJ Delorie committed
    • Fix markup for reload_in/out. · 560dbedd
      From-SVN: r44137
      Richard Henderson committed
    • howto.html: Fix typo. · 4b92a3bf
      2001-07-18  Phil Edwards  <pme@sources.redhat.com>
      
      	* docs/html/27_io/howto.html:  Fix typo.
      	* docs/html/faq/index.html:  Minor updates for 3.0 all around.
      	* docs/html/faq/index.txt:  Regenerated.
      
      From-SVN: r44135
      Phil Edwards committed
    • md.texi (reload_in/out): Document restrictions in predicates and constraints for these patterns. · d989f648
              * doc/md.texi (reload_in/out): Document restrictions in predicates
              and constraints for these patterns.  Document empty string matching
              ALL_REGS.
      
      From-SVN: r44134
      Richard Henderson committed
    • configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might… · 31831acf
      configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
      
      2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
      	these defines before tests which might be affected by them.
      	(_XOPEN_SOURCE_EXTENDED): Define.
      	* libI77/configure, libI77/config.h.in: Regenerate.
      
      From-SVN: r44133
      Toon Moene committed
    • natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options IPV6_JOIN_GROUP... · 06c271c3
      	* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC
      	2533 socket options IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP, falling
      	back to old RFC 2133 variants if missing.
      
      From-SVN: r44130
      Rainer Orth committed
    • NEWS (Changes in GCC 3.0): Fix typo. · 7ba0b0f7
      	* NEWS (Changes in GCC 3.0): Fix typo.
      
      Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
      
      From-SVN: r44128
      Xavier Delacour committed
    • * cse.c: Undo my previous patch. · dc42616f
      From-SVN: r44126
      Jan Hubicka committed
    • natFileWin32.cc (_access): Renamed. · e5c83273
      	* java/io/natFileWin32.cc (_access): Renamed.
      	(_stat): Likewise.
      	* java/io/natFile.cc (_access): Renamed.
      	(_stat): Likewise.
      	* java/io/File.java (access, stat): Add leading `_' to name.
      	Updated all callers.
      
      From-SVN: r44124
      Tom Tromey committed
    • ostream.tcc (ostream::put): Fixed error condition check. · fed3b7b4
      
      2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
                  Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
      
              libstdc++/3599
              * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
              * testsuite/27_io/streambuf.cc (test07): Added new regression test.
      
      Co-Authored-By: Roman Sulzhyk <roman_sulzhyk@yahoo.com>
      
      From-SVN: r44122
      Stephen M. Webb committed
    • For PR java/2812: · 6a65ea5b
      	* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H.
      	* lex.c (java_new_lexer): Use ICONV_CONST.
      	(java_read_char): Likewise.
      	* Make-lang.in (jc1$(exeext)): Link against LIBICONV.
      	(jv-scan$(exeext)): Likewise.
      
      From-SVN: r44120
      Tom Tromey committed
    • For PR java/2812: · f91abfce
      	* configure: Rebuilt.
      	* configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
      	instead.
      	* aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
      
      From-SVN: r44119
      Tom Tromey committed
    • flow.c (redirect_edge_and_branch): Bail out on complex edges. · 0728902f
      	* flow.c (redirect_edge_and_branch): Bail out on complex edges.
      	(try_optimize_cfg): Do not remove tail recursive labels before sibcall.
      	* jump.c (mark_jump_label): Do not forward branches.
      
      Co-Authored-By: Jan Hubicka <jh@suse.cz>
      
      From-SVN: r44118
      Richard Henderson committed
    • All occurrences of the __value_type() and __distance_type() functions... · 02d92e3b
      
      2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
      
      	All occurrences of the __value_type() and __distance_type()
      	functions, which were required to support the HP STL, have been
      	removed along with all the auxiliary forwarding functions that
      	were required to support their use.
      
      	The __iterator_category() function was pretty much left alone
      	because there was no benefit to removing it and its use made code
      	just a little more readable.
      
      	Incidences of distance() with nonstandard argument list were
      	replaced by calls to the standard function (only in the files
      	affected by the removal of the other HP functions).
      
      	The signature of the rotate() algorithm was changed to match the
      	standard.
      
      	Headers were reformatted under C++STYLE guidelines (indentation,
      	linebreaks, typename keyword).
      
      	* include/bits/stl_algo.h: replaced __value_type() and
      	__distance_type() with iterator_traits, eliminated auxiliary
      	support functions required to support said function usage.
      	Changed nonstandard distance() call to standard call.
      
      	* include/bits/stl_algobase.h: Same.
      	* include/bits/stl_heap.h: Same.
      	* include/bits/stl_numeric.h: Same.
      	* include/bits/stl_uninitialized.h: Same.
      	* include/bits/stl_iterator_base_types.h (__value_type()):
      	Removed.
      	(__distance_type()): Removed.
      	(value_type()): Gone.
      	(distance_type()): Done in.
      	(iterator_category()): Hasta la vista, baby.
      
      	* include/bits/stl_iterator_base_funcs.h (iterator_category()):
      	Replaced with __iterator_category().
      	* include/backward/iterator.h: moved definition of value_type(),
      	distance_type(), and iterator_category() out of std:: and into
      	here.
      	* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
      	* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
      	* testsuite/25_algorithms/rotate.cc: New testcase.
      	* testsuite/25_algorithms/copy.cc: New testcase.
      	* testsuite/25_algorithms/sort.cc: Same.
      	* testsuite/25_algorithms/heap.cc: Same.
      	* testsuite/25_algorithms/partition.cc: Same.
      	* testsuite/25_algorithms/binary_search.cc: Same.
      	* testsuite/26_numerics/sum_diff.cc: Ditto.
      
      From-SVN: r44117
      Stephen M. Webb committed
    • For PR java/2812: · 860a1536
      	* libgcj.spec.in (*lib): Added LIBICONV.
      	* configure: Rebuilt.
      	* configure.in: Call AM_ICONV.  Don't check for iconv function.
      	Add parameters to JV_HASH_SYNCHRONIZATION define.
      	* acinclude.m4 (AM_ICONV): New macro, from Bruno Haible.
      
      From-SVN: r44116
      Tom Tromey committed