]>
git.ipfire.org Git - thirdparty/gcc.git/log
Andrey Zholos [Mon, 14 Mar 2011 18:10:36 +0000 (18:10 +0000)]
re PR libstdc++/48114 ([C++0x] binomial_distribution incorrect for p > .5 and geometric_distribution wrongly implements the TR1 definition)
2011-03-14 Andrey Zholos <aaz@althenia.net>
PR libstdc++/48114
* include/bits/random.tcc (binomial_distribution<>::operator()):
Fix thinko in computation, __param.p() is a double.
From-SVN: r170950
Richard Sandiford [Mon, 14 Mar 2011 13:48:46 +0000 (13:48 +0000)]
re PR rtl-optimization/47166 (SpecCpu2000 Ammp segfaults for ARM with -O3 -mthumb)
gcc/testsuite/
PR rtl-optimization/47166
* gcc.c-torture/execute/postmod-1.c: New test.
From-SVN: r170940
GCC Administrator [Mon, 14 Mar 2011 00:17:33 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170927
Thomas Koenig [Sun, 13 Mar 2011 20:57:49 +0000 (20:57 +0000)]
re PR fortran/48066 (Segfault with SUM of zero-sized array)
2011-03-13 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/48066
Backport from trunk
* m4/ifunction.m4: If return array is empty, return.
* m4/ifunction_logical.m4: Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l1.c: Regenerated.
* generated/all_l2.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l1.c: Regenerated.
* generated/any_l2.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l.c: Regenerated.
* generated/count_1_l.c: Regenerated.
* generated/count_2_l.c: Regenerated.
* generated/count_4_l.c: Regenerated.
* generated/count_8_l.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
2011-03-13 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/48066
Backport from trunk
* gfortran.dg/intrinsic_ifunction_2.f90: Correct PR number.
From-SVN: r170924
Paul Thomas [Sun, 13 Mar 2011 17:37:43 +0000 (17:37 +0000)]
re PR fortran/47348 (wrong string length with array constructor)
2011-03-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47348
* trans-array.c (get_array_ctor_all_strlen): Move up in file.
(get_array_ctor_var_strlen): Add block dummy and add call to
get_array_ctor_all_strlen instead of giving up on substrings.
Call gcc_unreachable for default case.
(get_array_ctor_strlen): Add extra argument to in call to
get_array_ctor_var_strlen.
2011-03-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47348
* gfortran.dg/array_constructor_36.f90 : New test.
* gfortran.dg/bounds_check_10.f90 : Change dg-output message to
allow for comparison between different elements of the array
constructor at different levels of optimization.
From-SVN: r170923
Jason Merrill [Sun, 13 Mar 2011 01:17:14 +0000 (20:17 -0500)]
re PR c++/47125 (ICE occurs in combination with partial specialization and invalid template function.)
PR c++/47125
* pt.c (tsubst) [TYPENAME_TYPE]: Only give errors if tf_error.
From-SVN: r170919
GCC Administrator [Sun, 13 Mar 2011 00:18:01 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170917
GCC Administrator [Sat, 12 Mar 2011 00:18:31 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170893
Jason Merrill [Fri, 11 Mar 2011 17:20:27 +0000 (12:20 -0500)]
re PR c++/48029 (ICE in finish_member_declaration() with --param ggc-min-expand=0 --param ggc-min-heapsize=0)
PR c++/48029
* stor-layout.c (layout_type): Don't set structural equality
on arrays of incomplete type.
* tree.c (type_hash_eq): Handle comparing them properly.
* cp/pt.c (iterative_hash_template_arg): Remove special case for
ARRAY_TYPE.
From-SVN: r170880
Richard Guenther [Fri, 11 Mar 2011 10:43:31 +0000 (10:43 +0000)]
re PR tree-optimization/47278 (hidden weak function not handled properly)
2011-03-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47278
* gcc.dg/torture/pr47278-1.c: Require visibility support.
* gcc.dg/torture/pr47278-2.c: Likewise.
From-SVN: r170868
GCC Administrator [Fri, 11 Mar 2011 00:18:03 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170859
GCC Administrator [Thu, 10 Mar 2011 00:18:16 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170840
Jason Merrill [Wed, 9 Mar 2011 17:57:51 +0000 (12:57 -0500)]
re PR c++/44629 (ICE in unify, at cp/pt.c:15155)
PR c++/44629
* pt.c (unify): An unresolved overload is a nondeduced context.
From-SVN: r170826
Jason Merrill [Wed, 9 Mar 2011 01:28:19 +0000 (20:28 -0500)]
re PR c++/45651 (ICE in import_export_decl, at cp/decl2.c:2344)
PR c++/45651
* pt.c (instantiate_decl): Don't clear DECL_INTERFACE_KNOWN on
!TREE_PUBLIC decls.
From-SVN: r170806
GCC Administrator [Wed, 9 Mar 2011 00:18:15 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170800
Jason Merrill [Tue, 8 Mar 2011 22:40:06 +0000 (17:40 -0500)]
re PR c++/47289 ([C++0x] ICE in tsubst_pack_expansion (triggered by decltype))
PR c++/47289
* pt.c (coerce_template_parms): Fix error recovery.
From-SVN: r170796
Jason Merrill [Tue, 8 Mar 2011 22:39:57 +0000 (17:39 -0500)]
re PR c++/47705 (internal compiler error: in convert_nontype_argument, at cp/pt.c:5006)
PR c++/47705
* pt.c (convert_nontype_argument): Only call decay_conversion on
arrays.
From-SVN: r170795
Dodji Seketeli [Tue, 8 Mar 2011 21:14:18 +0000 (21:14 +0000)]
re PR c++/47957 (Type mismatch when a class derived a same name with template parameter)
PR c++/47957
gcc/cp/
* name-lookup.c (binding_to_template_parms_of_scope_p): Only
consider scopes of primary template definitions. Adjust comments.
gcc/testsuite/
* g++.dg/lookup/template3.C: New test.
From-SVN: r170790
Jason Merrill [Tue, 8 Mar 2011 17:40:27 +0000 (12:40 -0500)]
re PR c++/47488 (sorry, unimplemented: string literal in function template signature)
PR c++/47488
* mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.
From-SVN: r170786
Richard Guenther [Tue, 8 Mar 2011 13:31:13 +0000 (13:31 +0000)]
backport: [multiple changes]
2011-03-08 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-02-10 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8.
2010-10-18 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45967
* tree-ssa-structalias.c (type_could_have_pointers): Remove.
(could_have_pointers): Likewise.
(handle_rhs_call, handle_const_call, handle_pure_call,
find_func_aliases, intra_create_variable_infos): Remove calls to them.
(struct fieldoff): Add must_have_pointers field.
(type_must_have_pointers): New function.
(field_must_have_pointers): Likewise.
(push_fields_onto_fieldstack): Remove must_have_pointers_p argument.
Adjust field merging.
(create_function_info_for): May-have-pointers of varinfo is
almost always true.
(create_variable_info_for_1): Likewise.
* gcc.dg/torture/pr45967.c: New testcase.
* gcc.dg/torture/pr45967-2.c: Likewise.
* gcc.dg/torture/pr45967-3.c: Likewise.
* gcc.dg/torture/pr39074-2.c: Adjust.
* gcc.dg/torture/pta-escape-1.c: Likewise
* gcc.dg/torture/pta-ptrarith-1.c: Likewise
* gcc.dg/tree-ssa/pta-callused.c: Likewise
* gcc.dg/tree-ssa/pta-escape-1.c: Likewise
* gcc.dg/tree-ssa/pta-escape-2.c: Likewise
* gcc.dg/tree-ssa/pta-escape-3.c: Likewise
* gcc.dg/tree-ssa/ssa-pre-21.c: Likewise
2010-10-12 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (get_constraint_for_1): Constants
only point to nonlocal, not anything.
From-SVN: r170776
Richard Guenther [Tue, 8 Mar 2011 13:03:34 +0000 (13:03 +0000)]
re PR tree-optimization/47278 (hidden weak function not handled properly)
2011-03-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47278
* tree.h (DECL_REPLACEABLE_P): Remove.
(decl_replaceable_p): Declare.
(decl_binds_to_current_def_p): Likewise.
* varasm.c (decl_replaceable_p): New function.
(decl_binds_to_current_def_p): Likewise.
* cgraph.c (cgraph_function_body_availability): Use decl_replaceable_p.
* tree-inline.c (inlinable_function_p): Likewise.
cp/
* decl.c (finish_function): Use decl_replaceable_p.
testsuite/
* gcc.dg/torture/pr47278-1.c: New testcase.
* gcc.dg/torture/pr47278-2.c: Likewise.
From-SVN: r170775
GCC Administrator [Tue, 8 Mar 2011 00:18:13 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170766
Pat Haugen [Mon, 7 Mar 2011 19:40:15 +0000 (19:40 +0000)]
re PR rtl-optimization/47862 (Incorrect code for spilling a vector register)
PR target/47862
* config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define.
* gcc.target/powerpc/pr47862.c: New.
From-SVN: r170749
Mingjie Xing [Mon, 7 Mar 2011 02:57:07 +0000 (02:57 +0000)]
Remove redundant word 'See' before @xref
From-SVN: r170729
Jerry DeLisle [Mon, 7 Mar 2011 02:11:56 +0000 (02:11 +0000)]
backport: re PR fortran/47778 (reading two arrays of structures from namelist fails)
2011-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from mainline
PR libgfortran/47778
* gfortran.dg/namelist_71.f90: New test.
From-SVN: r170727
Jerry DeLisle [Mon, 7 Mar 2011 02:06:27 +0000 (02:06 +0000)]
re PR fortran/47778 (reading two arrays of structures from namelist fails)
2011-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/47778
* io/list_read.c (namelist_read): Intialize the error string buffere.
If pprev_nl was used during the previous namelist read and the rank
was zero, reset the pointer to NULL for the next namelist read.
From-SVN: r170726
GCC Administrator [Mon, 7 Mar 2011 00:18:22 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170724
GCC Administrator [Sun, 6 Mar 2011 00:18:02 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170709
GCC Administrator [Sat, 5 Mar 2011 00:18:10 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170695
Jerry DeLisle [Sat, 5 Mar 2011 00:05:34 +0000 (00:05 +0000)]
backport: [multiple changes]
2011-03-04 Jakub Jelinek <jakub@redhat.com>
Backport from mainline
PR fortran/47878
* io/transfer.c (read_sf): Call fbuf_getptr only at the end,
and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it.
2011-03-04 Janne Blomqvist <jb@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from mainline
PR libfortran/47694
* io/fbuf.h (fbuf_getptr): New inline function.
* io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
through the string instead of fbuf_read.
2011-03-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from mainline
PR libgfortran/47878
* gfortran.dg/pr47878.f90: New test.
From-SVN: r170692
GCC Administrator [Fri, 4 Mar 2011 00:17:59 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170668
Uros Bizjak [Thu, 3 Mar 2011 21:11:16 +0000 (22:11 +0100)]
sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
2011-03-03 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
(ssse3_pmaddubsw128): Ditto.
(ssse3_pmaddubsw): Ditto.
From-SVN: r170662
Denis Chertykov [Thu, 3 Mar 2011 16:58:26 +0000 (19:58 +0300)]
backport: re PR target/42240 (wrong epilogue on naked function)
Backport from mainline
2011-02-22 Georg-Johann Lay <avr@gjlay.de>
PR target/42240
* config/avr/avr.c (avr_cannot_modify_jumps_p): New function.
(TARGET_CANNOT_MODIFY_JUMPS_P): Define.
From-SVN: r170657
Richard Guenther [Thu, 3 Mar 2011 12:22:10 +0000 (12:22 +0000)]
tree-vect-stmt.c (vectorizable_operation): Remove unused vars.
2011-03-03 Richard Guenther <rguenther@suse.de>
* tree-vect-stmt.c (vectorizable_operation): Remove unused vars.
From-SVN: r170651
GCC Administrator [Thu, 3 Mar 2011 00:18:02 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170630
Jason Merrill [Wed, 2 Mar 2011 18:46:01 +0000 (13:46 -0500)]
re PR c++/46159 (Bogus warning about lambdas)
PR c++/46159
* parser.c (cp_parser_primary_expression): Don't warn about a
failed tentative parse.
From-SVN: r170622
Richard Guenther [Wed, 2 Mar 2011 13:56:41 +0000 (13:56 +0000)]
backport: re PR tree-optimization/47615 (ICE: too deep recursion in phi_translate/phi_translate_1 with -ftree-pre -fno-tree-fre -fno-tree-sra)
2011-03-02 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-02-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47615
* tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument.
* tree-ssa-sccvn.c (default_vn_walk_kind): New global.
(run_scc_vn): Initialize it.
(visit_reference_op_load): Use it.
* tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE.
* g++.dg/opt/pr47615.C: New testcase.
From-SVN: r170614
GCC Administrator [Wed, 2 Mar 2011 00:17:14 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170604
Richard Guenther [Tue, 1 Mar 2011 17:06:41 +0000 (17:06 +0000)]
backport: re PR tree-optimization/47639 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fstack-check=generic -fexceptions -fnon-call-exceptions)
2011-03-01 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-02-08 Richard Guenther <rguenther@suse.de>
PR middle-end/47639
* tree-vect-generic.c (expand_vector_operations_1): Update
stmts here ...
(expand_vector_operations): ... not here. Cleanup EH info
and the CFG if required.
* g++.dg/opt/pr47639.c: New testcase.
From-SVN: r170596
Richard Guenther [Tue, 1 Mar 2011 17:04:26 +0000 (17:04 +0000)]
backport: [multiple changes]
2011-03-01 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-03-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47890
* tree-vect-loop.c (get_initial_def_for_induction): Set
related stmt properly.
* gcc.dg/torture/pr47890.c: New testcase.
2010-12-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46723
* tree-vect-loop.c (get_initial_def_for_induction): Strip
conversions from the induction evolution and apply it to
the result instead.
* tree-vect-stmts.c (vect_get_vec_def_for_operand): Handle
assigns for induction defs.
* gcc.dg/torture/pr46723.c: New testcase.
From-SVN: r170595
GCC Administrator [Tue, 1 Mar 2011 00:18:01 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170582
Georg-Johann Lay [Mon, 28 Feb 2011 17:13:13 +0000 (17:13 +0000)]
re PR target/45261 (Doesn't indicate failure status when it doesn't support (attiny2313A))
2011-02-28 Georg-Johann Lay <avr@gjlay.de>
PR target/45261
* config/avr/avr.c (avr_option_override): Use error on bad options.
(avr_help): New function.
(TARGET_HELP): Define.
From-SVN: r170569
GCC Administrator [Mon, 28 Feb 2011 00:17:45 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170553
H.J. Lu [Sun, 27 Feb 2011 18:12:41 +0000 (10:12 -0800)]
Correct date in ChangeLog entry.
From-SVN: r170546
Jason Merrill [Sun, 27 Feb 2011 17:11:19 +0000 (12:11 -0500)]
re PR c++/47904 (ICE with DECL_PARM_INDEX (this) in cp_tree_equal)
PR c++/47904
* tree.c (cp_tree_equal) [PARM_DECL]: Don't crash on
DECL_ARTIFICIAL parms.
From-SVN: r170544
Tobias Burnus [Sun, 27 Feb 2011 14:29:59 +0000 (15:29 +0100)]
backport: [multiple changes]
2011-01-27 Tobias Burnus <burnus@net-b.de>
Backport from mainline
2011-02-26 Tobias Burnus <burnus@net-b.de>
PR fortran/47886
* openmp.c (gfc_resolve_omp_directive): Resolve if()
condition of OpenMP's task.
2011-01-27 Tobias Burnus <burnus@net-b.de>
Backport from mainline
2011-02-27 Jakub Jelinek <jakub@redhat.com>
PR fortran/47886
* testsuite/libgomp.fortran/task3.f90: New test.
From-SVN: r170541
Gerald Pfeifer [Sun, 27 Feb 2011 01:07:13 +0000 (01:07 +0000)]
invoke.texi (ARC Options): Use CPU instead of cpu.
* doc/invoke.texi (ARC Options): Use CPU instead of cpu.
(ARM Options): Ditto.
(i386 and x86-64 Options): Ditto.
(RX Options): Ditto.
(SPARC Options): Ditto.
From-SVN: r170530
Tijl Coosemans [Sun, 27 Feb 2011 01:06:15 +0000 (01:06 +0000)]
config.gcc (i386-*-freebsd*): Make i486 the default arch on FreeBSD 6 and later.
* config.gcc (i386-*-freebsd*): Make i486 the default arch on
FreeBSD 6 and later. Generally use cpu generic.
From-SVN: r170529
GCC Administrator [Sun, 27 Feb 2011 00:18:19 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170525
GCC Administrator [Sat, 26 Feb 2011 00:18:02 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170511
Gerald Pfeifer [Fri, 25 Feb 2011 23:22:29 +0000 (23:22 +0000)]
Fix typo on date.
From-SVN: r170507
Gerald Pfeifer [Fri, 25 Feb 2011 23:20:40 +0000 (23:20 +0000)]
cpp.texi (Obsolete Features): Add background on the origin of assertions.
* doc/cpp.texi (Obsolete Features): Add background on the
origin of assertions.
Update copyright years.
From-SVN: r170506
Andriy Gapon [Fri, 25 Feb 2011 23:15:48 +0000 (23:15 +0000)]
re PR target/45808 (FreeBSD: -pthread is handled incompletely)
PR target/45808
* config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
Update copyright years.
From-SVN: r170505
Johannes Singler [Fri, 25 Feb 2011 14:04:40 +0000 (14:04 +0000)]
re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely)
2011-02-25 Johannes Singler <singler@kit.edu>
PR libstdc++/47433
* include/parallel/losertree.h
(_LoserTree<>::__delete_min_insert):
Do not qualify swap with std:: for value type,
but include a using directive instead.
(_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
* include/parallel/balanced_quicksort.h (__qsb_divide):
Use std::iter_swap instead of std::swap.
(__qsb_local_sort_with_helping): Likewise.
* include/parallel/partition.h (__parallel_partition):
Likewise. (__parallel_nth_element): Likewise.
From-SVN: r170494
Johannes Singler [Fri, 25 Feb 2011 14:01:17 +0000 (14:01 +0000)]
numeric (inner_product, [...]): Qualify subsequent call with __gnu_parallel instead of _GLIBCXX_STD_P to...
2011-02-25 Johannes Singler <singler@kit.edu>
* include/parallel/numeric (inner_product, partial_sum):
Qualify subsequent call with __gnu_parallel instead of
_GLIBCXX_STD_P to reenable parallel execution without ambiguity.
* include/parallel/algobase.h (equal): Likewise.
* include/parallel/algo.h (find_first_of, search_n, merge,
nth_element, partial_sort, max_element, min_element): Likewise.
* testsuite/25_algorithms/headers/algorithm/
parallel_algorithm_mixed1.cc (main): Add respective test cases.
* testsuite/25_algorithms/headers/algorithm/
parallel_algorithm_mixed2.cc (main): Likewise.
* testsuite/26_numerics/headers/numeric/
parallel_numeric_mixed1.cc (main): Likewise.
* testsuite/26_numerics/headers/numeric/
parallel_numeric_mixed2.cc (main): Likewise.
From-SVN: r170493
GCC Administrator [Fri, 25 Feb 2011 00:20:36 +0000 (00:20 +0000)]
Daily bump.
From-SVN: r170484
GCC Administrator [Thu, 24 Feb 2011 00:17:56 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170448
Nathan Froyd [Wed, 23 Feb 2011 18:06:29 +0000 (18:06 +0000)]
re PR target/43810 (linking results in undefined references to _savegpr_* _restgpr_*_x)
PR target/43810
Backport from mainline:
2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
* config.host (powerpc*-eabispe*): Set tmake_file.
(powerpc*-eabi*): Likewise.
* config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
crtbeginS, crtendS, crtbeginT.
From-SVN: r170443
GCC Administrator [Wed, 23 Feb 2011 00:17:58 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170420
Tobias Burnus [Tue, 22 Feb 2011 12:41:54 +0000 (13:41 +0100)]
re PR libfortran/47830 (errors in intrinsics/c99_functions.c)
2011-02-22 Tobias Burnus <burnus@net-b.de>
Kai-Uwe Eckhardt <kuehro@gmx.de>
PR libfortran/47830
* intrinsics/c99_functions.c (roundl): Make C valid for
HAVE_NEXTAFTERL.
Co-Authored-By: Kai-Uwe Eckhardt <kuehro@gmx.de>
From-SVN: r170397
GCC Administrator [Tue, 22 Feb 2011 00:18:38 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170380
Uros Bizjak [Mon, 21 Feb 2011 20:02:02 +0000 (21:02 +0100)]
re PR target/47840 (incorrect _mm256_insert_epi{32,64} implementations)
PR target/47840
* config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
(_mm256_insert_epi64): Use _mm_insert_epi64.
From-SVN: r170372
GCC Administrator [Mon, 21 Feb 2011 00:18:37 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170352
GCC Administrator [Sun, 20 Feb 2011 00:18:42 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170333
Alexandre Oliva [Sat, 19 Feb 2011 21:08:40 +0000 (21:08 +0000)]
re PR tree-optimization/46620 (32-bit structures containing bitfields are not copied correctly on -O2 , x86 backend)
PR tree-optimization/46620
* gcc.dg/pr46620.c: New.
From-SVN: r170326
Tobias Burnus [Sat, 19 Feb 2011 08:57:10 +0000 (09:57 +0100)]
2011-02-19 Tobias Burnus
PR fortran/47775
* trans-expr.c (arrayfunc_assign_needs_temporary): Use
esym to check whether the specific procedure returns an
allocatable or pointer.
2011-02-19 Tobias Burnus
PR fortran/47775
* gfortran.dg/func_result_6.f90: New.
From-SVN: r170309
GCC Administrator [Sat, 19 Feb 2011 00:18:30 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170295
John David Anglin [Fri, 18 Feb 2011 21:30:25 +0000 (21:30 +0000)]
config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
* config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
* config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
pthread_mutex_unlock, pthread_once): Reinstate pthread stubs.
* config/pa/t-pa-hpux11: Add rules to build pthread stubs.
* config/pa/t-pa64: Likewise.
* config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
From-SVN: r170288
GCC Administrator [Fri, 18 Feb 2011 00:18:39 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170264
Uros Bizjak [Thu, 17 Feb 2011 21:22:02 +0000 (22:22 +0100)]
re PR target/43653 (ICE at reload1.c:1188 with -O1 -ftree-vectorize and empty struct)
PR target/43653
* config/i386/i386.c (ix86_secondary_reload): Handle SSE
input reload with PLUS RTX.
testsuite/ChangeLog:
PR target/43653
* gcc.target/i386/pr43653.c: New test.
From-SVN: r170256
GCC Administrator [Thu, 17 Feb 2011 00:18:14 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170233
GCC Administrator [Wed, 16 Feb 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170205
Rainer Orth [Tue, 15 Feb 2011 09:51:58 +0000 (09:51 +0000)]
re PR pch/14940 (PCH largefile test fails on various platforms)
PR pch/14940
* config/alpha/host-osf.c: New file.
* config/alpha/x-osf: New file.
* config.host (alpha*-dec-osf*): Use it.
From-SVN: r170167
Tijl Coosemans [Tue, 15 Feb 2011 01:24:59 +0000 (01:24 +0000)]
freebsd.h (SUBTARGET32_DEFAULT_CPU): Add.
* config/i386/freebsd.h (SUBTARGET32_DEFAULT_CPU): Add.
Update copyright years.
From-SVN: r170164
GCC Administrator [Tue, 15 Feb 2011 00:19:03 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r170162
Tobias Burnus [Mon, 14 Feb 2011 06:38:44 +0000 (07:38 +0100)]
re PR fortran/47569 (gfortran does not detect that the parameters for passing a partial string to a subroutine are incorrect)
2011-02-14 Tobias Burnus <burnus@net-b.de>
PR fortran/47569
* interface.c (compare_parameter): Avoid ICE with
character components.
2011-02-14 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/argument_checking_13.f90: Update dg-error.
* gfortran.dg/argument_checking_17.f90: New.
From-SVN: r170123
GCC Administrator [Mon, 14 Feb 2011 00:18:35 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170119
Gerald Pfeifer [Sun, 13 Feb 2011 23:10:40 +0000 (23:10 +0000)]
faq.xml: Adjust link to bug database.
* doc/xml/faq.xml: Adjust link to bug database.
Remove old item on broken header files.
From-SVN: r170112
GCC Administrator [Sun, 13 Feb 2011 00:17:58 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170095
Paolo Carlini [Sat, 12 Feb 2011 21:26:58 +0000 (21:26 +0000)]
re PR libstdc++/47709 (is_heap(standard iterator) becomes ambiguous in C++0x mode)
2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47709
* include/ext/algorithm (is_heap): In C++0x mode import from
namespace std.
* testsuite/ext/is_heap/47709.cc: New.
From-SVN: r170090
Gerald Pfeifer [Sat, 12 Feb 2011 19:22:17 +0000 (19:22 +0000)]
gnat_ugn.texi (Compiling Different Versions of Ada): Update link to "Ada Issues".
* gnat_ugn.texi (Compiling Different Versions of Ada): Update
link to "Ada Issues".
From-SVN: r170086
GCC Administrator [Sat, 12 Feb 2011 00:17:45 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170065
Bernd Schmidt [Fri, 11 Feb 2011 16:01:19 +0000 (16:01 +0000)]
re PR rtl-optimization/47166 (SpecCpu2000 Ammp segfaults for ARM with -O3 -mthumb)
PR rtl-optimization/47166
* reload1.c (emit_reload_insns): Disable the spill_reg_store
mechanism for PRE_MODIFY and POST_MODIFY.
(inc_for_reload): For PRE_MODIFY, return the insn that sets the
reloadreg.
From-SVN: r170053
John David Anglin [Fri, 11 Feb 2011 02:06:55 +0000 (02:06 +0000)]
backport: config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts.
Backport from mainline:
2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts.
* config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
pthread_mutex_unlock): Remove.
* config/pa/t-pa-hpux11: Remove rules to build pthread stubs.
* config/pa/t-pa64: Likewise.
* config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against
shared libc if not linking against libpthread.
* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
From-SVN: r170040
GCC Administrator [Fri, 11 Feb 2011 00:17:51 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r170035
Rainer Orth [Thu, 10 Feb 2011 17:23:21 +0000 (17:23 +0000)]
re PR target/46610 (gcc.target/mips/save-restore-?.c ICEs on IRIX 6.5: unrecognizable insn)
PR target/46610
* gcc.target/mips/save-restore-1.c: Skip on mips-sgi-irix6*.
* gcc.target/mips/save-restore-3.c: Likewise.
* gcc.target/mips/save-restore-4.c: Likewise.
* gcc.target/mips/save-restore-5.c: Likewise.
PR target/47683
* g++.dg/tree-prof/partition1.C: Skip on mips-sgi-irix*.
* g++.dg/tree-prof/partition2.C: Likewise.
From-SVN: r170013
GCC Administrator [Thu, 10 Feb 2011 00:18:16 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r169993
Rainer Orth [Wed, 9 Feb 2011 14:40:15 +0000 (14:40 +0000)]
re PR libffi/46661 (32-bit cls_pointer.c, cls_pointer_stack.c FAIL on IRIX 6.5)
PR libffi/46661
* testsuite/libffi.call/cls_pointer.c (main): Cast void * to
uintptr_t first.
* testsuite/libffi.call/cls_pointer_stack.c (main): Likewise.
From-SVN: r169972
GCC Administrator [Wed, 9 Feb 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r169956
Eric Botcazou [Tue, 8 Feb 2011 22:56:06 +0000 (22:56 +0000)]
* gcc-interface/Makefile.in (x86-64 darwin): Handle multilibs.
From-SVN: r169951
Jonathan Wakely [Tue, 8 Feb 2011 20:39:29 +0000 (20:39 +0000)]
gpl-2.0.xml: Remove.
2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
* doc/xml/gnu/gpl-2.0.xml: Remove.
* doc/Makefile.am: Update.
* doc/Makefile.in: Regenerate.
From-SVN: r169944
GCC Administrator [Tue, 8 Feb 2011 00:18:03 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r169911
Rainer Orth [Mon, 7 Feb 2011 13:15:14 +0000 (13:15 +0000)]
backport: target-supports.exp (check_avx_hw_available): New procedure.
Backport from mainline:
2010-07-23 Uros Bizjak <ubizjak@gmail.com>
* lib/target-supports.exp (check_avx_hw_available): New procedure.
(check_effective_target_avx_runtime): New procedure.
* gcc.dg/compat/vector-1b_main.c: Use avx_runtime effective target.
Remove cpuid.h include and __get_cpuid test.
* gcc.dg/compat/vector-2b_main.c: Ditto.
* gcc.target/i386/avx-check.h (main): Also check bit_OSXSAVE.
From-SVN: r169883
GCC Administrator [Mon, 7 Feb 2011 00:18:43 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r169873
Gerald Pfeifer [Sun, 6 Feb 2011 21:08:58 +0000 (21:08 +0000)]
debug.xml: Use GDB instead of gdb.
* doc/xml/manual/debug.xml: Use GDB instead of gdb.
Adjust link to GDB manual.
From-SVN: r169868
GCC Administrator [Sun, 6 Feb 2011 00:17:29 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r169858
GCC Administrator [Sat, 5 Feb 2011 00:18:22 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r169845
Michael Meissner [Fri, 4 Feb 2011 16:31:48 +0000 (16:31 +0000)]
Backport fixes for 47272 and 47580 to GCC 4.5
From-SVN: r169832
GCC Administrator [Fri, 4 Feb 2011 00:18:02 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r169818
Jonathan Wakely [Thu, 3 Feb 2011 22:45:06 +0000 (22:45 +0000)]
re PR c++/47589 (internal compiler error: Segmentation fault)
2011-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
PR c++/47589
* g++.dg/pr47589.C: New test.
From-SVN: r169814