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

From-SVN: r175161

14 years agore PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may...
Hans-Peter Nilsson [Fri, 17 Jun 2011 11:18:37 +0000 (11:18 +0000)] 
re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))

PR rtl-optimization/48542
* gcc.dg/torture/pr48542.c: New test.

From-SVN: r175142

14 years agore PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may...
Hans-Peter Nilsson [Fri, 17 Jun 2011 11:17:34 +0000 (11:17 +0000)] 
re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))

PR rtl-optimization/48542
* reload.c (find_equiv_reg): Stop looking when finding a
setjmp-type call.
* reload1.c (reload_as_needed): Invalidate all reload
registers when crossing a setjmp-type call.

From-SVN: r175141

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

From-SVN: r175127

14 years agore PR target/49307 (ICE in spill_failure, at reload1.c:2113)
Kaz Kojima [Thu, 16 Jun 2011 22:08:20 +0000 (22:08 +0000)] 
re PR target/49307 (ICE in spill_failure, at reload1.c:2113)

PR target/49307
* config/sh/sh.md (UNSPEC_CHKADD): New.
(chk_guard_add): New define_insn_and_split.
(symGOT_load): Use chk_guard_add instead of blockage.

From-SVN: r175118

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

From-SVN: r175086

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

From-SVN: r175068

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

From-SVN: r175004

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

From-SVN: r174977

