1. 09 Feb, 2005 11 commits
    • fold-const.c (try_move_mult_to_index): Remove redundant type argument. · 0c6c135b
      2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	* fold-const.c (try_move_mult_to_index): Remove redundant
      	type argument.  Create ADDR_EXPR with correct type.
      	(fold): Update callers of try_move_mult_to_index.  Convert
      	result to the appropriate type.
      
      	* g++.dg/tree-ssa/tmmti.C: New testcase.
      
      From-SVN: r94767
      Richard Guenther committed
    • re PR target/19597 (avr-gcc 4.0, multiplication by constant, very long code) · 8f2bf9f1
      
      	PR target/19597
      	* config/avr/avr.c (default_rtx_costs): Delete.
      	(avr_operand_rtx_cost): New function.
      	(avr_rtx_costs): Completely rewrite.
      
      From-SVN: r94766
      Roger Sayle committed
    • a-rbtgso.adb, [...]: New files. · 4c2d6a70
      	* a-rbtgso.adb, a-crbtgo.ads, a-crbtgo.adb, a-crbtgk.ads,
      	a-crbtgk.adb, a-crbltr.ads, a-coprnu.ads, a-coprnu.adb,
      	a-coorse.ads, a-coorse.adb, a-convec.ads, a-convec.adb,
      	a-contai.ads, a-coinve.ads, a-coinve.adb, a-cohata.ads,
      	a-cohama.ads, a-cohama.adb, a-ciorse.ads, a-ciorse.adb,
      	a-cihama.ads, a-cihama.adb, a-cidlli.ads, a-cidlli.adb,
      	a-chtgop.ads, a-chtgop.adb, a-cgcaso.ads, a-cgcaso.adb,
      	a-cgarso.ads, a-cgarso.adb, a-cdlili.ads, a-cdlili.adb,
      	a-cgaaso.adb, a-coormu.adb, a-ciormu.adb, a-cihase.adb,
      	a-cihase.ads, a-cohase.adb, a-cohase.ads, a-ciorma.ads,
      	a-coorma.ads, a-swunha.ads, a-stunha.ads, a-ciormu.ads,
      	a-coormu.ads, a-rbtgso.ads, a-swunha.adb, a-stunha.adb,
      	a-cgaaso.ads, a-ciorma.adb, a-coorma.adb, a-secain.adb,
      	a-secain.ads, a-slcain.ads, a-slcain.adb, a-shcain.ads,
      	a-shcain.adb, a-chtgke.ads, a-chtgke.adb, a-stwiha.ads,
      	a-stwiha.adb, a-strhas.ads, a-strhas.adb, a-chzla1.ads,
      	a-chzla9.ads, a-lfztio.ads, a-liztio.ads, a-llfzti.ads,
      	a-llizti.ads, a-sfztio.ads, a-siztio.ads, a-ssizti.ads,
      	a-stzbou.adb, a-stzbou.ads, a-stzfix.adb, a-stzfix.ads,
      	a-stzhas.adb, a-stzhas.ads, a-stzmap.adb, a-stzmap.ads,
      	a-stzsea.adb, a-stzsea.ads, a-stzsup.adb, a-stzsup.ads,
      	a-stzunb.adb, a-stzunb.ads, a-swunau.adb, a-swunau.ads,
      	a-szmzco.ads, a-szunau.adb, a-szunau.ads, a-szunha.adb,
      	a-szunha.ads, a-szuzti.adb, a-szuzti.ads, a-tiunio.ads,
      	a-wwunio.ads, a-ztcoau.adb, a-ztcoau.ads, a-ztcoio.adb,
      	a-ztcoio.ads, a-ztcstr.adb, a-ztcstr.ads, a-ztdeau.adb,
      	a-ztdeau.ads, a-ztdeio.adb, a-ztdeio.ads, a-ztedit.adb,
      	a-ztedit.ads, a-ztenau.adb, a-ztenau.ads, a-ztenio.adb,
      	a-ztenio.ads, a-ztexio.adb, a-ztexio.ads, a-ztfiio.adb,
      	a-ztfiio.ads, a-ztflau.adb, a-ztflau.ads, a-ztflio.adb,
      	a-ztflio.ads, a-ztgeau.adb, a-ztgeau.ads, a-ztinau.adb,
      	a-ztinau.ads, a-ztinio.adb, a-ztinio.ads, a-ztmoau.adb,
      	a-ztmoau.ads, a-ztmoio.adb, a-ztmoio.ads, a-zttest.adb,
      	a-zttest.ads, a-zzunio.ads: New files. Part of new Ada 2005
      	library.
      
      From-SVN: r94764
      Arnaud Charlet committed
    • URI.java (AUTHORITY_REGEXP): Handle case where user name or port is missing. · e99e6d71
      	* java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
      	name or port is missing.
      	(AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
      	AUTHORITY_PORT_GROUP): Updated.
      
      From-SVN: r94760
      Tom Tromey committed
    • re PR c++/19733 (ICE on invalid destructor call) · 9f4faeae
      	PR c++/19733
      	* class.c (add_method): Don't set TYPE_HAS_DESTRUCTOR.
      	(check_bases): Give warnings about a base class with a
      	non-virtual destructor, even if it is implicit.
      	(finish_struct_bits): Don't copy TYPE_HAS_DESTRUCTOR.
      	(maybe_warn_about_overly_private_class): Don't use
      	TYPE_HAS_DESTRUCTOR.
      	(finish_struct_methods): Don't set TYPE_HAS_DESTRUCTOR.
      	(check_for_override): Give it external linkage.
      	(add_implicitly_declared_members): Generate destructors lazily.
      	(check_field_decls): Use TYPE_HAS_NONTRIVIAL_DESTRUCTOR, not
      	TYPE_HAS_DESTRUCTOR.
      	(check_bases_and_members): Call check_methods before
      	check_field_decls.
      	(check_bases_and_members): Use TYPE_HAS_NONTRIVIAL_DESTRUCTOR, not
      	TYPE_HAS_DESTRUCTOR.
      	(finish_struct_1): Do not use TYPE_HAS_DESTRUCTOR.
      	* cp-tree.def (PSEUDO_DTOR_EXPR): Document.
      	* cp-tree.h (TYPE_HAS_DESTRUCTOR): Remove.
      	(lang_type_class): Add lazy_destructor.
      	(CLASSTYPE_LAZY_DESTRUCTOR): New macro.
      	(CLASSTYPE_DESTRUCTORS): Robustify.
      	(TYPE_HAS_DESTRUCTOR): Remove.
      	(check_for_override): Declare.
      	(build_vbase_delete): Remove.
      	* cvt.c (convert_to_void): Issue errors about pseudo-destructor
      	expressions.
      	* decl.c (cxx_maybe_build_cleanup): Remove dead code.
      	* except.c (dtor_nothrow): Lazily create destructors if necessary.
      	(build_throw): Use TYPE_HAS_NONTRIVIAL_DESTRUCTOR.
      	* init.c (build_delete): Lazily create destructors, if necessary.
      	(build_vbase_delete): Remove.
      	* method.c (locate_dtor): Simplify.
      	(implicitly_declare_fn): Add support for destructors.
      	* parser.c (cp_parser_lookup_name): Lazily create destructors, if
      	necessary.
      	* pt.c (check_explicit_specialization): Don't use
      	TYPE_HAS_DESTRUCTOR.
      	(instantiate_class_template): Likewise.
      	* ptree.c (cxx_print_type): Don't print TYPE_HAS_DESTRUCTOR.
      	* rtti.c (emit_support_tinfos): Robustify.
      	* search.c (lookup_fnfields_1): Lazily create destructors.
      	* typeck.c (build_class_member_access_expr): Remove
      	PSEUDO_DTOR_EXPR handling.
      	(lookup_destructor): Likewise.
      
      	PR c++/19733
      	* g++.dg/parse/crash23.C: New test.
      	* g++.dg/warn/Weff1.C: New test.
      
      From-SVN: r94759
      Mark Mitchell committed
    • * gcc.dg/20050209-1.c: New test. · ec2cd8b2
      From-SVN: r94757
      Joseph Myers committed
    • re PR target/19799 (sibcall-3.c and sibcall-4.c xfailed on hppa64-*-hpux*) · ec3d00a0
      	PR target/19799
      	* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: XFAIL on hppa*64*-*.
      
      From-SVN: r94756
      Joseph Myers committed
    • files.c (pchf_adder): Remove. · ecddfb39
              * files.c (pchf_adder): Remove.
              (struct pchf_adder_info): Likewise.
              (_cpp_save_file_entries): Write out all files so that #import works.
      
      From-SVN: r94755
      Mike Stump committed
    • * gcc.dg/uninit-4.c: XFAIL bogus warning for powerpc64. · 996f0578
      From-SVN: r94754
      Janis Johnson committed
    • Daily bump. · e472ddb0
      From-SVN: r94752
      GCC Administrator committed
  2. 08 Feb, 2005 12 commits
  3. 07 Feb, 2005 17 commits
    • re PR ada/19489 (gnat tools not buildable cross) · 1e3fad21
      	PR ada/19489
      	* libada-mk.in: Use cc_for_cross_gnattools, not cc_set_by_configure.
      	* configure.ac: Set cc_for_cross_gnattools.
      	* configure: Regenerate.
      
      From-SVN: r94720
      Nathanael Nerode committed
    • 5.cc: Make buf static. · a47add83
      	* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
      	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
      	src static.
      
      From-SVN: r94719
      Loren J. Rittle committed
    • gfortran.h (gfc_add_dimension, [...]): Add argument. · 231b2fcc
      * gfortran.h (gfc_add_dimension, gfc_add_result, gfc_add_save,
      gfc_add_dummy, gfc_add_generic, gfc_add_in_common, gfc_add_data,
      gfc_add_in_namelist, gfc_add_sequence, gfc_add_function,
      gfc_add_subroutine, gfc_add_access, gfc_add_flavor, gfc_add_entry,
      gfc_add_procedure): Add argument.
      * array.c (gfc_set_array_spec), decl.c (var_element, get_proc_name,
      gfc_match_null, match_type_spec, match_attr_spec,
      gfc_match_formal_arglist, match_result, gfc_match_function_decl):
      Update callers to match.
      (gfc_match_entry) : Likewise, fix comment typo.
      (gfc_match_subroutine, attr_decl1, gfc_add_dimension,
      access_attr_decl, do_parm, gfc_match_save, gfc_match_modproc,
      gfc_match_derived_decl): Update callers.
      * interface.c (gfc_match_interface): Likewise.
      * match.c (gfc_match_label, gfc_add_flavor,
      gfc_match_call, gfc_match_common, gfc_match_block_data,
      gfc_match_namelist, gfc_match_module, gfc_match_st_function):
      Likewise.
      * parse.c (parse_derived, parse_interface, parse_contained),
      primary.c (gfc_match_rvalue, gfc_match_variable): Likewise.
      * resolve.c (resolve_formal_arglist, resolve_entries): Update callers.
      * symbol.c (check_conflict, check_used): Add new 'name' argument,
      use when printing error message.
      (gfc_add_dimension, gfc_add_result, gfc_add_save, gfc_add_dummy,
      gfc_add_generic, gfc_add_in_common, gfc_add_data,
      gfc_add_in_namelist, gfc_add_sequence, gfc_add_function,
      gfc_add_subroutine, gfc_add_access, gfc_add_flavor, gfc_add_entry,
      gfc_add_procedure): Add new 'name' argument.  Pass along to
      check_conflict and check_used.
      (gfc_add_allocatable, gfc_add_external, gfc_add_intrinsic,
      gfc_add_optional, gfc_add_pointer, gfc_add_target, gfc_add_elemental,
      gfc_add_pure, gfc_add_recursive, gfc_add_intent,
      gfc_add_explicit_interface, gfc_copy_attr): Pass NULL for new
      argument in calls to any of the modified functions.
      
      From-SVN: r94718
      Tobias Schlüter committed
    • defineclass.cc (handleClassBegin): Use _Jv_RegisterInitiatingLoader. · f55db9c2
      	* defineclass.cc (handleClassBegin): Use
      	_Jv_RegisterInitiatingLoader.
      	* java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
      	* java/lang/natVMClassLoader.cc (resolveClass): Don't register
      	class.  Use _Jv_UnregisterInitiatingLoader.
      	* java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
      	New function.
      
      From-SVN: r94717
      Tom Tromey committed
    • re PR target/19803 (__builtin_expect does not modify branch prediction for power4/5) · b0ad2de2
      	PR target/19803
      	* predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%.
      
      From-SVN: r94714
      Alan Modra committed
    • Reported by Timo Lindfors <timo.lindfors@iki.fi> java/util/regex/Matcher.java... · 0384c765
      2005-02-07  Mark Wielaard  <mark@klomp.org>
      
              Reported by Timo Lindfors <timo.lindfors@iki.fi>
              java/util/regex/Matcher.java (lookingAt): Set position when match
              found.
              (matches): Implemented through lookingAt().
      
      2005-02-07  Mark Wielaard  <mark@klomp.org>
      
              Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
              * java/util/regex/Pattern.java (split(CharSequence,int)):
              Fix while empties > 0 loops.
      
      From-SVN: r94713
      Mark Wielaard committed
    • ISO_8859_1.java, [...]: Fixed canonical names and aliases according to... · c686e630
      2005-02-07  Robert Schuster  <thebohemian@gmx.net>
      
              * gnu/java/nio/charset/ISO_8859_1.java,
              gnu/java/nio/charset/US_ASCII.java,
              gnu/java/nio/charset/UTF_16.java,
              gnu/java/nio/charset/UTF_16_LE.java,
              gnu/java/nio/charset/UTF_16_BE.java,
              gnu/java/nio/charset/UTF_8.java: Fixed canonical names
               and aliases according to
               "http://www.iana.org/assignments/character-sets",
               "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
               and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
              * gnu/java/nio/charset/Provider.java: Made charset lookup
               case-insensitive which fixes bug #11740.
      
      From-SVN: r94711
      Robert Schuster committed
    • re PR libgcj/19611 (create 'sources.zip' for use in eclipse) · f0d87cda
      	PR libgcj/19611:
      	* Makefile.in: Rebuilt.
      	* Makefile.am (src.zip): New target.
      	(install-src.zip): Likewise.
      	(sourcesdir): New variable.
      
      From-SVN: r94710
      Tom Tromey committed
    • re PR debug/19327 (gcc.c-torture/execute/921215-1.c compilation -O3 -g) · b950a32e
      	PR debug/19327
      	* dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance
      	of nested functions.
      
      From-SVN: r94709
      Eric Botcazou committed
    • Forgot to commit registerImageIOSpis change · c0d0afee
      From-SVN: r94707
      Anthony Green committed
    • extend.texi: Document deprecated extensions allowing static floating-point members to have... · 6871294a
      2005-02-07  Jonathan Wakely  <redi@gcc.gnu.org>
      
      	* doc/extend.texi: Document deprecated extensions allowing
      	static floating-point members to have initializers and allowing
      	floating-point literals in integral constant expressions.
      
      From-SVN: r94706
      Jonathan Wakely committed
    • * cse.c: Update comments. · 459281be
      From-SVN: r94705
      Kazu Hirata committed
    • cfgcleanup.c, [...]: Update copyright. · 17385e0d
      	* cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h,
      	config/darwin7.h, config/mips/mips.c,
      	config/rs6000/altivec.md, config/rs6000/darwin-tramp.asm:
      	Update copyright.
      
      From-SVN: r94704
      Kazu Hirata committed
    • re PR middle-end/19775 (sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math)) · 6a96f5c1
      2005-02-07  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	PR middle-end/19775
      	* builtins.c (fold_builtin_sqrt): Transform
      	sqrt(pow(x,y)) to pow(fabs(x),y*0.5), not
      	pow(x,y*0.5).
      
      	* gcc.dg/torture/builtin-power-1.c: Disable test for
      	invalid transformation.
      	* gcc.dg/builtins-10.c: Likewise.  Disable one test we
      	no longer optimize.
      	* gcc.dg/builtins-47.c: New testcase.
      
      From-SVN: r94701
      Richard Guenther committed
    • Add new files from last change. · 48c4e711
      From-SVN: r94700
      Anthony Green committed
    • [multiple changes] · 7372d214
      2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
      
              * javax/imageio/metadata/IIOMetadataNode.java:
              Implemented.
              * javax/imageio/metadata/IIOAttr.java,
              javax/imageio/metadata/IIONamedNodeMap.java,
              javax/imageio/metadata/IIONodeList.java:
              New files
      
      2005-02-06  Graydon Hoare  <graydon@redhat.com>
      
              * gnu/java/awt/ClasspathToolkit.java
              (registerImageIOSpis): New method.
              * javax/imageio/ImageIO.java
              (WriterFormatFilter.filter): Fix copy-and-paste typos.
              (WriterMIMETypeFilter.filter): Likewise.
              (ImageReaderIterator): Pass extension argument through to SPI.
              (getReadersByFilter): Likewise.
              (getWritersByFilter): Likewise.
              (getImageReadersByFormatName): Likewise.
              (getImageReadersByMIMEType): Likewise.
              (getImageReadersBySuffix): Likewise.
              (getImageWritersByFormatName): Likewise.
              (getImageWritersByMIMEType): Likewise.
              (getImageWritersBySuffix): Likewise.
              (read): Implement.
              (write): Implement.
              * javax/imageio/ImageReader.java
              (progressListeners): Initialize.
              (setInput): Implement.
              * javax/imageio/ImageWriter.java
              (progressListeners): Initialize.
              (warningListeners): Likewise.
              (warningLocales): Likewise.
              (setOutput): Test "isInstance" rather than class equality.
              * javax/imageio/spi/IIORegistry.java
              (static): Add reader and writer SPIs.
              (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
      
      2004-02-06  Michael Koch  <konqueror@gmx.de>
      
              * javax/imageio/metadata/IIOInvalidTreeException.java
              (IIOInvalidTreeException): Reformatted.
              * javax/imageio/spi/IIORegistry.java
              (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
              * javax/imageio/stream/MemoryCacheImageInputStream.java:
              Reworked import statements.
      
      2004-02-06  Michael Koch  <konqueror@gmx.de>
      
              * javax/imageio/stream/FileImageOutputStream.java:
              Implemented.
      
      2004-02-06  Michael Koch  <konqueror@gmx.de>
      
              * javax/imageio/stream/FileCacheImageInputStream.java,
              javax/imageio/stream/FileCacheImageOutputStream.java,
              javax/imageio/stream/FileImageInputStream.java,
              javax/imageio/stream/ImageInputStreamImpl.java,
              javax/imageio/stream/ImageOutputStreamImpl.java,
              javax/imageio/stream/MemoryCacheImageInputStream.java,
              javax/imageio/stream/MemoryCacheImageOutputStream.java:
              Added all missing methods in javax.imageio.stream.
      
      From-SVN: r94698
      Anthony Green committed