]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
14 years agoDaily bump.
GCC Administrator [Thu, 31 Mar 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171764

14 years agoFix a typo in FLOAT_SSE_REGS.
H.J. Lu [Wed, 30 Mar 2011 10:48:07 +0000 (10:48 +0000)] 
Fix a typo in FLOAT_SSE_REGS.

2011-03-30  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2011-03-30  H.J. Lu  <hongjiu.lu@intel.com>

PR target/48349
* config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in
FLOAT_SSE_REGS.

From-SVN: r171720

14 years agoDaily bump.
GCC Administrator [Wed, 30 Mar 2011 00:18:31 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171710

14 years agos390.c (s390_preferred_reload_class): Return NO_REGS for invalid symbolic addresses.
Andreas Krebbel [Tue, 29 Mar 2011 15:20:55 +0000 (15:20 +0000)] 
s390.c (s390_preferred_reload_class): Return NO_REGS for invalid symbolic addresses.

2011-03-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS
for invalid symbolic addresses.
(s390_secondary_reload): Don't use s390_check_symref_alignment for
larl operands.

From-SVN: r171676

14 years agoDaily bump.
GCC Administrator [Tue, 29 Mar 2011 00:17:25 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171646

14 years agorevert: re PR c++/48289 (-pedantic breaks std::move)
Jason Merrill [Mon, 28 Mar 2011 15:06:28 +0000 (11:06 -0400)] 
revert: re PR c++/48289 (-pedantic breaks std::move)

        Revert:
        PR c++/48289
        * pt.c (build_non_dependent_expr): Keep dereferences outside the
        NON_DEPENDENT_EXPR.

From-SVN: r171607

14 years agore PR target/47553 (ARM neon vld1q_lane_u8 & co. don't accept lanes >= 8)
Richard Sandiford [Mon, 28 Mar 2011 10:32:09 +0000 (10:32 +0000)] 
re PR target/47553 (ARM neon vld1q_lane_u8 & co. don't accept lanes >= 8)

gcc/
PR target/47553
* config/arm/predicates.md (neon_lane_number): Accept 0..15.

gcc/testsuite/
PR target/47553
* gcc.target/arm/neon-vld-1.c: New test.

From-SVN: r171597

14 years agoDaily bump.
GCC Administrator [Mon, 28 Mar 2011 00:18:27 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171586

14 years agoDaily bump.
GCC Administrator [Sun, 27 Mar 2011 00:17:30 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171565

14 years agoDaily bump.
GCC Administrator [Sat, 26 Mar 2011 00:18:13 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171535

14 years agore PR c++/48289 (-pedantic breaks std::move)
Jason Merrill [Fri, 25 Mar 2011 16:17:36 +0000 (12:17 -0400)] 
re PR c++/48289 (-pedantic breaks std::move)

PR c++/48289
* pt.c (build_non_dependent_expr): Keep dereferences outside the
NON_DEPENDENT_EXPR.

From-SVN: r171463

14 years agoDaily bump.
GCC Administrator [Fri, 25 Mar 2011 00:17:52 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171432

14 years agoDaily bump.
GCC Administrator [Thu, 24 Mar 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171374

14 years agore PR middle-end/48254 (documentation minor)
Jonathan Wakely [Wed, 23 Mar 2011 22:03:29 +0000 (22:03 +0000)] 
re PR middle-end/48254 (documentation minor)

2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR other/48254
* doc/invoke.texi (-fipa-struct-reorg): Fix typo.

From-SVN: r171367

14 years agore PR other/48179 (Reference mismatch in documentation chapter 6)
Jonathan Wakely [Wed, 23 Mar 2011 21:12:51 +0000 (21:12 +0000)] 
re PR other/48179 (Reference mismatch in documentation chapter 6)

2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR other/48179
PR other/48234
* doc/extend.texi (Alignment): Move section to match order in TOC.
* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.

From-SVN: r171363

14 years agoDaily bump.
GCC Administrator [Wed, 23 Mar 2011 00:18:39 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171335

14 years agoDaily bump.
GCC Administrator [Tue, 22 Mar 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171276

14 years agoBackport fix for 48192 from trunk
Michael Meissner [Mon, 21 Mar 2011 20:59:02 +0000 (20:59 +0000)] 
Backport fix for 48192 from trunk

From-SVN: r171269

14 years ago14220.cc: Don't xfail on sparc*-sun-solaris2.10 && lp64.
Rainer Orth [Mon, 21 Mar 2011 13:41:37 +0000 (13:41 +0000)] 
14220.cc: Don't xfail on sparc*-sun-solaris2.10 && lp64.

* testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
sparc*-sun-solaris2.10 && lp64.

From-SVN: r171233

14 years agoDaily bump.
GCC Administrator [Mon, 21 Mar 2011 00:18:00 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171200

14 years agoDaily bump.
GCC Administrator [Sun, 20 Mar 2011 00:17:27 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171188

14 years agoDaily bump.
GCC Administrator [Sat, 19 Mar 2011 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171175

14 years agore PR middle-end/47405 (gcc.dg/torture/20090618-1.c FAILs on IRIX 6.5)
Rainer Orth [Fri, 18 Mar 2011 14:17:58 +0000 (14:17 +0000)] 
re PR middle-end/47405 (gcc.dg/torture/20090618-1.c FAILs on IRIX 6.5)

PR middle-end/47405
* gcc.dg/torture/20090618-1.c: Skip on mips-sgi-irix*.

From-SVN: r171142

14 years agoAdd Save to -mavx and -mfma.
H.J. Lu [Fri, 18 Mar 2011 12:47:37 +0000 (12:47 +0000)] 
Add Save to -mavx and -mfma.

2011-03-18  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/48171
* config/i386/i386.opt: Add Save to -mavx and -mfma.

From-SVN: r171136

14 years agoDaily bump.
GCC Administrator [Fri, 18 Mar 2011 00:18:18 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r171121

14 years ago* config/rx/rx.h (MEMORY_MOVE_COST): Reduce the cost of stores.
Nick Clifton [Thu, 17 Mar 2011 10:51:26 +0000 (10:51 +0000)] 
* config/rx/rx.h (MEMORY_MOVE_COST): Reduce the cost of stores.

From-SVN: r171088

14 years agoDaily bump.
GCC Administrator [Thu, 17 Mar 2011 00:17:45 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171080

14 years agore PR rtl-optimization/47862 (Incorrect code for spilling a vector register)
Pat Haugen [Wed, 16 Mar 2011 20:19:14 +0000 (20:19 +0000)] 
re PR rtl-optimization/47862 (Incorrect code for spilling a vector register)

        PR target/47862
        * caller-save.c (insert_restore, insert_save): Use non-validate
        form of adjust_address.

From-SVN: r171072

14 years agorx.h (JUMP_ALIGN): Define.
Nick Clifton [Wed, 16 Mar 2011 11:47:59 +0000 (11:47 +0000)] 
rx.h (JUMP_ALIGN): Define.

* config/rx/rx.h (JUMP_ALIGN): Define.
(JUMP_ALIGN_MAX_SKIP, LABEL_ALIGN_AFTER_BARRIER, LOOP_ALIGN,
(LABEL_ALIGN, LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP,
(LOOP_ALIGN_MAX_SKIP, LABEL_ALIGN_MAX_SKIP): Define.
* config/rx/rx-protos.h (rx_align_for_label): Prototype.
(rx_max_skip_for_label): Prototype.
* config/rx/rx.md (abssi3): Use CC_ZSmode.
(andis3): Fix timings.
(peephole): Add peephole to combine zero- and sign- extending
loads with arithmetic instructions.
(bset): Fix timing.
(bclr): Fix timing.
* config/rx/rx.c (rx_is_legitimate_address): Add checks for QImode
and HImode reg+int address.
(rx_print_operand): Add support for %R.  Fix generation of .B and
.W addressing modes.
(rx_align_for_label): New function.
(rx_max_skip_for_label): New function.

From-SVN: r171044

14 years agoDaily bump.
GCC Administrator [Wed, 16 Mar 2011 00:17:49 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r171024

14 years agoDaily bump.
GCC Administrator [Tue, 15 Mar 2011 00:18:26 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170972

14 years agore PR libstdc++/48114 ([C++0x] binomial_distribution incorrect for p > .5 and geometr...
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

14 years agore PR rtl-optimization/47166 (SpecCpu2000 Ammp segfaults for ARM with -O3 -mthumb)
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

14 years agoDaily bump.
GCC Administrator [Mon, 14 Mar 2011 00:17:33 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r170927

14 years agore PR fortran/48066 (Segfault with SUM of zero-sized array)
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

14 years agore PR fortran/47348 (wrong string length with array constructor)
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

14 years agore PR c++/47125 (ICE occurs in combination with partial specialization and invalid...
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

14 years agoDaily bump.
GCC Administrator [Sun, 13 Mar 2011 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170917

14 years agoDaily bump.
GCC Administrator [Sat, 12 Mar 2011 00:18:31 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170893

14 years agore PR c++/48029 (ICE in finish_member_declaration() with --param ggc-min-expand=0...
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

14 years agore PR tree-optimization/47278 (hidden weak function not handled properly)
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

14 years agoDaily bump.
GCC Administrator [Fri, 11 Mar 2011 00:18:03 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170859

14 years agoDaily bump.
GCC Administrator [Thu, 10 Mar 2011 00:18:16 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170840

14 years agore PR c++/44629 (ICE in unify, at cp/pt.c:15155)
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

14 years agore PR c++/45651 (ICE in import_export_decl, at cp/decl2.c:2344)
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

14 years agoDaily bump.
GCC Administrator [Wed, 9 Mar 2011 00:18:15 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170800

14 years agore PR c++/47289 ([C++0x] ICE in tsubst_pack_expansion (triggered by decltype))
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

14 years agore PR c++/47705 (internal compiler error: in convert_nontype_argument, at cp/pt.c...
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

14 years agore PR c++/47957 (Type mismatch when a class derived a same name with template parameter)
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

14 years agore PR c++/47488 (sorry, unimplemented: string literal in function template signature)
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

14 years agobackport: [multiple changes]
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

14 years agore PR tree-optimization/47278 (hidden weak function not handled properly)
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

14 years agoDaily bump.
GCC Administrator [Tue, 8 Mar 2011 00:18:13 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170766

14 years agore PR rtl-optimization/47862 (Incorrect code for spilling a vector register)
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

14 years agoRemove redundant word 'See' before @xref
Mingjie Xing [Mon, 7 Mar 2011 02:57:07 +0000 (02:57 +0000)] 
Remove redundant word 'See' before @xref

From-SVN: r170729

14 years agobackport: re PR fortran/47778 (reading two arrays of structures from namelist fails)
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

14 years agore PR fortran/47778 (reading two arrays of structures from namelist fails)
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

14 years agoDaily bump.
GCC Administrator [Mon, 7 Mar 2011 00:18:22 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170724

14 years agoDaily bump.
GCC Administrator [Sun, 6 Mar 2011 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170709

14 years agoDaily bump.
GCC Administrator [Sat, 5 Mar 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170695

14 years agobackport: [multiple changes]
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

14 years agoDaily bump.
GCC Administrator [Fri, 4 Mar 2011 00:17:59 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r170668

14 years agosse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
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

14 years agobackport: re PR target/42240 (wrong epilogue on naked function)
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

14 years agotree-vect-stmt.c (vectorizable_operation): Remove unused vars.
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

14 years agoDaily bump.
GCC Administrator [Thu, 3 Mar 2011 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170630

14 years agore PR c++/46159 (Bogus warning about lambdas)
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

14 years agobackport: re PR tree-optimization/47615 (ICE: too deep recursion in phi_translate...
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

14 years agoDaily bump.
GCC Administrator [Wed, 2 Mar 2011 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r170604

14 years agobackport: re PR tree-optimization/47639 (ICE: verify_stmts failed: statement marked...
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

14 years agobackport: [multiple changes]
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

14 years agoDaily bump.
GCC Administrator [Tue, 1 Mar 2011 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170582

14 years agore PR target/45261 (Doesn't indicate failure status when it doesn't support (attiny23...
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

14 years agoDaily bump.
GCC Administrator [Mon, 28 Feb 2011 00:17:45 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r170553

14 years agoCorrect date in ChangeLog entry.
H.J. Lu [Sun, 27 Feb 2011 18:12:41 +0000 (10:12 -0800)] 
Correct date in ChangeLog entry.

From-SVN: r170546

14 years agore PR c++/47904 (ICE with DECL_PARM_INDEX (this) in cp_tree_equal)
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

14 years agobackport: [multiple changes]
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

14 years agoinvoke.texi (ARC Options): Use CPU instead of cpu.
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

14 years agoconfig.gcc (i386-*-freebsd*): Make i486 the default arch on FreeBSD 6 and later.
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

14 years agoDaily bump.
GCC Administrator [Sun, 27 Feb 2011 00:18:19 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170525

14 years agoDaily bump.
GCC Administrator [Sat, 26 Feb 2011 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170511

14 years agoFix typo on date.
Gerald Pfeifer [Fri, 25 Feb 2011 23:22:29 +0000 (23:22 +0000)] 
Fix typo on date.

From-SVN: r170507

14 years agocpp.texi (Obsolete Features): Add background on the origin of assertions.
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

14 years agore PR target/45808 (FreeBSD: -pthread is handled incompletely)
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

14 years agore PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely)
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

14 years agonumeric (inner_product, [...]): Qualify subsequent call with __gnu_parallel instead...
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

14 years agoDaily bump.
GCC Administrator [Fri, 25 Feb 2011 00:20:36 +0000 (00:20 +0000)] 
Daily bump.

From-SVN: r170484

14 years agoDaily bump.
GCC Administrator [Thu, 24 Feb 2011 00:17:56 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r170448

14 years agore PR target/43810 (linking results in undefined references to _savegpr_* _restgpr_*_x)
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

14 years agoDaily bump.
GCC Administrator [Wed, 23 Feb 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r170420

14 years agore PR libfortran/47830 (errors in intrinsics/c99_functions.c)
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

14 years agoDaily bump.
GCC Administrator [Tue, 22 Feb 2011 00:18:38 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170380

14 years agore PR target/47840 (incorrect _mm256_insert_epi{32,64} implementations)
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

14 years agoDaily bump.
GCC Administrator [Mon, 21 Feb 2011 00:18:37 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170352

14 years agoDaily bump.
GCC Administrator [Sun, 20 Feb 2011 00:18:42 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170333

14 years agore PR tree-optimization/46620 (32-bit structures containing bitfields are not copied...
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

14 years ago2011-02-19 Tobias Burnus
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

14 years agoDaily bump.
GCC Administrator [Sat, 19 Feb 2011 00:18:30 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170295

14 years agoconfig.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
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

14 years agoDaily bump.
GCC Administrator [Fri, 18 Feb 2011 00:18:39 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r170264