- 12 Mar, 2004 16 commits
-
-
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 -
From-SVN: r79397
Roger Sayle committed -
* 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 -
* 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 -
From-SVN: r79387
Ulrich Weigand committed -
* 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 -
* Fix address in Steven's Changelog entry. From-SVN: r79381
Paolo Carlini committed -
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 -
2004-03-12 Michael Koch <konqueror@gmx.de> * java/text/DateFormatSymbols.java: Fixed file name in copyright. From-SVN: r79379
Michael Koch committed -
* doc/tm.texi (registers) <Values in Registers>: Add entry for REGMODE_NATURAL_SIZE. From-SVN: r79377
Eric Botcazou committed -
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 -
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 -
* java/net/HttpURLConnection.java (getResponseCode): Fix another typo in javadoc. From-SVN: r79374
Michael Koch committed -
* 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 -
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 -
From-SVN: r79357
GCC Administrator committed
-
- 11 Mar, 2004 24 commits
-
-
From-SVN: r79353
Richard Henderson committed -
PR target/14539 * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128. From-SVN: r79352
Richard Henderson committed -
* except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER. * g++.dg/opt/eh1.C: New. From-SVN: r79350
Richard Henderson committed -
PR target/14262 * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not defined, pass small BLKmode values in registers in the low-order part. * gcc.dg/20040305-2.c: New test. From-SVN: r79348
Ulrich Weigand committed -
ChangeLog: * combine.c (if_then_else_cond): Check for NULL return value of simplify_gen_subreg. testsuite/ChangeLog: * gcc.dg/20040310-1.c: New test. From-SVN: r79347
Ulrich Weigand committed -
PR target/14496 * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for TARGET_SINGLE_FLOAT. From-SVN: r79342
Richard Sandiford committed -
2004-03-11 Andreas Tobler <a.tobler@schweiz.ch> Paolo Bonzini <bonzini@gnu.org> * Makefile.am (AUTOMAKE_OPTIONS): Set them. Remove VPATH. Remove rules for object files. Remove multilib support. (AM_CCASFLAGS): Add. * configure.in (AC_CONFIG_HEADERS): Relace AM_CONFIG_HEADER. (AC_PREREQ): Bump version to 2.59. (AC_INIT): Fill with version info and bug address. (ORIGINAL_LD_FOR_MULTILIBS): Remove. (AM_ENABLE_MULTILIB): Use this instead of AC_ARG_ENABLE. De-precious CC so that the right flags are passed down to multilibs. (AC_MSG_ERROR): Replace obsolete macro AC_ERROR. (AC_CONFIG_FILES): Replace obsolete macro AC_LINK_FILES. (AC_OUTPUT): Reorganize the output with AC_CONFIG_COMMANDS. * configure: Rebuilt. * aclocal.m4: Likewise. * Makefile.in, include/Makefile.in, testsuite/Makefile.in: Likewise. * fficonfig.h.in: Likewise. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r79341
Andreas Tobler committed -
* config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef. * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define. * config/ia64/ia64.c (ia64_init_libfuncs): New. (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs. From-SVN: r79339
Steve Ellcey committed -
2004-03-11 Paolo Carlini <pcarlini@suse.de> * include/std/std_complex.h (pow(const complex&, const _Tp&), pow(const _Tp&, const complex&), pow(const complex&, const complex&)): Fully qualify with std:: a few calls. * testsuite/26_numerics/complex/13450.cc: Minor tweak. From-SVN: r79338
Paolo Carlini committed -
From-SVN: r79335
Kazu Hirata committed -
fold-const.c (negate_expr_p): We can optimize -((int)X>>C) where C is an integer constant one bit less than... * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize -((int)X>>C) where C is an integer constant one bit less than the size of X into (unsigned)X>>C. Similarly for unsigned->signed. (negate_expr) <RSHIFT_EXPR>: Implement the above transformations. * simplify-rtx.c (simplify_unary_operation): Also implement the above transformations at the RTL level. * gcc.c-torture/execute/20040311-1.c: New test case. From-SVN: r79334
Roger Sayle committed -
* java/util/logging/Level.java (parse): Use String.equals() instead of ==. From-SVN: r79333
Michael Koch committed -
* gnu/java/net/protocol/jar/Connection.java (getContentLength): New method. From-SVN: r79332
Michael Koch committed -
2004-03-11 Michael Koch <konqueror@gmx.de> * gnu/java/net/PlainSocketImpl.java: Reformated to merge better with classpath's version. From-SVN: r79331
Michael Koch committed -
* java/util/Locale.java (getISO3Language): Use String.equals() instead of ==. (getISO3Country): Likewise. From-SVN: r79330
Michael Koch committed -
2004-03-11 Dalibor Topic <robilad@kaffe.org> * java/text/AttributedString.java (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)): Use HashMap instead of Hashtable since value can be null, and you can not store a null value in a Hashtable. 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org> * java/text/AttributedStringIterator.java (getAllAttributesKey): Return only keys concerned by the current iterator. (getAttributes): Use strict inequality for end_index. From-SVN: r79329
Michael Koch committed -
2004-03-11 Michael Koch <konqueror@gmx.de> * java/net/HttpURLConnection.java: Fixed typo in javadoc. From-SVN: r79328
Michael Koch committed -
2004-03-11 Guilhem Lavaux <guilhem@kaffe.org> * java/io/BufferedInputStream.java (marktarget): New field for max mark limit. (CHUNKSIZE): New constant for incremental mark buffer allocation. (mark): Use new fields. (read): Likewise. (read(byte[],int,int)): Likewise. (skip): Likewise. (refill): Likewise. From-SVN: r79326
Guilhem Lavaux committed -
2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org> Paolo Bonzini <bonzini@gnu.org> PR bootstrap/14522 * configure.in: Cope with shell that do not support nesting quotes inside quoted backquote substitutions. * configure: Regenerate. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r79325
Eric Botcazou committed -
2004-03-11 Mark Wielaard <mark@klomp.org> * java/beans/BeanDescriptor.java (BeanDescriptor): Set the FeatureDescriptor programmatic name. From-SVN: r79324
Mark Wielaard committed -
ffi.c (ffi_prep_incoming_args_UNIX): Get floating point arguments from fp registers only for the first 8 parameter slots. * src/ia64/ffi.c (ffi_prep_incoming_args_UNIX): Get floating point arguments from fp registers only for the first 8 parameter slots. Don't convert a float parameter when passed in memory. From-SVN: r79323
Andreas Schwab committed -
From-SVN: r79321
Alan Modra committed -
2004-03-11 Michael Koch <konqueror@gmx.de> * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked. This file was was just copied form java/io/natFileDescriptorEcos.cc and never changed to compile correctly. From-SVN: r79320
Michael Koch committed -
* config/arm/arm.md (is_xscale): Comment this attribute and move it a bit further up in the file, closer to related attributes. From-SVN: r79319
Ben Elliston committed
-