1. 12 Mar, 2004 16 commits
    • combine.c (unmentioned_reg_p): New function to check whether an expression is a… · 67962db5
      combine.c (unmentioned_reg_p): New function to check whether an expression is a "specialization" of another, i.e.
      
      
      	* combine.c (unmentioned_reg_p): New function to check whether an
      	expression is a "specialization" of another, i.e. that there are
      	no registers or memory references mentioned in the first that don't
      	appear in the second.
      	(unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p.
      	(combine_instructions): Also try combining instructions using the
      	REG_EQUAL note from a preceding log-linked instruction.
      
      From-SVN: r79398
      Roger Sayle committed
    • Enabled linkonce support for Darwin. · b8d50739
      	* src/powerpc/darwin.S: Fix EH information so it corresponds to
      	changes in EH format resulting from addition of linkonce support.
      	* src/powerpc/darwin_closure.S: Likewise.
      
      From-SVN: r79396
      Matt Austern committed
    • Enabled linkonce support for Darwin. · 4746cf84
      	* target.h (struct gcc_target): New target hook, unwind_label.
      	* target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook.
      	* output.h (default_emit_unwind_label): New function.
      	* default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro.
      	(TARGET_USES_WEAK_UNWIND_INFO): New target macro.
      	(TARGET_SUPPORTS_HIDDEN): New target macro.
      	* dwarf2out.c (struct dw_fde_struct): Add field for function decl
      	that corresponds to this FDE.
      	(FRAME_BEGIN_LABEL): Allow target to override default label.
      	(output_call_frame_info): If FDEs are linknonce, then use extra
      	indirection for FDE encoding, output a label for each FDE, and
      	output an empty label for each function without an FDE.
      	(dwarf2out_begin_prologue): Set up decl field when creating an FDE.
      	* varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for
      	decls with DECL_ONE_ONLY set, if that macro is defined.
      	(make_decl_one_only): Don't use DECL_COMMON if we're compiling
      	for a SUPPORTS_ONE_ONLY target.
      	* config/darwin-protos.h (darwin_unique_section): Declare.
      	(darwin_asm_named_section): Likewise.
      	(darwin_section_type_flags): Likewise.
      	(darwin_non_lazy_pcrel): Likewise.
      	(darwin_emit_unwind_label): Likewise.
      	(darwin_make_decl_one_only): Likewise.
      	* config/darwin.c (machopic_finish): Get rid of tweak that
      	eliminate stubs for symbols that are defined.
      	(darwin_encode_section_info): Don't treat weak functions as defined.
      	(darwin_make_decl_one_only): Define.
      	(darwin_asm_named_section): Likewise.
      	(darwin_section_type_flags): Likewise.
      	(darwin_unique_section): Likewise.
      	(darwin_emit_unwind_label): Likewise.
      	(darwin_non_lazy_pcrel): Likewise.
      	(darwin_asm_output_dwarf_delta): Difference between two labels is
      	local only if both labels are local.
      	* config/darwin.h (MAKE_DECL_ONE_ONLY): Define.
      	(ASM_MAKE_LABEL_LINKONCE): Likewise.
      	(TARGET_SUPPORTS_HIDDEN): Likewise.
      	(TARGET_USES_WEAK_UNWIND_INFO): Likewise.
      	(TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise.
      	(FRAME_BEGIN_LABEL): Likewise.
      	(ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect.
      	(ASM_DECLARE_FUNCTION_NAME): Likewise.
      	(darwin_eh_frame_section): Give __eh_frame section the coalesced flag.
      	(TARGET_ASM_UNIQUE_SECTION): Define.
      	(EH_FRAME_SECTION_NAME): Define.
      	(EH_FRAME_SECTION_ATTR): Likewise.
      	(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
      	(TARGET_ASM_NAMED_SECTION): Likewise.
      	(TARGET_SECTION_TYPE_FLAGS): Likewise.
      	* doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO,
      	TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN,
      	TARGET_ASM_EMIT_UNWIND_LABEL.
      
      	* cp/decl2.c (maybe_make_one_only): Look at
      	TARGET_EXPLICIT_INSTANTIATION_ONE_ONLY when deciding whether
      	to make an explicit instantiation weak.
      	* cp/method.c (use_thunk): Make sure we call comdat_linkage
      	when appropriate.
      	* cp/pt.c (do_type_instantiation): On systems where weak symbols
      	don't go in a static archive's TOC, explicit instantiation of a
      	class must imply *explicit* instantiation of its memeber.
      
      From-SVN: r79394
      Matt Austern committed
    • * gcc.dg/20040305-2.c: Add missing return statement. · cd33cf6e
      From-SVN: r79387
      Ulrich Weigand committed
    • builtins.c (expand_builtin_mathfn): Add pow10* to the existing exp10* case. · fd0c8c8d
      	* builtins.c (expand_builtin_mathfn): Add pow10* to the
      	existing exp10* case.
      	(expand_builtin): Likewise.
      
      testsuite:
      	* gcc.dg/builtins-34.c: Also check pow10*.
      
      From-SVN: r79383
      Kaveh R. Ghazi committed
    • 2004-03-12 Paolo Carlini <pcarlini@suse.de> · e3628001
      	* Fix address in Steven's Changelog entry.
      
      From-SVN: r79381
      Paolo Carlini committed
    • re PR bootstrap/14522 (Bad sed command in the configure script) · 79b4b7d2
      2004-03-12  Eric Botcazou  <ebotcazou@gcc.gnu.org>
                  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR bootstrap/14522
      	* configure.in: Cope with shells that do not support unquoted ^
      	* configure: Regenerate.
      
      Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
      
      From-SVN: r79380
      Eric Botcazou committed
    • DateFormatSymbols.java: Fixed file name in copyright. · 9eacb73b
      2004-03-12  Michael Koch  <konqueror@gmx.de>
      
      	* java/text/DateFormatSymbols.java: Fixed file name in copyright.
      
      From-SVN: r79379
      Michael Koch committed
    • tm.texi (registers): Add entry for REGMODE_NATURAL_SIZE. · ca0b6e3b
      	* doc/tm.texi (registers) <Values in Registers>: Add
      	entry for REGMODE_NATURAL_SIZE.
      
      From-SVN: r79377
      Eric Botcazou committed
    • re PR target/14547 (Passing _Complex long double does not follow the ABI) · 42ba5130
              PR target/14547
              * target.h (struct gcc_target): Move calls substructure before
              booleans.  Add split_complex_arg.
              * function.c (assign_parms, split_complex_args): Use it.
              * calls.c (expand_call): Likewise.
              (split_complex_values): Likewise.  Check for splittable types
              before allocating memory.
              (split_complex_types): Likewise.
              * system.h (SPLIT_COMPLEX_ARGS): Poison.
              * expr.h (SPLIT_COMPLEX_ARGS): Remove.
              * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New.
              * config/alpha/alpha.c (alpha_split_complex_arg): New.
              (TARGET_SPLIT_COMPLEX_ARG): New.
              * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove.
              * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New.
              (rs6000_override_options): Zap it for non-AIX.
              (rs6000_function_value): Use targetm.calls.split_complex_arg.
              * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove.
              * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New.
              * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove.
              * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old
              SPLIT_COMPLEX_ARGS entry.
      
      From-SVN: r79376
      Richard Henderson committed
    • [multiple changes] · ac011d28
      2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
      
      	* java/net/URI.java (toURL): Implemented.
      
      2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
      
      	* java/net/URI.java
      	(URI_REGEXP) updated to contain scheme specific part.
      	(SCHEME_SPEC_PART_GROUP) new constant.
      	(AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
      	updated to make room for SCHEME_SPEC_PART_GROUP.
      	(parseURI) parse scheme specific part.
      	(resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
      	getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
      	getQuery, getFragment) implemented.
      
      2004-03-12  Dalibor Topic  <robilad@kaffe.org>
      
      	* libraries/javalib/java/net/URI.java
      	partially implemented using java.util.regex.
      	(URI_REGEXP) new constant. Used to parse URIs.
      	(SCHEME_GROUP) new constant representing index of scheme group
      	in parsed URI.
      	(AUTHORITY_GROUP) new constant representing index of authority
      	group in parsed URI.
      	(PATH_GROUP) new constant representing index of path group in
      	parsed URI.
      	(QUERY_GROUP) new constant representing index of query group in
      	parsed URI.
      	(FRAGMENT_GROUP) new constant representing index of fragment
      	group in parsed URI.
      	(getURIGroup) new static utility method.
      	(parseURI) implemented.
      	(quote) stub for new static utility method.
      	(quoteAuthority) stub for new static utility method.
      	(quoteHost) stub for new static utility method.
      	(quotePath) stub for new static utility method.
      	(quoteUserInfo) stub for new static utility method.
      	(URI) implemented.
      	(create) don't throw URISyntaxException. Implemented.
      	(toString) implemented.
      
      From-SVN: r79375
      Michael Koch committed
    • 2004-03-12 Michael Koch <konqueror@gmx.de> · 75e0f3fe
      	* java/net/HttpURLConnection.java
      	(getResponseCode): Fix another typo in javadoc.
      
      From-SVN: r79374
      Michael Koch committed
    • alpha.c (xfloating_ops, [...]): New. · 75959f0a
              * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New.
              (alpha_lookup_xfloating_lib_func): Use them, return rtx.
              (alpha_emit_xfloating_arith): Update to match.
              (alpha_emit_xfloating_compare): Likewise.
              (alpha_emit_xfloating_cvt): Likewise.
              (alpha_emit_xfloating_libcall): Take already built symbol,
              mark call const.
              * config/alpha/alpha.md (extendsftf2, extenddftf2): Take
              op1 in a register.
      
      From-SVN: r79371
      Richard Henderson committed
    • ballocator_doc.txt: New file. · 009368db
      2004-03-11  Dhruv Matani  <dhruvbird@HotPOP.com>
      
      	* docs/html/ext/ballocator_doc.txt: New file.
      	* include/Makefile.am (ext_headers): Add
      	${ext_srcdir}/bitmap_allocator.h .
      	* include/Makefile.in: Regenerate (by hand, since I didn't have
      	automake de jure on hand).
      	* include/ext/bitmap_allocator.h: New file.
      	* testsuite/performance/20_util/allocator/list_sort_search.cc: New test.
      	* testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
      	* testsuite/performance/20_util/allocator/producer_consumer.cc: Add
      	test for the bitmap_allocator<>.
      	* testsuite/performance/20_util/allocator/insert.cc: Likewise.
      	* testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
      	* testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
      
      From-SVN: r79366
      Dhruv Matani committed
    • Daily bump. · a8dad789
      From-SVN: r79357
      GCC Administrator committed
  2. 11 Mar, 2004 24 commits