]>
git.ipfire.org Git - thirdparty/gcc.git/log
Andrey Belevantsev [Thu, 7 Apr 2011 06:58:29 +0000 (10:58 +0400)]
backport: re PR rtl-optimization/45354 (ICE with -fselective-scheduling and -freorder-blocks-and-partition)
Backport from mainline
2010-12-03 Alexander Monakov <amonakov@ispras.ru>
PR rtl-optimization/45354
* sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
(bb_has_removable_jump_to_p): This. Update all callers. Make static.
Allow BBs ending with a conditional jump. Forbid EDGE_CROSSING jumps.
* sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.
From-SVN: r172083
Andrey Belevantsev [Thu, 7 Apr 2011 06:56:47 +0000 (10:56 +0400)]
backport: re PR rtl-optimization/46585 (ICE: SIGSEGV in vinsn_create (sel-sched-ir.c:1189) with -fno-dce -fschedule-insns -fselective-scheduling)
Backport from mainline
2010-11-25 Alexander Monakov <amonakov@ispras.ru>
PR rtl-optimization/46585
* sel-sched-ir.c (return_regset_to_pool): Verify that RS is not NULL.
(vinsn_init): Skip computation of dependencies for local NOPs.
(vinsn_delete): Don't try to free regsets for local NOPs.
(setup_nop_and_exit_insns): Change definition of nop_pattern.
From-SVN: r172082
Andrey Belevantsev [Thu, 7 Apr 2011 06:54:23 +0000 (10:54 +0400)]
backport: re PR rtl-optimization/46602 (gcc.dg/pr42245-2.c ICE on ia64)
Backport from mainline
2010-11-25 Alexander Monakov <amonakov@ispras.ru>
PR rtl-optimization/46602
* sel-sched-ir.c (maybe_tidy_empty_bb): Move checking ...
(tidy_control_flow): Here.
From-SVN: r172081
Andrey Belevantsev [Thu, 7 Apr 2011 06:53:44 +0000 (10:53 +0400)]
backport: re PR rtl-optimization/45652 (gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2)
Backport from mainline
2010-11-22 Alexander Monakov <amonakov@ispras.ru>
PR rtl-optimization/45652
* alias.c (get_reg_base_value): New.
* rtl.h (get_reg_base_value): Add prototype.
* sel-sched.c (init_regs_for_mode): Use it. Don't use registers with
non-null REG_BASE_VALUE for renaming.
From-SVN: r172080
Andrey Belevantsev [Thu, 7 Apr 2011 06:52:29 +0000 (10:52 +0400)]
backport: re PR middle-end/46518 (internal compiler error: in vinsn_detach, at sel-sched-ir.c:1271)
Backport from mainline
2010-11-18 Alexander Monakov <amonakov@ispras.ru>
PR middle-end/46518
* sel-sched-ir.c (init_expr): Use the correct type for
target_available.
* sel-sched.c (fill_vec_av_set): Use explicitly signed char type.
From-SVN: r172079
Andrey Belevantsev [Thu, 7 Apr 2011 06:51:49 +0000 (10:51 +0400)]
backport: re PR rtl-optimization/46204 (g++.dg/torture/stackalign/throw-1.C fails to compile on IA64)
Backport from mainline
2010-11-12 Alexander Monakov <amonakov@ispras.ru>
PR rtl-optimization/46204
sel-sched-ir.c (maybe_tidy_empty_bb): Remove second argument.
pdate all callers. Do not recompute topological order. Adjust
allthrough edges following a degenerate conditional jump.
From-SVN: r172078
Andrey Belevantsev [Thu, 7 Apr 2011 06:50:08 +0000 (10:50 +0400)]
backport: re PR rtl-optimization/45570 (ICE: in cfg_preds_1, at sel-sched-ir.c:4584)
Backport from mainline
2010-10-14 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/45570
* sel-sched-ir.c (cfg_preds_1): When walking out of the region,
assert that we are pipelining outer loops. Allow returning
zero predecessors.
From-SVN: r172077
GCC Administrator [Thu, 7 Apr 2011 00:17:55 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r172070
Joseph Myers [Wed, 6 Apr 2011 16:06:32 +0000 (17:06 +0100)]
* gcov-io.c: Use GCC Runtime Library Exception.
From-SVN: r172055
GCC Administrator [Wed, 6 Apr 2011 00:18:18 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r172013
Duncan Sands [Tue, 5 Apr 2011 10:59:38 +0000 (12:59 +0200)]
The parameters for functions from the frexp and scalbn families were the wrong way round.
The parameters for functions from the frexp and scalbn families
were the wrong way round. Swap them.
From-SVN: r171979
GCC Administrator [Tue, 5 Apr 2011 00:17:52 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171964
GCC Administrator [Mon, 4 Apr 2011 00:17:20 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171920
GCC Administrator [Sun, 3 Apr 2011 00:17:29 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171897
GCC Administrator [Sat, 2 Apr 2011 00:17:35 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171865
GCC Administrator [Fri, 1 Apr 2011 00:18:10 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171811
Rainer Orth [Thu, 31 Mar 2011 15:11:20 +0000 (15:11 +0000)]
re PR target/16292 (Test power.f90 fails on irix6.5 for complex**real)
PR target/16292
* gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
with -O0 except with -mabi=32.
From-SVN: r171786
GCC Administrator [Thu, 31 Mar 2011 00:18:10 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171764
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
GCC Administrator [Wed, 30 Mar 2011 00:18:31 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171710
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
GCC Administrator [Tue, 29 Mar 2011 00:17:25 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171646
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
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
GCC Administrator [Mon, 28 Mar 2011 00:18:27 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171586
GCC Administrator [Sun, 27 Mar 2011 00:17:30 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171565
GCC Administrator [Sat, 26 Mar 2011 00:18:13 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171535
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
GCC Administrator [Fri, 25 Mar 2011 00:17:52 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171432
GCC Administrator [Thu, 24 Mar 2011 00:17:41 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171374
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
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
GCC Administrator [Wed, 23 Mar 2011 00:18:39 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171335
GCC Administrator [Tue, 22 Mar 2011 00:17:58 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171276
Michael Meissner [Mon, 21 Mar 2011 20:59:02 +0000 (20:59 +0000)]
Backport fix for 48192 from trunk
From-SVN: r171269
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
GCC Administrator [Mon, 21 Mar 2011 00:18:00 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171200
GCC Administrator [Sun, 20 Mar 2011 00:17:27 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171188
GCC Administrator [Sat, 19 Mar 2011 00:17:35 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171175
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
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
GCC Administrator [Fri, 18 Mar 2011 00:18:18 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171121
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
GCC Administrator [Thu, 17 Mar 2011 00:17:45 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171080
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
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
GCC Administrator [Wed, 16 Mar 2011 00:17:49 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171024
GCC Administrator [Tue, 15 Mar 2011 00:18:26 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r170972
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