1. 23 Feb, 2007 23 commits
  2. 22 Feb, 2007 16 commits
    • gcc.c (getenv_spec_function): New function. · 30d8946b
      	* gcc.c (getenv_spec_function): New function.
      	(static_spec_functions): Add it.
      	* config/vxworks.h (VXWORKS_TARGET_DIR): Remove.
      	(VXWORKS_ADDITIONAL_CPP_SPEC): Use getenv to find the VxWorks
      	header files.
      
      From-SVN: r122240
      Mark Mitchell committed
    • gfortran.texi (Old-style kind specifications): Document special handling of… · b69862d1
      gfortran.texi (Old-style kind specifications): Document special handling of old-style kind specifiers for COMPLEX.
      
      * gfortran.texi (Old-style kind specifications): Document
      special handling of old-style kind specifiers for COMPLEX.
      * decl.c (gfc_match_old_kind_spec): Documented kind/bytesize
      assumptions in comment.
      
      From-SVN: r122238
      Brooks Moses committed
    • 3.cc: Fixed type mismatches in explicit instantiations. · 1631cbcf
      2007-02-22  Simon Martin  <simartin@users.sourceforge.net>
      
      	* testsuite/27_io/basic_ios/cons/char/3.cc: Fixed type mismatches in
      	explicit instantiations.
      	* testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
      	* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
      	* testsuite/21_strings/basic_string/inserters_extractors/pod/10081-in.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/inserters_extractors/pod/10081-out.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/capacity/1.cc: Likewise.
      
      From-SVN: r122237
      Simon Martin committed
    • * g++.dg/opt/switch4.C: Pass -fshort-enums -w. · c2143cc1
      From-SVN: r122235
      Mark Mitchell committed
    • dwarf2out.c (add_AT_string): Call ggc_strdup once per string. · a0ad3539
              * dwarf2out.c (add_AT_string): Call ggc_strdup once per string.
              (type_tag): Use lang_hooks.dwarf_name instead of DECL_NAME.
      
              * cp-tree.h (TFF_NO_OUTER_SCOPE): New formatting flag.
              * error.c (dump_aggr_type, dump_simple_decl, dump_decl,
              dump_function_decl): Guard emitting outer scopes by new flag.
              * cp-lang.c (cxx_dwarf_name): New function.
              (LANG_HOOKS_DWARF_NAME): Define to cxx_dwarf_name.
              * pt.c (classtype_mangled_name, mangle_class_name_for_template):
              Remove functions.
              (push_template_decl_real, lookup_template_class): Remove calls
              to above functions.
      
      From-SVN: r122230
      Michael Matz committed
    • re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) · b3502aa8
      libjava/
      	PR libgcj/17002
      	PR classpath/28550
      	* java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
      	/etc/localtime, use ZoneInfo.readTZFile instead of
      	VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
      	either if it is a symlink or through /etc/sysconfig/clock.
      	(readSysconfigClockFile): New static method.
      	(readtzFile): Removed.
      	* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
      	* posix.cc (_Jv_platform_initProperties): Set
      	gnu.java.util.zoneinfo.dir.
      	* sources.am (gnu_java_util_source_files): Add
      	classpath/gnu/java/util/ZoneInfo.java.
      	* Makefile.in: Regenerated.
      	* java/util/VMTimeZone.h: Regenerated.
      	* java/util/TimeZone.h: Regenerated.
      	* gnu/java/util/ZoneInfo.h: Generated.
      libjava/classpath/
      	* java/util/Date.java (parse): Properly parse 09:01:02 as
      	hours/minutes/seconds, not as hours/minutes/year.
      	* java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
      	{start,end}TimeMode constructor by calling shorter constructor,
      	set {start,end}TimeMode fields after it returns.
      	(setStartRule): Don't adjust startTime into WALL_TIME.  Set
      	startTimeMode to WALL_TIME.
      	(endStartRule): Similarly.
      	(getOffset): Handle properly millis + dstOffset overflowing into the
      	next day.  Adjust startTime resp. endTime based on startTimeMode
      	resp. endTimeMode.
      	* java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
      	static fields.
      	(timezones): Remove synchronized keyword.  Set zoneinfo_dir.
      	If non-null, set up aliases0 and don't put anything into
      	timezones0.
      	(defaultZone): Call getTimeZone instead of timezones().get.
      	(getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
      	getTimeZoneInternal instead of timezones().get.
      	(parseTime): Parse correctly hour:minute.
      	(getTimeZoneInternal): New private method.
      	(getTimeZone): Do the custom ID checking first, canonicalize
      	ID for custom IDs as required by documentation.  Call
      	getTimeZoneInternal to handle the rest.
      	(getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
      	(getAvailableIDs(File,String,ArrayList)): New private method.
      	(getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
      	* gnu/java/util/ZoneInfo.java: New file.
      
      From-SVN: r122229
      Jakub Jelinek committed
    • re PR debug/30898 (ICE with anonymous union and -g) · 0c5c188f
      ./:	PR debug/30898
      	* dwarf2out.c (concatn_mem_loc_descriptor): New static function.
      	(mem_loc_descriptor): Call it.
      testsuite/:
      	* g++.dg/debug/pr30898.C: New test.
      
      From-SVN: r122228
      Ian Lance Taylor committed
    • * include/win32-threads.h: Added #undef OUT. · d1789dc2
      From-SVN: r122227
      Mohan Embar committed
    • re PR tree-optimization/30843 (ice for legal code with -ftree-vectorize -O2) · 8fca6de5
      	PR tree-optimization/30843
      	* tree-vect-transform.c (vect_transform_loop): Remove strided scalar
      	stores only after all the group is vectorized.
      
      From-SVN: r122225
      Ira Rosen committed
    • unordered_map (class __unordered_map, [...]): New. · e8020d1f
      2007-02-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/unordered_map (class __unordered_map,
      	class __unordered_multimap): New.
      	(class unordered_map, class unordered_multimap): Forward to
      	the latter.
      	* include/tr1/unordered_set: Likewise for unordered_set and
      	unordered_multiset.
      	* testsuite/tr1/6_containers/headers/unordered_set/synopsis.cc:
      	Remove xfail.
      	* testsuite/tr1/6_containers/headers/unordered_map/synopsis.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/unordered_multimap/requirements/
      	explicit_instantiation.cc: Adjust.
      	* testsuite/tr1/6_containers/unordered_set/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_map/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_multiset/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_map/24064.cc: Likewise.
      	* testsuite/util/native_type/assoc/native_hash_set.hpp: Likewise.
      	* testsuite/util/native_type/assoc/native_hash_map.hpp: Likewise.
      
      From-SVN: r122224
      Paolo Carlini committed
    • unordered_map (class __unordered_map, [...]): New. · 5992e399
      2007-02-22  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/unordered_map (class __unordered_map,
      	class __unordered_multimap): New.
      	(class unordered_map, class unordered_multimap): Forward to
      	the latter.
      	* include/tr1/unordered_set: Likewise for unordered_set and
      	unordered_multiset.
      	* testsuite/tr1/6_containers/headers/unordered_set/synopsis.cc:
      	Remove xfail.
      	* testsuite/tr1/6_containers/headers/unordered_map/synopsis.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/unordered_multimap/requirements/
      	explicit_instantiation.cc: Adjust.
      	* testsuite/tr1/6_containers/unordered_set/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_map/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_multiset/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_map/24064.cc: Likewise.
      	* testsuite/util/native_type/assoc/native_hash_set.hpp: Likewise.
      	* testsuite/util/native_type/assoc/native_hash_map.hpp: Likewise.
      
      From-SVN: r122223
      Paolo Carlini committed
    • Update test to be compatible with Ada 2005. · c00b8d4a
      From-SVN: r122222
      Arnaud Charlet committed
    • re PR tree-optimization/30858 (ice for legal code with -O2 -ftree-vectorize) · b3832a9f
              PR tree-optimization/30858
              * tree-vectorizer.c (vect_is_simple_reduction): Check that the stmts
              in the reduction cycle have a single use in the loop.
              * tree-vectorizer.h (relevant): Add documentation.
      
      From-SVN: r122220
      Dorit Nuzman committed
    • wrapper.exp (${tool}_maybe_build_wrapper): Allow the caller to set options for compiling testglue. · d1fb5e1c
      	* lib/wrapper.exp (${tool}_maybe_build_wrapper): Allow the caller
      	to set options for compiling testglue.
      	* lib/g++.exp (g++_init): Compile testglue with -fexceptions.
      	* lib/obj-c++.exp (obj-c++_init): Likewise.
      
      	* testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
      	with -fexceptions.
      
      From-SVN: r122217
      Mark Mitchell committed
    • Daily bump. · bc52707a
      From-SVN: r122215
      GCC Administrator committed
  3. 21 Feb, 2007 1 commit