1. 29 Dec, 2007 2 commits
  2. 28 Dec, 2007 2 commits
  3. 27 Dec, 2007 10 commits
    • re PR tree-optimization/34591 (internal compiler error: in cost_for_stmt, at… · 0e1b778a
      re PR tree-optimization/34591 (internal compiler error: in cost_for_stmt, at tree-vect-transform.c:98)
      
              PR tree-optimization/34591
              * tree-vect-trasnform.c (vect_estimate_min_profitable_iters): Skip
              stmts (including reduction stmts) that are not live.
      
      From-SVN: r131206
      Dorit Nuzman committed
    • re PR libfortran/22423 (Warnings when building libgfortran) · e6082041
      2007-12-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/22423
      	* intrinsics/pack_generic.c (pack): Change type of mask argument
      	to gfc_array_l1 * in prototype and function.
      	(pack_char):  Likewise.
      	* intrinsics/unpack_generic.c (unpack1):  Likewise.
      	(unpack1_char):  Likewise.
      	(unpack0):  Likewise.
      	(unpack0_char):  Likewise.
      
      From-SVN: r131204
      Thomas Koenig committed
    • re PR ada/34553 (Unsafe calls to mktemp and tmpname) · 18bc9cca
          gcc/ada/
      	PR ada/34553
      	* adaint.c (__gnat_open_new_temp, __gnat_tmp_name): Use mkstemp()
      	instead of mktemp() or tmpnam() on NetBSD.
      
      From-SVN: r131201
      Samuel Tardieu committed
    • re PR libstdc++/34538 ([DR 697] combination of sstream, invalid_argument and… · 83588991
      re PR libstdc++/34538 ([DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code)
      
      2007-12-27  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/34538
      	* config/os/generic/error_constants.h (enum posix_errno): Move
      	inside namespace posix_error.
      	* include/std/system_error (error_category::posix,
      	error_code::error_code(posix_errno), error_code::posix): Adjust.
      	* src/system_error.cc (gnu_error_category::posix): Likewise.
      	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
      	Adjust.
      	* testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
      	Likewise.
      	* testsuite/19_diagnostics/error_code/cons/1.cc: Likewise.
      	* testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise.
      	* testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
      	* testsuite/19_diagnostics/error_code/operators/not_equal.cc:
      	Likewise.
      	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
      	* testsuite/19_diagnostics/error_category/cons/default.cc: Likewise.
      	* testsuite/19_diagnostics/error_category/operators/equal.cc:
      	Likewise.
      	* testsuite/19_diagnostics/error_category/operators/not_equal.cc:
      	Likewise.
      	* testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
      	Likewise.
      	* testsuite/19_diagnostics/system_error/cons-1.cc: Likewise.
      	* testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
      	* testsuite/19_diagnostics/headers/system_error/34538.cc: New.
      
      From-SVN: r131200
      Paolo Carlini committed
    • re PR fortran/34594 (On error and END, no jump to ERR=<label>) · ceac3d59
      2007-12-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/34594
      	* runtime/error.c: If there was a previous error, don't
      	mask it with another error mesage, EOF or EOR condition.
      
      2007-12-27  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/34594
      	* gfortran.dg/direct_io_8.f90:  New test case.
      
      From-SVN: r131199
      Thomas Koenig committed
    • Makefile.in (all): Use install-leaf rather than install. · edbf8b16
      libgcc/
      	* Makefile.in (all): Use install-leaf rather than install.
      	(install): Split most of the rule into...
      	(install-leaf): ...this new one.
      
      From-SVN: r131198
      Richard Sandiford committed
    • re PR target/34281 (ARM: varargs broken with 64bit parameters.) · 22ccaaee
      	PR target/34281
      	* config/arm/arm.c (arm_setup_incoming_varargs): If last named
      	argument needs double word alignment and cum->nregs is odd, account
      	for the inserted padding.
      
      	* gcc.c-torture/execute/20071213-1.c: New test.
      
      From-SVN: r131196
      Jakub Jelinek committed
    • re PR debug/34535 (FAIL: libmudflap.c++/fail24-frag.cxx ICE) · e2925ff2
      	PR debug/34535
      	* tree-mudflap.c (mf_make_builtin): Make decl artificial
      	and don't emit debug info for it.
      
      From-SVN: r131195
      Jakub Jelinek committed
    • 34595.C: Rename to 34595.cc. · 82c45e81
      2007-12-26  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/25_algorithms/copy/34595.C: Rename to 34595.cc.
      
      From-SVN: r131194
      Paolo Carlini committed
    • Daily bump. · 4fd577c4
      From-SVN: r131192
      GCC Administrator committed
  4. 26 Dec, 2007 10 commits
  5. 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
  6. 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
  7. 23 Dec, 2007 5 commits