14 years agoDaily bump.
GCC Administrator [Sun, 12 Jun 2011 00:17:44 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174962

14 years agosse.md (vec_dupv4sf): Correct mode of forced register.
Uros Bizjak [Sat, 11 Jun 2011 12:08:53 +0000 (14:08 +0200)] 
sse.md (vec_dupv4sf): Correct mode of forced register.

* config/i386/sse.md (vec_dupv4sf): Correct mode of forced register.
(*vec_dupv2df): Rename from vec_dupv2df.
(vec_dupv2df): New expander.

From-SVN: r174951

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

From-SVN: r174936

14 years agoDaily bump.
GCC Administrator [Fri, 10 Jun 2011 00:17:31 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174874

14 years ago* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.
Eric Botcazou [Thu, 9 Jun 2011 19:51:03 +0000 (19:51 +0000)] 
* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.

From-SVN: r174857

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

From-SVN: r174827

14 years agore PR target/49238 ([SH] ICE in extract_insn, at recog.c:2113)
Kaz Kojima [Wed, 8 Jun 2011 04:10:26 +0000 (04:10 +0000)] 
re PR target/49238 ([SH] ICE in extract_insn, at recog.c:2113)

PR target/49238
* config/sh/sh.c (expand_cbranchdi4): Use a scratch register if
needed when original operands are used for msw_skip comparison.
* gcc.c-torture/compile/pr49238.c: New.

From-SVN: r174794

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

From-SVN: r174786

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

From-SVN: r174731

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

From-SVN: r174676

14 years agosparc.c (output_return): Fix thinko in the output of an EH return when delayed branch...
Eric Botcazou [Sun, 5 Jun 2011 23:20:41 +0000 (23:20 +0000)] 
sparc.c (output_return): Fix thinko in the output of an EH return when delayed branches are disabled.

* config/sparc/sparc.c (output_return): Fix thinko in the output of an
EH return when delayed branches are disabled.

From-SVN: r174672

14 years agore PR target/49186 (optimize problem with unsigned long long value.)
Kaz Kojima [Sun, 5 Jun 2011 21:50:29 +0000 (21:50 +0000)] 
re PR target/49186 (optimize problem with unsigned long long value.)

PR target/49186
* config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high
part of the second operand is 0.
* gcc.c-torture/execute/pr49186.c: New.

From-SVN: r174666

14 years agoDaily bump.
GCC Administrator [Sun, 5 Jun 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174653

14 years agore PR tree-optimization/49038 (-ftree-vectorise introduces reads past end of array)
Ira Rosen [Sat, 4 Jun 2011 09:12:55 +0000 (09:12 +0000)] 
re PR tree-optimization/49038 (-ftree-vectorise introduces reads past end of array)

PR tree-optimization/49038
* tree-vect-loop-manip.c (vect_generate_tmps_on_preheader):
Ensure at least one epilogue iteration if required by data
accesses with gaps.
* tree-vectorizer.h (struct _loop_vec_info): Add new field
to mark loops that require peeling for gaps.
* tree-vect-loop.c (new_loop_vec_info): Initialize new field.
(vect_estimate_min_profitable_iters): Take peeling for gaps into
account.
(vect_transform_loop): Generate epilogue if required by data
access with gaps.
* tree-vect-data-refs.c (vect_analyze_group_access): Mark the
loop as requiring an epilogue if there are gaps in the end of
the strided group.

From-SVN: r174634

14 years agoDaily bump.
GCC Administrator [Sat, 4 Jun 2011 00:17:24 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174628

14 years agoDaily bump.
GCC Administrator [Fri, 3 Jun 2011 00:17:40 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174590

14 years agobackport: re PR fortran/45786 (Relational operators .eq. and == are not recognized...
Thomas Koenig [Thu, 2 Jun 2011 09:09:53 +0000 (09:09 +0000)] 
backport: re PR fortran/45786 (Relational operators .eq. and == are not recognized as equivalent)

2011-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/45786
* interface.c (gfc_equivalent_op):  New function.
(gfc_check_interface):  Use gfc_equivalent_op instead
of switch statement.
* decl.c (access_attr_decl):  Also set access to an
equivalent operator.

2011-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/45786
* gfortran.dg/operator_7.f90:  New test case.

From-SVN: r174560

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

From-SVN: r174555

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

From-SVN: r174516

14 years agoBackport the fix for PR47714 from the 4.6 branch.
Duncan Sands [Tue, 31 May 2011 07:03:53 +0000 (09:03 +0200)] 
Backport the fix for PR47714 from the 4.6 branch.

From-SVN: r174467

14 years agoDaily bump.
GCC Administrator [Tue, 31 May 2011 00:18:33 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r174461

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

From-SVN: r174420

14 years agore PR target/43700 (global register variables defect)
Richard Sandiford [Sun, 29 May 2011 17:51:03 +0000 (17:51 +0000)] 
re PR target/43700 (global register variables defect)

gcc/
PR target/43700
* config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global
registers.

gcc/testsuite/
* gcc.target/mips/reg-var-1.c: New test.

From-SVN: r174408

14 years agore PR target/43995 (internal compiler error: Segmentation fault on Mips64 crossbuild...
Richard Sandiford [Sun, 29 May 2011 17:50:53 +0000 (17:50 +0000)] 
re PR target/43995 (internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs)

gcc/
PR target/43995
* config/mips/mips.c (mips_pic_call_symbol_from_set): Add a
recurse_p argument.  Only follow register copies if it is set,
and prevent mips_find_pic_call_symbol from recursing.
(mips_find_pic_call_symbol): Add a recurse_p argument.
Pass it to mips_pic_call_symbol_from_set.
(mips_annotate_pic_calls): Update accordingly.

From-SVN: r174407

14 years agoDaily bump.
GCC Administrator [Sun, 29 May 2011 00:17:48 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174389

14 years agoDaily bump.
GCC Administrator [Sat, 28 May 2011 00:17:40 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174371

14 years agoDaily bump.
GCC Administrator [Fri, 27 May 2011 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174313

14 years agosparc-protos.h (sparc_optimization_options): Declare.
Eric Botcazou [Thu, 26 May 2011 12:46:47 +0000 (12:46 +0000)] 
sparc-protos.h (sparc_optimization_options): Declare.

* config/sparc/sparc-protos.h (sparc_optimization_options): Declare.
* config/sparc/sparc.h (OPTIMIZATION_OPTIONS): Define.
* config/sparc/sparc.c (sparc_optimization_options): New function.
Set flag_ira_share_save_slots to 0.

From-SVN: r174280

14 years agobackport: re PR rtl-optimization/41619 (ICE in insert_save (caller-save.c) for SPEC...
Eric Botcazou [Thu, 26 May 2011 12:43:06 +0000 (12:43 +0000)] 
backport: re PR rtl-optimization/41619 (ICE in insert_save (caller-save.c) for SPEC CPU2000's 252.eon)

Backport from mainline
2011-01-21  Jeff Law  <law@redhat.com>

PR rtl-optimization/41619
* caller-save.c (setup_save_areas): Break out code to determine
which hard regs are live across calls by examining the reload chains
so that it is always used.
Eliminate code which checked REG_N_CALLS_CROSSED.

From-SVN: r174278

14 years agoDaily bump.
GCC Administrator [Thu, 26 May 2011 00:18:28 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r174250

14 years ago* g++.dg/other/pr49133.C: Require effective target sse2.
Uros Bizjak [Wed, 25 May 2011 16:22:16 +0000 (18:22 +0200)] 
* g++.dg/other/pr49133.C: Require effective target sse2.

From-SVN: r174212

14 years agore PR target/49133 (modification of aliased __m128d miscompiles)
Uros Bizjak [Wed, 25 May 2011 13:26:42 +0000 (15:26 +0200)] 
re PR target/49133 (modification of aliased __m128d miscompiles)

PR target/49133
* config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative.

testsuite/ChangeLog:

PR target/49133
* g++.dg/other/pr49133.C: New test.

From-SVN: r174195

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

From-SVN: r174155

14 years agoDaily bump.
GCC Administrator [Tue, 24 May 2011 00:17:51 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174097

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

From-SVN: r174052

14 years agoDaily bump.
GCC Administrator [Sun, 22 May 2011 00:17:50 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174019

14 years agosparc.md (setjmp): Handle PIC mode and use the hard frame pointer.
Eric Botcazou [Sat, 21 May 2011 22:50:20 +0000 (22:50 +0000)] 
sparc.md (setjmp): Handle PIC mode and use the hard frame pointer.

* config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard
frame pointer.

From-SVN: r174015

14 years agosparc.c (eligible_for_return_delay): Do not return false if there are call-saved...
Eric Botcazou [Sat, 21 May 2011 22:04:35 +0000 (22:04 +0000)] 
sparc.c (eligible_for_return_delay): Do not return false if there are call-saved registers here...

* config/sparc/sparc.c (eligible_for_return_delay): Do not return
false if there are call-saved registers here...
(sparc_can_use_return_insn_p): ...but here instead.
(save_or_restore_regs): Fix thinko.
(sparc_expand_prologue): Use current_function_is_leaf.
(sparc_frame_pointer_required): Likewise.

From-SVN: r174011

14 years agoDaily bump.
GCC Administrator [Sat, 21 May 2011 00:17:46 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r173989

14 years agore PR c++/48873 ([C++0x][noexcept] Placement-new problem with deleted destructors)
Jason Merrill [Fri, 20 May 2011 18:53:27 +0000 (14:53 -0400)] 
re PR c++/48873 ([C++0x][noexcept] Placement-new problem with deleted destructors)

PR c++/48873
* tree.c (stabilize_expr): Don't make gratuitous copies of classes.

From-SVN: r173969

14 years ago* config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo in macro name.
Nick Clifton [Fri, 20 May 2011 11:21:13 +0000 (11:21 +0000)] 
* config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo in macro name.

From-SVN: r173940

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

From-SVN: r173933

14 years ago* gcc.c-torture/execute/960321-1.x: Remove.
Rainer Orth [Thu, 19 May 2011 08:04:05 +0000 (08:04 +0000)] 
* gcc.c-torture/execute/960321-1.x: Remove.

From-SVN: r173892

14 years agoDaily bump.
GCC Administrator [Thu, 19 May 2011 00:18:26 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r173885

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

From-SVN: r173841

14 years agoDaily bump.
GCC Administrator [Tue, 17 May 2011 00:18:52 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r173812

14 years agoi386.md (*movxf_internal): Disable CONST_DOUBLE optimization for CM_MEDIUM and CM_LAR...
Uros Bizjak [Mon, 16 May 2011 21:19:58 +0000 (23:19 +0200)] 
i386.md (*movxf_internal): Disable CONST_DOUBLE optimization for CM_MEDIUM and CM_LARGE code models.

* config/i386/i386.md (*movxf_internal): Disable CONST_DOUBLE
optimization for CM_MEDIUM and CM_LARGE code models.  Fix usage
of standard_80387_constant_p.
(*movxf_internal_nointeger): Ditto.
(*movdf_internal): Remove dead code-size optimization.
(*movdf_internal_rex64): Fix usage of standard_80387_constant_p.
(*movdf_internal_nointeger): Ditto.
(*movsf_internal): Ditto.
(floating point move splitters): Ditto.
* config/i386/constraints.md (G): Ditto.
* config/i386/i386.c (ix86_preferred_reload_class): Ditto.

From-SVN: r173807

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

From-SVN: r173783

14 years agoDaily bump.
GCC Administrator [Sun, 15 May 2011 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r173766

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

From-SVN: r173745

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

From-SVN: r173720

14 years agoDaily bump.
GCC Administrator [Thu, 12 May 2011 00:18:06 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r173689

14 years agoFix PRs 48857, 48495
Michael Meissner [Wed, 11 May 2011 16:19:16 +0000 (16:19 +0000)] 
Fix PRs 48857, 48495

From-SVN: r173665

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

From-SVN: r173639

14 years agobackport: re PR tree-optimization/48837 (Wrong optimization of recursive function...
Jakub Jelinek [Tue, 10 May 2011 08:45:50 +0000 (10:45 +0200)] 
backport: re PR tree-optimization/48837 (Wrong optimization of recursive function calls)

Backported from mainline
2011-05-07  Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/48837
* tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls
when accumulator transformation is performed.

* gcc.dg/pr48837.c: New testcase.

From-SVN: r173610

14 years agoDaily bump.
GCC Administrator [Tue, 10 May 2011 00:18:23 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r173602

14 years agore PR c++/48936 (sizeof template parm not considered constant expression)
Jason Merrill [Mon, 9 May 2011 18:00:26 +0000 (14:00 -0400)] 
re PR c++/48936 (sizeof template parm not considered constant expression)

PR c++/48936
* decl2.c (mark_used): Instantiate constant variables even
in unevaluated context.

From-SVN: r173584

14 years agovar-tracking.c (find_mem_expr_in_1pdv): Fix thinko.
Eric Botcazou [Mon, 9 May 2011 11:31:02 +0000 (11:31 +0000)] 
var-tracking.c (find_mem_expr_in_1pdv): Fix thinko.

* var-tracking.c (find_mem_expr_in_1pdv): Fix thinko.
(dataflow_set_preserve_mem_locs): Likewise.

From-SVN: r173567

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

From-SVN: r173555

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

From-SVN: r173541

14 years agoDaily bump.
GCC Administrator [Sat, 7 May 2011 00:18:16 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r173523

14 years agore PR target/48900 (unnecessary duplicate __tls_get_addr calls)
Alan Modra [Fri, 6 May 2011 14:31:01 +0000 (00:01 +0930)] 
re PR target/48900 (unnecessary duplicate __tls_get_addr calls)

PR target/48900
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use
const0_rtx as the arg to the dummy __tls_get_addr libcall.

From-SVN: r173490

14 years agore PR fortran/48894 (generic omp_get_ancestor_thread_num(l(i)) produces incorrect...
Jakub Jelinek [Fri, 6 May 2011 10:12:57 +0000 (12:12 +0200)] 
re PR fortran/48894 (generic omp_get_ancestor_thread_num(l(i)) produces incorrect output)

PR fortran/48894
* fortran.c: Include limits.h.
(TO_INT): Define.
(omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of
*set.
(omp_set_num_threads_8_, omp_set_schedule_8_,
omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_,
omp_get_team_size_8_): Use TO_INT macro.
* testsuite/libgomp.fortran/pr48894.f90: New test.

From-SVN: r173478

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

From-SVN: r173462

14 years agore PR c++/40975 (ICE in copy_tree_r on array new)
Jason Merrill [Thu, 5 May 2011 21:02:45 +0000 (17:02 -0400)] 
re PR c++/40975 (ICE in copy_tree_r on array new)

PR c++/40975
* tree-inline.c (copy_tree_r): Handle STATEMENT_LIST.

From-SVN: r173453

14 years agoneon.md (vec_set<mode>_internal): Fix misplaced parenthesis in D-register case.
Julian Brown [Thu, 5 May 2011 16:12:21 +0000 (16:12 +0000)] 
neon.md (vec_set<mode>_internal): Fix misplaced parenthesis in D-register case.

gcc/
* config/arm/neon.md (vec_set<mode>_internal): Fix misplaced
parenthesis in D-register case.

gcc/testsuite/
* gcc.target/arm/neon-vset_lanes8.c: New test.

From-SVN: r173440

14 years agobackport: re PR target/48252 (ARM neon: problem with consecutive vzip, vuzp and vtrn)
Ira Rosen [Thu, 5 May 2011 07:34:59 +0000 (07:34 +0000)] 
backport: re PR target/48252 (ARM neon: problem with consecutive vzip, vuzp and vtrn)

Backport from mainline:
2011-04-18  Ulrich Weigand  <ulrich.weigand@linaro.org>
    Ira Rosen  <ira.rosen@linaro.org>

PR target/48252
* config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments
to match neon_vzip/vuzp/vtrn_internal.
* config/arm/neon.md (neon_vtrn<mode>_internal): Make both
outputs explicitly dependent on both inputs.
(neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise.

From-SVN: r173417

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

From-SVN: r173405

14 years agobackport: re PR target/48708 (Invalid V2DI vector set insn generated)
Uros Bizjak [Wed, 4 May 2011 18:25:25 +0000 (20:25 +0200)] 
backport: re PR target/48708 (Invalid V2DI vector set insn generated)

Backport from mainline
2011-04-21  Uros Bizjak  <ubizjak@gmail.com>

PR target/48708
* config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate
vec_extract and vec_concat for non-SSE4_1 targets.

testsuite/ChangeLog:

Backport from mainline
2011-04-21  Uros Bizjak  <ubizjak@gmail.com>

PR target/48708
* gcc.target/i386/pr48708.c: New test.

From-SVN: r173389

14 years agoi386.md (*movdi_internal_rex64): Use %v prefix in insn mnemonic to handle TARGET_AVX.
Uros Bizjak [Wed, 4 May 2011 18:22:23 +0000 (20:22 +0200)] 
i386.md (*movdi_internal_rex64): Use %v prefix in insn mnemonic to handle TARGET_AVX.

* config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>:
Use %v prefix in insn mnemonic to handle TARGET_AVX.
(*movdi_internal): Use "maybe_vex" instead of "vex" in "prefix"
attribute calculation.
(*movdf_internal): Output AVX mnemonics.  Add "prefix" attribute.
* config/i386/sse.md (*sse2_storeq_rex64): Do not emit %v prefix
for mov{q} mnemonic.
(*vec_extractv2di_1_rex64_avx): Ditto.
(*vec_concatv2di_rex64_sse4_1): Use %vmovd for reg<->xmm moves.
(*vec_concatv2di_rex64_sse): Use movd for reg<->xmm moves.
* config/i386/mmx.md (*mov<mode>_internal_rex64): Ditto.

testsuite/ChangeLog:

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

* gcc.target/i386/sse2-init-v2di-2.c: Add "-dp" and update
expected scan.

From-SVN: r173387

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

From-SVN: r173348

14 years agore PR target/48774 (gcc-4.6.0 optimization regression on x86_64-unknown-linux-gnu)
Jakub Jelinek [Tue, 3 May 2011 16:38:25 +0000 (18:38 +0200)] 
re PR target/48774 (gcc-4.6.0 optimization regression on x86_64-unknown-linux-gnu)

PR target/48774
* config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode
only succeed if req_mode is the same as set_mode.

* gcc.dg/pr48774.c: New test.

From-SVN: r173329

14 years agobackport: re PR testsuite/48809 (switch statement optimization error)
Jakub Jelinek [Tue, 3 May 2011 16:37:12 +0000 (18:37 +0200)] 
backport: re PR testsuite/48809 (switch statement optimization error)

Backport from mainline
2011-04-30  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/48809
* tree-switch-conversion.c (build_arrays): Compute tidx in unsigned
type.
(gen_inbound_check): Don't compute index_expr - range_min in utype
again, instead reuse SSA_NAME initialized in build_arrays.
Remove two useless gsi_for_stmt calls.

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

From-SVN: r173328

14 years agobackport: re PR middle-end/48597 (x86-64 unwind register save location misses half...
Jakub Jelinek [Tue, 3 May 2011 16:35:56 +0000 (18:35 +0200)] 
backport: re PR middle-end/48597 (x86-64 unwind register save location misses half-register write?)

Backport from mainline
2011-04-28  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/48597
* final.c (final_scan_insn): Call dwarf2out_frame_debug even for
inline asm.

From-SVN: r173327

14 years agobackport: re PR c/48742 (Internal error in gimplify_expr)
Jakub Jelinek [Tue, 3 May 2011 16:34:32 +0000 (18:34 +0200)] 
backport: re PR c/48742 (Internal error in gimplify_expr)

Backport from mainline
2011-04-27  Jakub Jelinek  <jakub@redhat.com>

PR c/48742
* c-typeck.c (build_binary_op): Don't wrap arguments if
int_operands is true.

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

From-SVN: r173326

14 years agobackport: re PR c/48685 (ICE in gimplify_expr, at gimplify.c:7034)
Jakub Jelinek [Tue, 3 May 2011 16:33:09 +0000 (18:33 +0200)] 
backport: re PR c/48685 (ICE in gimplify_expr, at gimplify.c:7034)

Backport from mainline
2011-04-23  Jakub Jelinek  <jakub@redhat.com>

PR c/48685
* fold-const.c (fold_convert_loc): Add NOP_EXPR when casting
to VOID_TYPE even around MODIFY_EXPR.

* gcc.dg/pr48685.c: New test.

From-SVN: r173324

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

From-SVN: r173282

14 years agobackport: [multiple changes]
Ulrich Weigand [Mon, 2 May 2011 14:06:48 +0000 (14:06 +0000)] 
backport: [multiple changes]

2011-05-02  Ulrich Weigand  <ulrich.weigand@linaro.org>

PR middle-end/43085
Backport from mainline:

2010-04-29  Bernd Schmidt  <bernds@codesourcery.com>

From Dominique d'Humieres <dominiq@lps.ens.fr>
PR bootstrap/43858
* ifcvt.c (dead_or_predicable): Use df_simulate_find_defs to compute
test_set.

2010-04-26  Bernd Schmidt  <bernds@codesourcery.com>

* df-problems.c (df_simulate_initialize_forwards): Set, don't clear,
bits for artificial defs at the top of the block.
* fwprop.c (single_def_use_enter_block): Don't call it.

2010-04-22  Bernd Schmidt  <bernds@codesourcery.com>

* ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and
df_simulate_find_noclobber_defs as appropriate.  Keep track of an
extra set merge_set_noclobber, and use it to relax the final test
slightly.
* df.h (df_simulate_find_noclobber_defs): Declare.
* df-problems.c (df_simulate_find_defs): Don't ignore partial or
conditional defs.
(df_simulate_find_noclobber_defs): New function.

From-SVN: r173252

14 years agobackport: osf.S (UA_SI, [...]): Define.
Rainer Orth [Mon, 2 May 2011 12:41:34 +0000 (12:41 +0000)] 
backport: osf.S (UA_SI, [...]): Define.

Backport from mainline:
2011-04-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* src/alpha/osf.S (UA_SI, FDE_ENCODING, FDE_ENCODE, FDE_ARANGE):
Define.
Use them to handle ELF vs. ECOFF differences.
[__osf__] (_GLOBAL__F_ffi_call_osf): Define.

From-SVN: r173248

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

From-SVN: r173238

14 years agoDaily bump.
GCC Administrator [Sun, 1 May 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r173227

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

From-SVN: r173202

14 years agore PR target/48288 (ld: Unsatisfied symbol "__iordi3" in file /test/gnu/gcc/objdir...
John David Anglin [Sat, 30 Apr 2011 00:15:43 +0000 (00:15 +0000)] 
re PR target/48288 (ld: Unsatisfied symbol "__iordi3" in file /test/gnu/gcc/objdir/./gcc/libgcc_eh.a)

PR target/48288
* config/pa/predicates.md (ior_operand): Delete predicate.
(cint_ior_operand, reg_or_cint_ior_operand): New predicates.
* config/pa/pa.md (iordi3): Use reg_or_cint_ior_operand predicate in
expander.  Use cint_ior_operand in unnamed insn.
(iorsi3): Likewise.
* config/pa/pa-protos.h (ior_operand): Delete declarations.

From-SVN: r173199

14 years agoDaily bump.
GCC Administrator [Fri, 29 Apr 2011 00:17:43 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r173144

14 years agore PR c++/48046 (Expected diagnostic "reference to 'type' is ambiguous" not given...
Jason Merrill [Thu, 28 Apr 2011 15:02:17 +0000 (11:02 -0400)] 
re PR c++/48046 (Expected diagnostic "reference to  'type' is ambiguous" not given for function-local static declaration)

PR c++/48046
* parser.c (cp_parser_diagnose_invalid_type_name): Commit
to tentative parse sooner.

From-SVN: r173116

14 years agoDEV-PHASE: Set back to prerelease.
Richard Guenther [Thu, 28 Apr 2011 14:54:41 +0000 (14:54 +0000)] 
DEV-PHASE: Set back to prerelease.

2011-04-28  Richard Guenther  <rguenther@suse.de>

        * DEV-PHASE: Set back to prerelease.
        * BASE-VER: Bump to 4.5.4.

From-SVN: r173115

14 years agoMark as release releases/gcc-4.5.3
Richard Biener [Thu, 28 Apr 2011 14:12:44 +0000 (14:12 +0000)] 
Mark as release

From-SVN: r173113

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:12:38 +0000 (14:12 +0000)] 
Mark ChangeLog

From-SVN: r173112

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:12:32 +0000 (14:12 +0000)] 
Mark ChangeLog

From-SVN: r173111

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:12:26 +0000 (14:12 +0000)] 
Mark ChangeLog

From-SVN: r173110

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:12:20 +0000 (14:12 +0000)] 
Mark ChangeLog

From-SVN: r173109