1. 25 Dec, 2007 5 commits
    • hashtable_policy.h (__lower_bound): Add. · 6b81511f
      2007-12-25  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1_impl/hashtable_policy.h (__lower_bound): Add.
      	(_Prime_rehash_policy::_M_next_bkt, _M_bkt_for_elements,
      	_M_need_rehash): Use __lower_bound.
      	* include/std/unordered_map: Do not include the whole <algorithm>,
      	include <bits/stl_algobase.h>.
      	* include/std/unordered_set: Likewise.
      	* include/tr1/unordered_map: Likewise.
      	* include/tr1/unordered_set: Likewise.
      
      From-SVN: r131170
      Paolo Carlini committed
    • re PR fortran/34514 (Accepts invalid: Dimensions specified for N after initialisation) · 1283ab12
      2007-12-25  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34514
              * decl.c (attr_decl1): Reject specifying the DIMENSION for
              already initialized variable.
              (do_parm): Reject PARAMETER for already initialized variable.
      
      2007-12-25  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34514
              * gfortran.dg/initialization_17.f90: New.
      
      From-SVN: r131169
      Tobias Burnus committed
    • re PR fortran/34533 (DTIME returns total process time and not since last invocation) · a1ba31ce
      gcc/fortran:
      2007-12-25  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/34533
      	* intrinsic.h (gfc_check_etime): Renamed to ...
      	(gfc_check_dtime_etime): ... this.
      	(gfc_check_etime_sub): Renamed to ...
      	(gfc_check_dtime_etime_sub): ... this.
      	(gfc_resolve_dtime_sub): New prototype.
      	* check.c (gfc_check_etime): Renamed to ...
      	(gfc_check_dtime_etime): ... this.
      	(gfc_check_etime_sub): Renamed to ...
      	(gfc_check_dtime_etime_sub): ... this.
      	* iresolve.c (gfc_resolve_dtime_sub): New implementation.
      	* intrinsic.c (add_functions): Removed alias from ETIME to DTIME,
      	added stand-alone intrinsic DTIME.
      	(add_subroutines): Adjusted check and resolve function names for
      	DTIME and ETIME.
      	* trans-intrinsic.c (gfc_conv_intrinsic_function): Added DTIME
      	to known functions in switch.
      	* intrinsic.texi (DTIME): Added paragraph about thread-safety,
      	fixed return value section.
      	(CPU_TIME): Clarified intent and added implementation notes.
      
      
      libgfortran:
      2007-12-25  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/34533
      	* intrinsics/cpu_time.c: Moved code commonly usable for CPU_TIME,
      	DTIME and ETIME to ...
      	* intrinsics/time_1.h: ... here.
      	* intrinsics/dtime.c: New file.
      	* intrinsics/etime.c: Newly implemented using the common 
      	time-aquisition function from time_1.h.
      	* gfortran.map (_gfortran_dtime, _gfortran_dtime_sub): New.
      	* Makefile.am: Added new file.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r131168
      Daniel Franke committed
    • re PR fortran/34566 (Matmul of logical values) · 54a83842
      2007-12-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/34566
      	* m4/matmull.m4:  Multiply xstride and ystride by correct kind.
      	* generated/matmul_l4.c:  Regenerated.
      	* generated/matmul_l8.c:  Regenerated.
      	* generated/matmul_l16.c:  Regenerated.
      
      2007-12-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/34566
      	* gfortran.dg/matmul_6.f90:  New test.
      
      From-SVN: r131167
      Thomas Koenig committed
    • Daily bump. · 9c1ebeef
      From-SVN: r131165
      GCC Administrator committed
  2. 24 Dec, 2007 6 commits
    • * objs-gcc.sh: Revert previous change. · 788ded72
      From-SVN: r131162
      Geoffrey Keating committed
    • big_tuples.cc: New. · a1c1054b
      2007-12-24  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/20_util/tuple/cons/big_tuples.cc: New.
      	* testsuite/20_util/tuple/cons/constructor.cc: Likewise.
      	* testsuite/20_util/tuple/cons/assignment.cc: Likewise.
      	* testsuite/20_util/tuple/tuple_element.cc: Likewise.
      	* testsuite/20_util/tuple/tuple_size.cc: Likewise.
      	* testsuite/20_util/tuple/comparison_operators/comparisons.cc:
      	Likewise.
      	* testsuite/20_util/tuple/element_access/get.cc: Likewise.
      	* testsuite/20_util/tuple/creation_functions/23978.cc: Likewise.
      	* testsuite/20_util/tuple/creation_functions/tie.cc: Likewise.
      	* testsuite/20_util/tuple/creation_functions/make_tuple.cc: Likewise.
      
      	* testsuite/20_util/tuple/requirements/explicit_instantiation.cc:
      	Fix header file and namespace.
      
      	* testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Minor tweaks.
      	* testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/cons/assignment.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/tuple_element.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/tuple_size.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/comparison_operators/
      	comparisons.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/element_access/get.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
      	Likewise.
      
      From-SVN: r131159
      Paolo Carlini committed
    • default_weaktoshared.cc: Use static_cast not reinterpret_cast. · 045fcc24
      2007-12-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* testsuite/tr1/2_general_utilities/shared_ptr/thread/
      	default_weaktoshared.cc: Use static_cast not reinterpret_cast.
      	* testsuite/tr1/2_general_utilities/shared_ptr/thread/
      	mutex_weaktoshared.cc: Likewise.
      
      From-SVN: r131158
      Jonathan Wakely committed
    • hashtable_policy.h (_Prime_rehash_policy:: _M_next_bkt, [...]): Use __builtin_ceil. · 861d6c43
      2007-12-24  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1_impl/hashtable_policy.h (_Prime_rehash_policy::
      	_M_next_bkt, _M_bkt_for_elements, _M_need_rehash): Use __builtin_ceil.
      	* include/std/unordered_map: Do not include <cmath>; prefer
      	<bits/stringfwd.h> to <string>.
      	* include/std/unordered_set: Likewise.
      	* include/tr1/unordered_map: Likewise.
      	* include/tr1/unordered_set: Likewise.
      
      From-SVN: r131157
      Paolo Carlini committed
    • complex (complex<float>::complex(float, float)): Uglify parameters. · d0cbf089
      2007-12-24  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/std/complex (complex<float>::complex(float, float)):
      	Uglify parameters.
      
      From-SVN: r131156
      Paolo Carlini committed
    • Daily bump. · 8ffaa5a7
      From-SVN: r131154
      GCC Administrator committed
  3. 23 Dec, 2007 6 commits
  4. 22 Dec, 2007 8 commits
  5. 21 Dec, 2007 10 commits
  6. 20 Dec, 2007 5 commits
    • xtensa.md (fix_return_addr): Remove. · 7f0ee694
      	* config/xtensa/xtensa.md (fix_return_addr): Remove.
      	* config/xtensa/xtensa-protos.h (xtensa_initialize_trampoline): New.
      	(xtensa_trampoline_template): New.
      	* config/xtensa/xtensa.c (MIN_FRAME_SIZE): Moved here from xtensa.h.
      	(xtensa_return_addr): Expand to standard Xtensa insns instead of
      	fix_return_addr.  Get high bits from a local label.
      	(xtensa_trampoline_template): New function with code moved from
      	TRAMPOLINE_TEMPLATE in xtensa.h.  Use L32R instead of CALL0 except
      	when using CONST16 or absolute-mode literals.
      	(xtensa_initialize_trampoline): New function with code moved from
      	INITIALIZE_TRAMPOLINE in xtensa.h.  Use different offsets depending
      	on which trampoline version is used.
      	* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Add comment.
      	* config/xtensa/xtensa.h (TARGET_ABSOLUTE_LITERALS): Define.
      	(MIN_FRAME_SIZE): Moved to xtensa.c.
      	(TRAMPOLINE_TEMPLATE): Use xtensa_trampoline_template.
      	(TRAMPOLINE_SIZE): Two versions of the trampoline have different sizes.
      	(INITIALIZE_TRAMPOLINE): Use xtensa_initialize_trampoline.
      	* config/xtensa/ieee754-df.S (XCHAL_NO_MUL): Define.
      	(__muldf3): Use CALL12 instead of CALL0 to invoke .Lmul_mulsi3
      	helper when not using the CALL0 ABI.  Change .Lmul_mulsi3 to match.
      	* config/xtensa/lib1funcs.asm (__umulsidi3): Likewise.
      	* config/xtensa/ieee754-sf.S (__mulsf3): Likewise.
      
      From-SVN: r131108
      Bob Wilson committed
    • re PR c++/34111 (new overload resolution error) · 4c12c8ea
              PR c++/34111
              * call.c (standard_conversion): Derived-to-base is considered a
              standard conversion.
      
      From-SVN: r131107
      Jason Merrill committed
    • lang.c (java_classify_record): Don't return RECORD_IS_INTERFACE for now. · ef833d3d
      * lang.c (java_classify_record): Don't return
      RECORD_IS_INTERFACE for now.
      
      From-SVN: r131105
      Alexandre Oliva committed
    • re PR c++/34459 (incorrect code when compiled with optimization (-O1)) · 3ec1a737
      	PR c++/34459
      	* tree-ssa-dse.c (dse_optimize_stmt): Don't eliminate store if
      	USE_STMT not only stores into the same object as STMT, but might
      	read it too.
      
      	* gcc.c-torture/execute/20071219-1.c: New test.
      
      From-SVN: r131101
      Jakub Jelinek committed
    • re PR libfortran/34530 (namelist read broken when whitespace after &namelist) · 667e2045
      2007-12-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34530
              * io/list_read.c (eat_line): Move up in the file.
              (eat_separator): In namelist mode, skip over comment lines.
      
      2007-12-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34530
              * gfortran.dg/namelist_44.f90: New.
      
      From-SVN: r131099
      Tobias Burnus committed