]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
14 years agoDaily bump.
GCC Administrator [Mon, 27 Sep 2010 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164641

14 years agoDaily bump.
GCC Administrator [Sun, 26 Sep 2010 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164625

14 years agoDaily bump.
GCC Administrator [Sat, 25 Sep 2010 00:17:26 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r164613

14 years agoRevert:
Jakub Jelinek [Fri, 24 Sep 2010 15:07:36 +0000 (17:07 +0200)] 
Revert:

2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/45234
* calls.c (expand_call): Make sure that all variable sized
adjustments are multiple of preferred stack boundary after
stack alignment.

* gcc.dg/torture/stackalign/alloca-5.c: Remove.

From-SVN: r164596

14 years agoDaily bump.
GCC Administrator [Fri, 24 Sep 2010 00:18:58 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r164576

14 years agore PR middle-end/44763 (SEGV in allocno_priority_compare_func on Solaris 8)
Eric Botcazou [Thu, 23 Sep 2010 13:07:01 +0000 (13:07 +0000)] 
re PR middle-end/44763 (SEGV in allocno_priority_compare_func on Solaris 8)

PR middle-end/44763
* ira-color.c (SORTGT): New macro, helper for qsort callbacks.
(allocno_priority_compare_func): Use it instead of a straight
difference computation over priorities.

From-SVN: r164563

14 years agoalloca-4.c: Remove -m32 from dg-options.
Jakub Jelinek [Thu, 23 Sep 2010 11:03:45 +0000 (13:03 +0200)] 
alloca-4.c: Remove -m32 from dg-options.

* gcc.dg/torture/stackalign/alloca-4.c: Remove -m32 from dg-options.
* gcc.dg/torture/stackalign/alloca-5.c: Likewise.  Fix up -DDEBUG
build.

From-SVN: r164557

14 years agore PR rtl-optimization/45728 (ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1...
Jakub Jelinek [Thu, 23 Sep 2010 07:41:30 +0000 (09:41 +0200)] 
re PR rtl-optimization/45728 (ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members)

PR rtl-optimization/45728
* expr.c (expand_expr_real_1): If op0 isn't REG or MEM, try
gen_lowpart_common first and if that fails, force_reg first
before calling gen_lowpart.

* gcc.c-torture/compile/pr45728.c: New test.

From-SVN: r164549

14 years agobackport: re PR fortran/45532 (gfortran namelist read error)
Jerry DeLisle [Thu, 23 Sep 2010 01:21:10 +0000 (01:21 +0000)] 
backport: re PR fortran/45532 (gfortran namelist read error)

2010-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from mainline
PR libfortran/45532
* gfortran.dg/namelist_64.f90: New test.

From-SVN: r164547

14 years agobackport: re PR fortran/45532 (gfortran namelist read error)
Jerry DeLisle [Thu, 23 Sep 2010 01:19:13 +0000 (01:19 +0000)] 
backport: re PR fortran/45532 (gfortran namelist read error)

2010-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from mainline:
PR libfortran/45532
* io/list_read.c (nml_get_obj_data): Set first_nl if the previous
is NULL.

From-SVN: r164546

14 years agoDaily bump.
GCC Administrator [Thu, 23 Sep 2010 00:17:29 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r164540

14 years agore PR target/35664 (unable to find a register to spill in class 'FP_REGS')
Eric Botcazou [Wed, 22 Sep 2010 08:36:35 +0000 (08:36 +0000)] 
re PR target/35664 (unable to find a register to spill in class 'FP_REGS')

PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

From-SVN: r164514

14 years agoDaily bump.
GCC Administrator [Wed, 22 Sep 2010 00:16:59 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164504

14 years agore PR rtl-optimization/45678 (crash on vector code with -m32 -msse)
Jakub Jelinek [Tue, 21 Sep 2010 16:30:21 +0000 (18:30 +0200)] 
re PR rtl-optimization/45678 (crash on vector code with -m32 -msse)

PR middle-end/45678
* expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: If
op0 isn't sufficiently aligned and there is movmisalignM
insn for mode, use it to load op0 into a temporary register.

Backport from mainline
2010-09-20  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/45678
* cfgexpand.c (expand_one_stack_var_at): Limit alignment to
crtl->max_used_stack_slot_alignment.

Backport from mainline
2010-09-17  Richard Guenther  <rguenther@suse.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/45678
* gcc.dg/torture/pr45678-1.c: New.
* gcc.dg/torture/pr45678-2.c: Likewise.

From-SVN: r164486

14 years agoDaily bump.
GCC Administrator [Tue, 21 Sep 2010 00:18:14 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r164470

14 years agore PR rtl-optimization/42775 (GCC fails to rebuild itself with STAGE1_CFLAGS=-O1)
Eric Botcazou [Mon, 20 Sep 2010 21:31:14 +0000 (21:31 +0000)] 
re PR rtl-optimization/42775 (GCC fails to rebuild itself with STAGE1_CFLAGS=-O1)

PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.

From-SVN: r164461

14 years agoMake sure that all variable sized adjustments are multiple of preferred
H.J. Lu [Mon, 20 Sep 2010 20:32:41 +0000 (20:32 +0000)] 
Make sure that all variable sized adjustments are multiple of preferred
stack boundary after stack alignment.

gcc/

2010-09-20  H.J. Lu  <hongjiu.lu@intel.com>

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

PR middle-end/45234
* calls.c (expand_call): Make sure that all variable sized
adjustments are multiple of preferred stack boundary after
stack alignment.

gcc/testsuite/

2010-09-20  H.J. Lu  <hongjiu.lu@intel.com>

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

PR middle-end/45234
* gcc.dg/torture/stackalign/alloca-5.c: New.

From-SVN: r164453

14 years agoDaily bump.
GCC Administrator [Mon, 20 Sep 2010 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164427

14 years agoDaily bump.
GCC Administrator [Sun, 19 Sep 2010 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164407

14 years agore PR tree-optimization/45709 (internal compiler error: in add_phi_arg, at tree-phino...
Richard Guenther [Sat, 18 Sep 2010 17:23:20 +0000 (17:23 +0000)] 
re PR tree-optimization/45709 (internal compiler error: in add_phi_arg, at tree-phinodes.c:395)

2010-09-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/45709
* tree-inline.c (copy_phis_for_bb): Delay commit of edge
insertions until after all PHI nodes of the block are processed.

* g++.dg/torture/pr45709.C: New testcase.
* g++.dg/torture/pr45709-2.C: Likewise.

From-SVN: r164399

14 years agoDaily bump.
GCC Administrator [Sat, 18 Sep 2010 00:16:57 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164385

14 years agobackport: fpu-387.h (has_sse): Remove cw_sse, unused.
Rainer Orth [Fri, 17 Sep 2010 10:23:03 +0000 (10:23 +0000)] 
backport: fpu-387.h (has_sse): Remove cw_sse, unused.

Backport from mainline:
2010-08-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* config/fpu-387.h (has_sse): Remove cw_sse, unused.
Use fixed-length asm.

From-SVN: r164364

14 years agobackport: 14220.cc: XFAIL on Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris...
Rainer Orth [Fri, 17 Sep 2010 10:19:35 +0000 (10:19 +0000)] 
backport: 14220.cc: XFAIL on Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.

Backport from mainline:
2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
Solaris 9/x86 and 32-bit Solaris 10/x86.

* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Only XFAIL on Solaris 8 and 9.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
Likewise.

* testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.

From-SVN: r164362

14 years agoBackport from mainline:
Rainer Orth [Fri, 17 Sep 2010 10:14:35 +0000 (10:14 +0000)] 
Backport from mainline:

2010-09-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* lib/target-supports.exp
(check_effective_target_run_expensive_tests): New proc.
* gcc.c-torture/compile/limits-fnargs.c: Use
dg-require-effective-target run_expensive_tests.

From-SVN: r164360

14 years agoDaily bump.
GCC Administrator [Fri, 17 Sep 2010 00:17:03 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r164351

14 years agoDaily bump.
GCC Administrator [Thu, 16 Sep 2010 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r164324

14 years agoDaily bump.
GCC Administrator [Wed, 15 Sep 2010 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164292

14 years agoDaily bump.
GCC Administrator [Tue, 14 Sep 2010 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164263

14 years agoDaily bump.
GCC Administrator [Mon, 13 Sep 2010 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164237

14 years agobackport: re PR rtl-optimization/44919 (ICE on ia64 with -O3 at sel-sched.c:4672)
Alexander Monakov [Sun, 12 Sep 2010 20:35:53 +0000 (00:35 +0400)] 
backport: re PR rtl-optimization/44919 (ICE on ia64 with -O3 at  sel-sched.c:4672)

Backport from mainline
2010-09-06  Andrey Belevantsev  <abel@ispras.ru>

PR rtl-optimization/44919
* sel-sched.c (move_cond_jump): Remove assert, check that
the several blocks case can only happen with mutually exclusive
insns instead.  Rewrite the movement code to support moving through
several basic blocks.

* g++.dg/opt/pr44919.C: New.

From-SVN: r164235

14 years agopr40386.c: Remove part that has been applied twice.
Jakub Jelinek [Sun, 12 Sep 2010 11:22:56 +0000 (13:22 +0200)] 
pr40386.c: Remove part that has been applied twice.

* gcc.c-torture/execute/pr40386.c: Remove part that has been applied
twice.
* gcc.c-torture/execute/pr40386.x: Likewise.

From-SVN: r164229

14 years agoDaily bump.
GCC Administrator [Sun, 12 Sep 2010 00:16:56 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164220

14 years agoDaily bump.
GCC Administrator [Sat, 11 Sep 2010 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r164207

14 years agoDaily bump.
GCC Administrator [Fri, 10 Sep 2010 00:17:02 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r164138

14 years agore PR middle-end/45312 (GCC 4.4.4 miscompiles the Linux kernel)
Vladimir Makarov [Thu, 9 Sep 2010 18:37:17 +0000 (18:37 +0000)] 
re PR middle-end/45312 (GCC 4.4.4 miscompiles the Linux kernel)

2010-09-09  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/45312
* reload1.c (merge_assigned_reloads): Remove.
(reload_as_needed): Don't call it.

From-SVN: r164117

14 years agore PR middle-end/44554 (Stack space after sigsetjmp is reused)
Vladimir Makarov [Thu, 9 Sep 2010 13:58:24 +0000 (13:58 +0000)] 
re PR middle-end/44554 (Stack space after sigsetjmp is reused)

2010-09-09  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/44554
* ira.c (ira): Switch off sharing spill slots if setjmp is called.

From-SVN: r164107

14 years agore PR middle-end/40386 (wrong code generation for several SPEC CPU2000 benchmarks...
Vladimir Makarov [Thu, 9 Sep 2010 13:42:51 +0000 (13:42 +0000)] 
re PR middle-end/40386 (wrong code generation for several SPEC CPU2000 benchmarks (lucas, mgrid, face, applu, apsi) with -O1 -fno-ira-share-spill-slots)

2010-09-08  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/40386
* ira.c (pseudo_for_reload_consideration_p): Don't use
flag_ira_share_spill_slots.

2010-09-08  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/40386
* gcc.c-torture/execute/{pr40386.c,pr40386.x}: New testcase.

From-SVN: r164095

14 years agoDaily bump.
GCC Administrator [Thu, 9 Sep 2010 00:17:54 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r164039

14 years agore PR other/45443 (GCC documentation for -O3 flag doesn't mention -fipa-cp-clone)
Martin Jambor [Wed, 8 Sep 2010 18:13:03 +0000 (20:13 +0200)] 
re PR other/45443 (GCC documentation for -O3 flag doesn't mention -fipa-cp-clone)

2010-09-08  Martin Jambor  <mjambor@suse.cz>

PR other/45443
* doc/invoke.texi: Add -fipa-cp-clone to list of switches turned on
at -O3.

From-SVN: r164018

14 years agore PR fortran/45595 (segfault on omp collapse)
Jakub Jelinek [Wed, 8 Sep 2010 17:23:52 +0000 (19:23 +0200)] 
re PR fortran/45595 (segfault on omp collapse)

PR fortran/45595
* openmp.c (resolve_omp_do): Report not enough do loops for
collapse even if block->next is NULL.

* gfortran.dg/gomp/pr45595.f90: New test.

From-SVN: r164008

14 years agoDaily bump.
GCC Administrator [Wed, 8 Sep 2010 00:17:27 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r163982

14 years agobackport: [multiple changes]
Ian Bolton [Tue, 7 Sep 2010 11:07:31 +0000 (11:07 +0000)] 
backport: [multiple changes]

2010-09-07  Ian Bolton  <ian.bolton@arm.com>

Backport from mainline
2010-09-01  Ian Bolton  <ian.bolton@arm.com>

* Makefile.in (tree-switch-conversion.o): Update dependencies.

2010-08-19  Ian Bolton  <ian.bolton@arm.com>

PR target/45070
* config/arm/arm.c (arm_output_epilogue): Ensure that return
value of size 1-3 is handled correctly.

* gcc.c-torture/execute/pr45070.c: New.

2010-08-19  Ian Bolton  <ian.bolton@arm.com>

* tree-switch-conversion.c (gen_inbound_check): Ensure that the
type for the conditional has wide enough range.

* g++.dg/pr44328.C: New test.

2010-08-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>

* config/arm/linux-atomic.c (SUBWORD_VAL_CAS): Instantiate with
'unsigned short' and 'unsigned char' instead of 'short' and 'char'.
(SUBWORD_BOOL_CAS): Likewise.
(SUBWORD_SYNC_OP): Likewise.
(SUBWORD_TEST_AND_SET): Likewise.
(FETCH_AND_OP_WORD): Parenthesise INF_OP
(SUBWORD_SYNC_OP): Likewise.
(OP_AND_FETCH_WORD): Likewise.

* lib/target-supports.exp: (check_effective_target_sync_int_long):
Add arm*-*-linux-gnueabi.
(check_effective_target_sync_char_short): Likewise.

From-SVN: r163945

14 years agoDaily bump.
GCC Administrator [Tue, 7 Sep 2010 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163938

14 years agoDaily bump.
GCC Administrator [Mon, 6 Sep 2010 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163890

14 years agoDaily bump.
GCC Administrator [Sun, 5 Sep 2010 00:16:58 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163870

14 years agoDaily bump.
GCC Administrator [Sat, 4 Sep 2010 00:16:58 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163851

14 years agoabi-avx.exp: Link with gcc.target/i386/clearcap.map if supported.
Rainer Orth [Fri, 3 Sep 2010 15:07:55 +0000 (15:07 +0000)] 
abi-avx.exp: Link with gcc.target/i386/clearcap.map if supported.

* gcc.target/x86_64/abi/avx/abi-avx.exp: Link with
gcc.target/i386/clearcap.map if supported.

From-SVN: r163829

14 years agoDaily bump.
GCC Administrator [Fri, 3 Sep 2010 00:17:22 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r163795

14 years agobackport: re PR middle-end/45423 (#pragma omp atomic on bool has issues)
Jakub Jelinek [Thu, 2 Sep 2010 08:00:55 +0000 (10:00 +0200)] 
backport: re PR middle-end/45423 (#pragma omp atomic on bool has issues)

Backport from mainline
2010-08-30  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/45423
* gimplify.c (goa_stabilize_expr): Handle TRUTH_NOT_EXPR
and TRUTH_{AND,OR,XOR}_EXPR.
* c-parser.c (c_parser_omp_atomic): Handle boolean
{PRE,POST}_{INC,DEC}REMENT.
cp/
* parser.c (cp_parser_omp_atomic): Handle boolean
{PRE,POST}_INCREMENT.
testsuite/
* gcc.dg/gomp/atomic-12.c: New test.
* gcc.dg/gomp/atomic-13.c: New test.
* gcc.dg/gomp/atomic-14.c: New test.
* g++.dg/gomp/atomic-11.C: New test.
* g++.dg/gomp/atomic-12.C: New test.
* g++.dg/gomp/atomic-13.C: New test.
* g++.dg/gomp/atomic-14.C: New test.

From-SVN: r163762

14 years agoDaily bump.
GCC Administrator [Thu, 2 Sep 2010 00:16:58 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163751

14 years agobackport: re PR rtl-optimization/45353 (ICE: RTL check: expected elt 3 type 'B',...
Eric Botcazou [Wed, 1 Sep 2010 12:24:35 +0000 (12:24 +0000)] 
backport: re PR rtl-optimization/45353 (ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable())

Backport from mainline
2010-08-20  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/45353
* sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn
after bb_note is a BARRIER.

From-SVN: r163731

14 years agogimplify.c (gimplify_init_constructor): Do not create a temporary for a volatile...
Eric Botcazou [Wed, 1 Sep 2010 12:19:11 +0000 (12:19 +0000)] 
gimplify.c (gimplify_init_constructor): Do not create a temporary for a volatile LHS if...

* gimplify.c (gimplify_init_constructor): Do not create a temporary for
a volatile LHS if the constructor has only one element.

From-SVN: r163729

14 years agoDaily bump.
GCC Administrator [Wed, 1 Sep 2010 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163710

14 years agoDaily bump.
GCC Administrator [Tue, 31 Aug 2010 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163663

14 years agore PR c++/44991 (default argument with '<' cause compilation error)
Jason Merrill [Mon, 30 Aug 2010 13:38:09 +0000 (09:38 -0400)] 
re PR c++/44991 (default argument with '<' cause compilation error)

PR c++/44991
* parser.c (cp_parser_parameter_declaration): Pop parameter decls
after tentative parsing.

From-SVN: r163644

14 years agoDaily bump.
GCC Administrator [Mon, 30 Aug 2010 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163633

14 years agoDaily bump.
GCC Administrator [Sun, 29 Aug 2010 00:16:57 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163622

14 years agore PR target/41484 (Please add memory forms of pmovzx* (SSE4.1))
Uros Bizjak [Sat, 28 Aug 2010 14:27:33 +0000 (16:27 +0200)] 
re PR target/41484 (Please add memory forms of pmovzx* (SSE4.1))

PR target/41484
* config/i386/sse.md (sse4_1_extendv8qiv8hi2): Also accept memory
operands for operand 1.
(sse4_1_extendv4qiv4si2): Ditto.
(sse4_1_extendv2qiv2di2): Ditto.
(sse4_1_extendv4hiv4si2): Ditto.
(sse4_1_extendv2hiv2di2): Ditto.
(sse4_1_extendv2siv2di2): Ditto.
(sse4_1_zero_extendv8qiv8hi2): Ditto.
(sse4_1_zero_extendv4qiv4si2): Ditto.
(sse4_1_zero_extendv2qiv2di2): Ditto.
(sse4_1_zero_extendv4hiv4si2): Ditto.
(sse4_1_zero_extendv2hiv2di2): Ditto.
(sse4_1_zero_extendv2siv2di2): Ditto.
(*sse4_1_extendv8qiv8hi2): Remove insn pattern.
(*sse4_1_extendv4qiv4si2): Ditto.
(*sse4_1_extendv2qiv2di2): Ditto.
(*sse4_1_extendv4hiv4si2): Ditto.
(*sse4_1_extendv2hiv2di2): Ditto.
(*sse4_1_extendv2siv2di2): Ditto.
(*sse4_1_zero_extendv8qiv8hi2): Ditto.
(*sse4_1_zero_extendv4qiv4si2): Ditto.
(*sse4_1_zero_extendv2qiv2di2): Ditto.
(*sse4_1_zero_extendv4hiv4si2): Ditto.
(*sse4_1_zero_extendv2hiv2di2): Ditto.
(*sse4_1_zero_extendv2siv2di2): Ditto.

From-SVN: r163614

14 years agoDaily bump.
GCC Administrator [Sat, 28 Aug 2010 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r163604

14 years agoDaily bump.
GCC Administrator [Fri, 27 Aug 2010 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163577

14 years agoDaily bump.
GCC Administrator [Thu, 26 Aug 2010 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163558

14 years agoDaily bump.
GCC Administrator [Wed, 25 Aug 2010 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163534

14 years agobackport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have...
Andrey Belevantsev [Tue, 24 Aug 2010 09:11:48 +0000 (13:11 +0400)] 
backport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have 'plus' in rhs_regno, at rtl.h:1050)

Backport from mainline:
        PR rtl-optimization/44691
        * sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG
        is not a register.

        * gfortran.dg/pr44691.f: New test.

From-SVN: r163516

14 years agosel-sched.c: Add 2010 to copyright years.
Andrey Belevantsev [Tue, 24 Aug 2010 09:10:40 +0000 (13:10 +0400)] 
sel-sched.c: Add 2010 to copyright years.

        * sel-sched.c: Add 2010 to copyright years.
        * sel-sched-ir.c: Likewise.
        * sel-sched-ir.h: Likewise.

From-SVN: r163515

14 years agobackport: sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
Andrey Belevantsev [Tue, 24 Aug 2010 09:09:36 +0000 (13:09 +0400)] 
backport: sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.

Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
        Update all callers.  Call reemit_notes for all insns.

From-SVN: r163514

14 years agobackport: re PR rtl-optimization/42246 (ICE in init_seqno for 186.crafty with sel...
Andrey Belevantsev [Tue, 24 Aug 2010 09:08:23 +0000 (13:08 +0400)] 
backport: re PR rtl-optimization/42246 (ICE in init_seqno for 186.crafty with sel-sched)

Backport from mainline:
 PR rtl-optimization/42246
         * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
         loops.

From-SVN: r163513

14 years agobackport: sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all...
Andrey Belevantsev [Tue, 24 Aug 2010 09:06:59 +0000 (13:06 +0400)] 
backport: sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors is the same as number of successors...

Backport from mainline:
        * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
         all successors is the same as number of successors in current region.

From-SVN: r163512

14 years agobackport: sel-sched.c (maybe_emit_renaming_copy): Exit early when expression to renam...
Andrey Belevantsev [Tue, 24 Aug 2010 09:05:46 +0000 (13:05 +0400)] 
backport: sel-sched.c (maybe_emit_renaming_copy): Exit early when expression to rename is not separable.

Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
        to rename is not separable.  Otherwise check that its LHS is not NULL.

From-SVN: r163511

14 years agobackport: sel-sched.c (choose_best_reg_1): Loop over all regs for mode.
Andrey Belevantsev [Tue, 24 Aug 2010 09:04:29 +0000 (13:04 +0400)] 
backport: sel-sched.c (choose_best_reg_1): Loop over all regs for mode.

Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.

From-SVN: r163510

14 years agobackport: sel-sched.c (mark_unavailable_hard_regs): Do not try to search available...
Andrey Belevantsev [Tue, 24 Aug 2010 09:03:31 +0000 (13:03 +0400)] 
backport: sel-sched.c (mark_unavailable_hard_regs): Do not try to search available registers when failed to discover LHS register class.

Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        * sel-sched.c (mark_unavailable_hard_regs): Do not try to search
        available registers when failed to discover LHS register class.
        Fix indentation.  Update comment.

From-SVN: r163509

14 years agobackport: re PR rtl-optimization/42389 (ICE in advance_state_on_fence with sel-schd...
Andrey Belevantsev [Tue, 24 Aug 2010 09:02:30 +0000 (13:02 +0400)] 
backport: re PR rtl-optimization/42389 (ICE in advance_state_on_fence with sel-schd for 175.vpr)

Backport from mainline:
        PR rtl-optimization/42389
         * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
         to can_issue_more.
         (advance_state_on_fence): Likewise.
         (sel_target_adjust_priority): Print debug output only when
         sched_verbose >= 4, not 2.
         (get_expr_cost): Do not issue all unique insns on the next cycle.
         (fill_insns): Initialize can_issue_more from the value saved
         with the fence.
         * sel-sched-ir.c (flist_add): New parameter issue_more.
         Init FENCE_ISSUE_MORE with it.
         (merge_fences): Likewise.
         (init_fences): Update call to flist_add.
         (add_to_fences, add_clean_fence_to_fences)
         (add_dirty_fence_to_fences): Likewise.
         (move_fence_to_fences): Update call to merge_fences.
         (invoke_reorder_hooks): Do not reset can_issue_more on insns from
         sched groups.
         * sel-sched-ir.h (struct _fence): New field issue_more.
         (FENCE_ISSUE_MORE): New accessor macro.

From-SVN: r163508

14 years agobackport: re PR rtl-optimization/42388 (ICE in move_bb_info with sel-sched and modulo...
Andrey Belevantsev [Tue, 24 Aug 2010 09:01:18 +0000 (13:01 +0400)] 
backport: re PR rtl-optimization/42388 (ICE in move_bb_info with sel-sched and modulo-sched for 176.gcc)

Backport from mainline:
        PR rtl-optimization/42388
         * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
         that have no predecessors nor successors.  Do not call move_bb_info
         for empty blocks outside of current region.

From-SVN: r163507

14 years agobackport: re PR rtl-optimization/42294 (ICE in code_motion_path_driver for 416.gamess)
Andrey Belevantsev [Tue, 24 Aug 2010 08:59:47 +0000 (12:59 +0400)] 
backport: re PR rtl-optimization/42294 (ICE in code_motion_path_driver for 416.gamess)

Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/42294
        * sel-sched-ir.h (struct _sel_insn_data): Update comment.
        * sel-sched.c (move_exprs_to_boundary): Transitively add all
        originators' originators.

From-SVN: r163506

14 years agobackport: re PR rtl-optimization/39453 (ICE : in init_seqno, at sel-sched.c:6433)
Andrey Belevantsev [Tue, 24 Aug 2010 08:58:36 +0000 (12:58 +0400)] 
backport: re PR rtl-optimization/39453 (ICE : in init_seqno, at sel-sched.c:6433)

Backport from mainline:
 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/39453
        PR rtl-optimization/42246
        * sel-sched-ir.c (considered_for_pipelining_p): Do not test
        for pipelining_p.
        (sel_add_loop_preheaders): Add preheader to last_added_blocks.

        * gcc.dg/pr39453.c: New.
        * gcc.dg/pr42246.c: New.

From-SVN: r163505

14 years agobackport: re PR middle-end/42245 (ICE in verify_backedges for 197.parser with sel...
Andrey Belevantsev [Tue, 24 Aug 2010 08:57:18 +0000 (12:57 +0400)] 
backport: re PR middle-end/42245 (ICE in verify_backedges for 197.parser with sel-sched)

Backport from mainline:
 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
            Alexander Monakov  <amonakov@ispras.ru>

        PR middle-end/42245
        * sel-sched-ir.c (sel_recompute_toporder): New.  Use it...
        (maybe_tidy_empty_bb): ... here.  Make static.  Add new
        argument.  Update all callers.
        (tidy_control_flow): ... and here.  Recompute topological order
        of basic blocks in region if necessary.
        (sel_redirect_edge_and_branch): Change return type.  Return true
        if topological order might have been invalidated.
        (purge_empty_blocks): Export and move from...
        * sel-sched.c (purge_empty_blocks): ... here.
        * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
        (maybe_tidy_empty_bb): Delete prototype.
        (purge_empty_blocks): Declare.

From-SVN: r163504

14 years agobackport: re PR rtl-optimization/42294 (ICE in code_motion_path_driver for 416.gamess)
Andrey Belevantsev [Tue, 24 Aug 2010 08:55:33 +0000 (12:55 +0400)] 
backport: re PR rtl-optimization/42294 (ICE in code_motion_path_driver for 416.gamess)

Backport from mainline:
        PR rtl-optimization/42294
         * sel-sched.c (try_replace_dest_reg): When chosen register
         and original register is the same, do not bail out early, but
         still check all original insns for validity of replacing destination
         register.  Set EXPR_TARGET_AVAILABLE to 1 before leaving function
         in this case.

From-SVN: r163503

14 years agobackport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)
Andrey Belevantsev [Tue, 24 Aug 2010 08:54:02 +0000 (12:54 +0400)] 
backport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)

Backport from mainline:
 PR rtl-optimization/41697
         * sel-sched-ir.c (fallthru_bb_of_jump): Bail out when a block with
         a conditional jump has a single successor.

From-SVN: r163502

14 years agobackport: sched-deps.c (init_deps): New parameter lazy_reg_last.
Andrey Belevantsev [Tue, 24 Aug 2010 08:53:11 +0000 (12:53 +0400)] 
backport: sched-deps.c (init_deps): New parameter lazy_reg_last.

Backport from mainline:
 2009-11-13  Andrey Belevantsev  <abel@ispras.ru>

        * sched-deps.c (init_deps): New parameter lazy_reg_last.  Don't
        allocate reg_last when in case lazy_reg_last is true.
        (init_deps_reg_last): New.
        (free_deps): When max_reg is 0, this context is already freed.
        * sched-int.h (init_deps_reg_last): Export.
        (init_deps): Update prototype.
        * sched-ebb.c (schedule_ebb): Update the call to init_deps.
        * sched-rgn.c (sched_rgn_compute_dependencies): Likewise.
        * ddg.c (build_intra_loop_deps): Likewise.
        * sel-sched-ir.c (copy_deps_context, create_deps_context,
        reset_deps_context, deps_init_id): Likewise.
        (init_first_time_insn_data): Lazy allocate INSN_DEPS_CONTEXT.
        (free_data_for_scheduled_insn): New, break down from ...
        (free_first_time_insn_data): ... here.
        (has_dependence_p): Allocate reg_last now, when it is needed.
        (extend_insn_data): When maximal LUID is big enough, allocate
        per-insn data in smaller chunks.
        * sel-sched-ir.h (free_data_for_scheduled_insn): Export.
        * sel-sched.c (update_seqnos_and_stage): Free INSN_DEPS_CONTEXT
        in scheduled insn.

From-SVN: r163500

14 years agobackport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)
Andrey Belevantsev [Tue, 24 Aug 2010 08:51:56 +0000 (12:51 +0400)] 
backport: re PR rtl-optimization/41697 (ICE on gcc.c-torture/compile/20090917-1.c)

Backport from mainline:
 2009-10-15  Steve Ellcey  <sje@cup.hp.com>

        PR rtl-optimization/41697
        * sel-sched-ir.h (_eligible_successor_edge_p): Check successor count.

From-SVN: r163499

14 years agobackport: re PR rtl-optimization/40101 (200.sixtrack ICEs in get_seqno_by_preds,...
Andrey Belevantsev [Tue, 24 Aug 2010 08:50:50 +0000 (12:50 +0400)] 
backport: re PR rtl-optimization/40101 (200.sixtrack ICEs in get_seqno_by_preds, at sel-sched-ir.c:3752)

Backport from mainline:
        PR rtl-optimization/40101
         * sel-sched-ir.c (get_seqno_by_preds): Allow returning negative
         seqno.  Adjust comment.
         * sel-sched.c (find_seqno_for_bookkeeping): Assert that when
         inserting bookkeeping before a jump, the jump is not scheduled.
         When no positive seqno found, provide a value.  Add comment.

From-SVN: r163498

14 years agobackport: 20071210-2.c: New testcase.
Andrey Belevantsev [Tue, 24 Aug 2010 08:49:50 +0000 (12:49 +0400)] 
backport: 20071210-2.c: New testcase.

Backport from mainline:

gcc/testsuite/Changelog:

2009-04-28  Alexander Monakov  <amonakov@ispras.ru>
        * gcc.target/ia64/20071210-2.c: New testcase.

gcc/Changelog:

2009-04-28  Alexander Monakov  <amonakov@ispras.ru>
        * sel-sched-ir.c (maybe_tidy_empty_bb): Do not attempt to delete a
        block if there are complex incoming edges.
        (sel_merge_blocks): Remove useless assert.
        (sel_redirect_edge_and_branch): Check that edge was redirected.
        * sel-sched-ir.h (_eligible_successor_edge_p): Remove assert.
        (sel_find_rgns): Delete declaration.
        * sel-sched.c (purge_empty_blocks): Attempt to remove first block of
        the region when it is not a preheader.

From-SVN: r163497

14 years agoDaily bump.
GCC Administrator [Tue, 24 Aug 2010 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163492

14 years agore PR c++/45315 (ICE: tree check: expected aggr_init_expr, have call_expr in build_va...
Jason Merrill [Mon, 23 Aug 2010 06:39:47 +0000 (02:39 -0400)] 
re PR c++/45315 (ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317)

PR c++/45315
* init.c (build_new_1): Don't use build_value_init in a template.

From-SVN: r163467

14 years agoDaily bump.
GCC Administrator [Mon, 23 Aug 2010 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163463

14 years agoDaily bump.
GCC Administrator [Sun, 22 Aug 2010 00:17:01 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r163451

14 years agoDaily bump.
GCC Administrator [Sat, 21 Aug 2010 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163435

14 years agoDaily bump.
GCC Administrator [Fri, 20 Aug 2010 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163391

14 years agoDaily bump.
GCC Administrator [Thu, 19 Aug 2010 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163360

14 years agoDaily bump.
GCC Administrator [Wed, 18 Aug 2010 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163321

14 years agore PR target/45296 (register long double ICE at -O2, -Os, -O3)
Uros Bizjak [Tue, 17 Aug 2010 14:25:52 +0000 (16:25 +0200)] 
re PR target/45296 (register long double ICE at -O2, -Os, -O3)

PR target/45296
* reginfo.c (globalize_reg): Reject stack registers.

testsuite/ChangeLog:

PR target/45296
* gcc.target/i386/pr45296.c: New test.

From-SVN: r163307

14 years agoDaily bump.
GCC Administrator [Tue, 17 Aug 2010 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163289

14 years agobackport: re PR tree-optimization/44632 (wrong code for complex division)
John David Anglin [Mon, 16 Aug 2010 20:24:54 +0000 (20:24 +0000)] 
backport: re PR tree-optimization/44632 (wrong code for complex division)

Backport from mainline:
2010-08-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/44632
* function.c (gimplify_parameters): Do not clear addressable
bit of the original parameter.

From-SVN: r163285

15 years agoDaily bump.
GCC Administrator [Mon, 16 Aug 2010 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163273

15 years agocast.C: Change fields of structures to "long" to pass the test on targets with...
Uros Bizjak [Sun, 15 Aug 2010 17:14:56 +0000 (19:14 +0200)] 
cast.C: Change fields of structures to "long" to pass the test on targets with...

* g++.dg/cast.C: Change fields of structures to "long" to pass
the test on targets with STRUCTURE_SIZE_BOUNDARY != BITS_PER_UNIT.
* g++.dg/cpp0x/iop.C: Ditto.
* g++.dg/cpp0x/named_refs.C: Ditto.
* g++.dg/cpp0x/rv1p.C: Ditto.
* g++.dg/cpp0x/rv2p.C: Ditto.
* g++.dg/cpp0x/rv3p.C: Ditto.
* g++.dg/cpp0x/rv4p.C: Ditto.
* g++.dg/cpp0x/rv5p.C: Ditto.
* g++.dg/cpp0x/rv6p.C: Ditto.
* g++.dg/cpp0x/rv7p.C: Ditto.
* g++.dg/cpp0x/rv8p.C: Ditto.
* g++.dg/cpp0x/unnamed_refs.C: Ditto.

From-SVN: r163265

15 years agoDaily bump.
GCC Administrator [Sun, 15 Aug 2010 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163256

15 years agoRevert:
John David Anglin [Sat, 14 Aug 2010 14:42:43 +0000 (14:42 +0000)] 
Revert:

2010-08-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR boehm-gc/34544
* gthr-posix.h (__gthread_start): Delete.
(__gthread_active_init): Use pthread_default_stacksize_np instead of
pthread_create to determine if hpux pthreads are active.
* gthr-posix95.h (__gthread_start): Delete.
(__gthread_active_init): Likewise use pthread_default_stacksize_np.

From-SVN: r163243

15 years agoDaily bump.
GCC Administrator [Sat, 14 Aug 2010 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163233

15 years agoDaily bump.
GCC Administrator [Fri, 13 Aug 2010 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r163216

15 years agore PR middle-end/45262 (Optimization results in wrong result on expression x>>31...
Jakub Jelinek [Thu, 12 Aug 2010 15:28:40 +0000 (17:28 +0200)] 
re PR middle-end/45262 (Optimization results in wrong result on expression x>>31||(-x)>>31)

PR middle-end/45262
* fold-const.c (make_range) <case NEGATE_EXPR>: Punt if
-a overflows.  Normalize the range.

* gcc.c-torture/execute/pr45262.c: New test.

From-SVN: r163195

15 years agoDaily bump.
GCC Administrator [Thu, 12 Aug 2010 00:17:36 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r163180