aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-0134636.cc: Fix Copyright year.Paolo Carlini2-1/+5
2008-01-01 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year. From-SVN: r131246
2008-01-01re PR libstdc++/34636 (Parallel sort fails)Paolo Carlini3-14/+43
2008-01-01 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34636 * include/parallel/algobase.h (lexicographical_compare_switch(..., random_access_iterator_tag, random_access_iterator_tag)): Careful with undereferenceable iterators. * testsuite/25_algorithms/sort/34636.cc: New. From-SVN: r131245
2008-01-01sse.md (sse5_pperm, [...]): Fix constraints.Jakub Jelinek4-19/+30
* config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si, sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi, sse5_perm<mode>): Fix constraints. * gcc.target/i386/i386.exp (check_effective_target_sse5): Use __v8hi rather than __v2di type. From-SVN: r131244
2008-01-01Daily bump.GCC Administrator1-1/+1
From-SVN: r131242
2007-12-31re PR fortran/34558 (ICE with same TYPE in both program and interface)Paul Thomas1-6/+8
2007-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34558 * interface.c (gfc_compare_types): Prevent linked lists from putting this function into an endless recursive loop. 2007-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34558 * gfortran.dg/linked_list_1.f90: New test. From-SVN: r131239
2007-12-31re PR fortran/34558 (ICE with same TYPE in both program and interface)Paul Thomas4-1/+54
2007-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34558 * interface.c (gfc_compare_types): Prevent linked lists from putting this function into an endless recursive loop. 2007-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/34558 * gfortran.dg/linked_list_1.f90: New test. From-SVN: r131238
2007-12-31re PR driver/33772 (collect2 doesn't strip .sl version)John David Anglin4-2/+26
PR driver/33772 * collect2.c (SHLIB_SUFFIX): Define if not defined. (write_c_file_stat): Use SHLIB_SUFFIX. * som.h (SHLIB_SUFFIX): Define. * doc/tm.texi (SHLIB_SUFFIX): Document. From-SVN: r131235
2007-12-31Daily bump.GCC Administrator1-1/+1
From-SVN: r131233
2007-12-30tuple (_Tuple_impl<>::_Tuple_impl(typename std::remove_reference<>::type&&, ↵Paolo Carlini5-32/+284
typename std::remove_reference<>::type&&...), [...]): Add. 2007-12-30 Paolo Carlini <pcarlini@suse.de> * include/std/tuple (_Tuple_impl<>::_Tuple_impl(typename std::remove_reference<>::type&&, typename std::remove_reference<>::type&&...), _Tuple_impl(const _Tuple_impl<>&), _Tuple_impl(_Tuple_impl&&), _Tuple_impl(_Tuple_impl<>&&), operator=(_Tuple_impl&&), operator=(const _Tuple_impl<>&), operator=(_Tuple_impl<>&&)): Add. (tuple<>::tuple(const _Elements&...), tuple(_UElements&&...), tuple(tuple&&), tuple(const tuple<>&), tuple(tuple<>&&), operator=(tuple&&), operator=(const tuple<>&), operator=(tuple<>&&)): Likewise. (tuple<_T1, _T2>::tuple(const _T1&, const _T2&, tuple(_U1&&, _U2&&), tuple(tuple&&), tuple(tuple<>&&), tuple(pair<>&&), operator=(tuple&&), operator=(tuple<>&&), operator=(pair<>&&)): Likewise. (tuple<>::tuple(typename __add_c_ref<_Elements>::type...), tuple<_T1, _T2>::tuple(typename __add_c_ref<>::type, typename __add_c_ref<>::type)): Remove. * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: New. * testsuite/20_util/tuple/creation_functions/tie2.cc: Likewise. * testsuite/20_util/tuple/moveable.cc: Likewise. From-SVN: r131230
2007-12-30Daily bump.GCC Administrator1-1/+1
From-SVN: r131227
2007-12-29* config/os/mingw32/error_constants.h: Fix typo in comment.Gerald Pfeifer2-1/+5
From-SVN: r131224
2007-12-29sse.md ("*divv4sf3"): Rename to "sse_divv4sf3".Uros Bizjak3-32/+57
* config/i386/sse.md ("*divv4sf3"): Rename to "sse_divv4sf3". ("*sse_rsqrtv4sf2"): Export. ("*sse_sqrtv4sf2"): Ditto. * config/i386/i386.c (enum ix86_builtins) [IX86_BUILTIN_RSQRTPS_NR, IX86_BUILTIN_SQRTPS_NR]: New constants. (struct builtin_description) [IX86_BUILTIN_DIVPS]: Use CODE_FOR_sse_divv4sf3. [IX86_BUILTIN_SQRTPS]: Use CODE_FOR_sse_sqrtv4sf2. [IX86_BUILTIN_SQRTPS_NR]: New. [IX86_BUILTIN_RSQRTPS_NR]: Ditto. (ix86_init_mmx_sse_builtins): Initialize __builtin_ia32_rsqrtps_nr and __builtin_ia32_sqrtps_nr. (ix86_builtin_vectorized_function): Convert BUILT_IN_SQRTF to IX86_BUILTIN_SQRTPS_NR. (ix86_builtin_reciprocal): Convert IX86_BUILTIN_SQRTPS_NR to IX86_BUILTIN_RSQRTPS_NR. From-SVN: r131220
2007-12-29objc.exp (objc_libgcc_s_path): Set objc_libgcc_s_path instead of appending ↵Richard Sandiford2-1/+6
to it. gcc/testsuite/ * lib/objc.exp (objc_libgcc_s_path): Set objc_libgcc_s_path instead of appending to it. From-SVN: r131219
2007-12-29error_constants.h (enum posix_errno): Move inside namespace posix_errorDanny Smith2-1/+8
* config/os/mingw32/error_constants.h (enum posix_errno): Move inside namespace posix_error From-SVN: r131218
2007-12-29Daily bump.GCC Administrator1-1/+1
From-SVN: r131216
2007-12-28invoke.texi (Optimize Options): Add missing opindex for -fno-toplevel-reorder.Brian Dessent2-0/+6
* doc/invoke.texi (Optimize Options): Add missing opindex for -fno-toplevel-reorder. From-SVN: r131213
2007-12-28Daily bump.GCC Administrator1-1/+1
From-SVN: r131210
2007-12-27re PR tree-optimization/34591 (internal compiler error: in cost_for_stmt, at ↵Dorit Nuzman4-1/+25
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
2007-12-27re PR libfortran/22423 (Warnings when building libgfortran)Thomas Koenig3-12/+23
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
2007-12-27re PR ada/34553 (Unsafe calls to mktemp and tmpname)Samuel Tardieu2-2/+9
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
2007-12-27re PR libstdc++/34538 ([DR 697] combination of sstream, invalid_argument and ↵Paolo Carlini18-109/+170
-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
2007-12-27re PR fortran/34594 (On error and END, no jump to ERR=<label>)Thomas Koenig4-0/+43
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
2007-12-27Makefile.in (all): Use install-leaf rather than install.Richard Sandiford2-2/+9
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
2007-12-27re PR target/34281 (ARM: varargs broken with 64bit parameters.)Jakub Jelinek4-4/+73
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
2007-12-27re PR debug/34535 (FAIL: libmudflap.c++/fail24-frag.cxx ICE)Jakub Jelinek2-0/+10
PR debug/34535 * tree-mudflap.c (mf_make_builtin): Make decl artificial and don't emit debug info for it. From-SVN: r131195
2007-12-2734595.C: Rename to 34595.cc.Paolo Carlini2-0/+4
2007-12-26 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/copy/34595.C: Rename to 34595.cc. From-SVN: r131194
2007-12-27Daily bump.GCC Administrator1-1/+1
From-SVN: r131192
2007-12-27avr.h (LINK_SPEC, [...]): Move AT90USB82 and AT90USB162 devices from 'avr5' ↵Anatoly Sokolov4-11/+31
to 'avr35' architecture. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Move AT90USB82 and AT90USB162 devices from 'avr5' to 'avr35' architecture. (ASM_SPEC): Add 'avr35' architecture. * config/avr/avr.c (avr_mcu_types): Move AT90USB82 and AT90USB162 devices from 'avr5' to 'avr35' architecture. (avr_arch_types): Add "avr23" entries. (avr_arch): Add 'ARCH_AVR35'. * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add 'avr35'. (MULTILIB_MATCHES): Move AT90USB82 and AT90USB162 devices from 'avr5' to 'avr35' architecture. From-SVN: r131189
2007-12-26re PR libstdc++/34595 (std::copy copies the output iterator before assigning)Paolo Carlini3-31/+146
2007-12-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34595 * include/bits/stl_algobase.h (struct __cm_assign): Remove. (struct __copy_move<true, false, _Category>, struct __copy_move<true, false, random_access_iterator_tag>, struct __copy_move_backward<true, false, _Category>, struct __copy_move_backward<true, false, random_access_iterator_tag>): Add. (struct __copy_move, struct __copy_move_backward, struct __copy_move<false, false, random_access_iterator_tag>, struct __copy_move_backward<false, false, random_access_iterator_tag>): Adjust. * testsuite/25_algorithms/copy/34595.C: New. From-SVN: r131188
2007-12-26compareSumTests3: Changed to GPLv3.Sebastian Pop9-8/+19
2007-12-26 Sebastian Pop <sebastian.pop@amd.com> * compareSumTests3: Changed to GPLv3. * prepare_patch.sh: Same. * uninclude: Same. * dglib.pm: Same. * gennews: Same. * texi2pod.pl: Same. * analyze_brprob: Same. * gcc_build: Same. From-SVN: r131186
2007-12-26patch_tester.sh: Changed to GPLv3.Sebastian Pop2-1/+5
2007-12-26 Sebastian Pop <sebastian.pop@amd.com> * patch_tester.sh: Changed to GPLv3. From-SVN: r131185
2007-12-26tuple: New.Chris Fairles6-468/+911
2007-12-26 Chris Fairles <chris.fairles@gmail.com> Paolo Carlini <pcarlini@suse.de> * include/std/tuple: New. * include/tr1/tuple: New, adjust from tr1_impl/tuple code. * include/tr1_impl/tuple: Remove. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r131183
2007-12-26re PR fortran/34532 (Doc error or rej.valid vendor extension: Integer as ↵Daniel Franke2-4/+15
logical in IF expressions) 2007-12-25 Daniel Franke <franke.daniel@gmail.com> PR fortran/34532 * gfortran.texi: Fixed section about implicit conversion of logical and integer variables. From-SVN: r131180
2007-12-26Fix change log, missing PR reference.Jerry DeLisle1-0/+1
From-SVN: r131179
2007-12-26re PR fortran/34560 (I/O internal read: END expected, but no failure)Jerry DeLisle2-0/+17
2007-12-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/34560 * gfortran.dg/read_eof_5.f90: New test. From-SVN: r131178
2007-12-26transfer.c (read_sf): Check if readlen was less than the requested number of ↵Jerry DeLisle2-1/+13
bytes to read and if so... 2007-12-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io/transfer.c (read_sf): Check if readlen was less than the requested number of bytes to read and if so, generate error. From-SVN: r131177
2007-12-26Daily bump.GCC Administrator1-1/+1
From-SVN: r131175
2007-12-25hashtable_policy.h (__lower_bound): Add.Paolo Carlini6-10/+43
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
2007-12-25re PR fortran/34514 (Accepts invalid: Dimensions specified for N after ↵Tobias Burnus4-0/+37
initialisation) 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
2007-12-25re PR fortran/34533 (DTIME returns total process time and not since last ↵Daniel Franke16-122/+349
invocation) 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
2007-12-25re PR fortran/34566 (Matmul of logical values)Thomas Koenig7-8/+87
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
2007-12-25Daily bump.GCC Administrator1-1/+1
From-SVN: r131165
2007-12-24* objs-gcc.sh: Revert previous change.Geoffrey Keating2-1/+5
From-SVN: r131162
2007-12-24big_tuples.cc: New.Paolo Carlini21-11/+578
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
2007-12-24default_weaktoshared.cc: Use static_cast not reinterpret_cast.Jonathan Wakely3-8/+15
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
2007-12-24hashtable_policy.h (_Prime_rehash_policy:: _M_next_bkt, [...]): Use ↵Paolo Carlini6-19/+24
__builtin_ceil. 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
2007-12-24complex (complex<float>::complex(float, float)): Uglify parameters.Paolo Carlini2-4/+9
2007-12-24 Paolo Carlini <pcarlini@suse.de> * include/std/complex (complex<float>::complex(float, float)): Uglify parameters. From-SVN: r131156
2007-12-24Daily bump.GCC Administrator1-1/+1
From-SVN: r131154
2007-12-23objs-gcc.sh: Set up the GDB testsuite even if the gdb installed is just ↵Geoffrey Keating2-1/+6
called 'gdb'. * objs-gcc.sh: Set up the GDB testsuite even if the gdb installed is just called 'gdb'. From-SVN: r131151
2007-12-23re PR fortran/34421 (ENTRY functions: Character with different stringlength ↵Tobias Burnus4-2/+85
not rejected) 2007-12-23 Tobias Burnus <burnus@net-b.de> PR fortran/34421 * resolve.c (resolve_entries): Add standard error for functions returning characters with different length. 2007-12-23 Tobias Burnus <burnus@net-b.de> PR fortran/34421 * gfortran.dg/entry_17.f90: New. From-SVN: r131150