OSDN Git Service

pf3gnuchains/gcc-fork.git
12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:58 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175435 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:53 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175434 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:49 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175433 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:41 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175432 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:36 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175431 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:31 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175430 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:26 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175429 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMark ChangeLog
gccadmin [Mon, 27 Jun 2011 10:01:21 +0000 (10:01 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175428 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 27 Jun 2011 00:18:53 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175415 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sun, 26 Jun 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175403 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 25 Jun 2011 00:17:55 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175393 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * de.po: Update.
jsm28 [Fri, 24 Jun 2011 14:23:44 +0000 (14:23 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175380 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 24 Jun 2011 00:18:45 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175361 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * de.po: Update.
jsm28 [Thu, 23 Jun 2011 22:30:44 +0000 (22:30 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175356 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49507
jason [Thu, 23 Jun 2011 16:56:27 +0000 (16:56 +0000)]
PR c++/49507
* decl2.c (mark_used): Don't call synthesize_method for
functions defaulted outside the class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175343 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Thu, 23 Jun 2011 00:18:20 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175326 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 22 Jun 2011 00:17:52 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175282 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49482
jason [Tue, 21 Jun 2011 20:08:01 +0000 (20:08 +0000)]
PR c++/49482
* semantics.c (maybe_add_lambda_conv_op): Call mark_exp_read for
static fn parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175274 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-21 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 21 Jun 2011 12:20:28 +0000 (12:20 +0000)]
2011-06-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49112
* class.c (gfc_find_derived_vtab): Make vtab and default initialization
symbols SAVE_IMPLICIT.

2011-06-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49112
* gfortran.dg/class_44.f03: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175259 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/po:
jsm28 [Tue, 21 Jun 2011 10:29:48 +0000 (10:29 +0000)]
gcc/po:
* gcc.pot: Regenerate.

libcpp/po:
* cpplib.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175249 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Tue, 21 Jun 2011 00:18:28 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175234 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): New func.
amodra [Mon, 20 Jun 2011 15:12:44 +0000 (15:12 +0000)]
* config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): New func.
(TARGET_CANNOT_FORCE_CONST_MEM): Update definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175220 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
ramana [Mon, 20 Jun 2011 11:14:50 +0000 (11:14 +0000)]
2011-06-20  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

Backport from mainline.
        2011-06-13  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

PR target/48454
* config/arm/neon.md (vec_pack_trunc): Set the lengths
correctly for the case with Quad vectors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175205 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/rs6000/rs6000.c (create_TOC_reference): Wrap high part
amodra [Mon, 20 Jun 2011 05:25:35 +0000 (05:25 +0000)]
* config/rs6000/rs6000.c (create_TOC_reference): Wrap high part
of toc-relative address in CONST.
(rs6000_delegitimize_address): Recognize changed address.
(rs6000_legitimize_reload_address): Likewise.
(rs6000_emit_move): Don't force these constants to memory.
* config/rs6000/rs6000.md (tls_gd, tls_gd_high): Wrap high part of
toc-relative address in CONST.
(tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise.
(tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175201 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 20 Jun 2011 00:18:16 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175198 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-19 Janus Weil <janus@gcc.gnu.org>
janus [Sun, 19 Jun 2011 21:05:18 +0000 (21:05 +0000)]
2011-06-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47601
* module.c (mio_component_ref): Handle components of extended types.
* symbol.c (gfc_find_component): Return if sym is NULL.

PR fortran/48699
* check.c (gfc_check_move_alloc): If 'TO' argument is polymorphic,
make sure the vtab is present.

PR fortran/49074
* interface.c (gfc_extend_assign): Propagate the locus from the
assignment to the type-bound procedure call.

PR fortran/49417
* module.c (mio_component): Make sure the 'class_ok' attribute is set
for use-associated CLASS components.
* parse.c (parse_derived): Check for 'class_ok' attribute.
* resolve.c (resolve_fl_derived): Ditto.

2011-06-19  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47601
* gfortran.dg/extends_13.f03: New.

PR fortran/48699
* gfortran.dg/move_alloc_5.f90: New.

PR fortran/49074
* gfortran.dg/typebound_assignment_3.f03: New.

PR fortran/49417
* gfortran.dg/class_43.f03: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175194 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-19 Jack Howarth <howarth@bromo.med.uc.edu>
mrs [Sun, 19 Jun 2011 18:07:52 +0000 (18:07 +0000)]
2011-06-19  Jack Howarth <howarth@bromo.med.uc.edu>

PR target/49461
* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
* libjava/configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175193 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/49461
mrs [Sun, 19 Jun 2011 17:48:13 +0000 (17:48 +0000)]
PR target/49461
* mh-darwin: Turn off -pie on darwin11 and later.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175190 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175187 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * mh-darwin: Turn off -pie on darwin11 and later.
mrs [Sat, 18 Jun 2011 14:38:03 +0000 (14:38 +0000)]
* mh-darwin: Turn off -pie on darwin11 and later.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175180 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR testsuite/49432
jakub [Sat, 18 Jun 2011 12:59:48 +0000 (12:59 +0000)]
PR testsuite/49432
* obj-c++.dg/invalid-type-1.mm: Adjust for new error wording.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175179 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc-interface/trans.c (Identifier_to_gnu): Don't set TREE_THIS_NOTRAP
ebotcazou [Sat, 18 Jun 2011 10:31:43 +0000 (10:31 +0000)]
* gcc-interface/trans.c (Identifier_to_gnu): Don't set TREE_THIS_NOTRAP
on a dereference built for a by-ref object if it has an address clause.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175173 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/49411
jakub [Sat, 18 Jun 2011 09:07:20 +0000 (09:07 +0000)]
PR target/49411
* config/i386/i386.c (ix86_expand_multi_arg_builtins): If
last_arg_constant and last argument doesn't match its predicate,
for xop_vpermil2<mode>3 error out and for xop_rotl<mode>3
if it is CONST_INT, mask it, otherwise expand using rotl<mode>3.
(ix86_expand_sse_pcmpestr, ix86_expand_sse_pcmpistr): Fix
spelling of error message.
* config/i386/sse.md (sse4a_extrqi, sse4a_insertqi,
vcvtps2ph, *vcvtps2ph, *vcvtps2ph_store, vcvtps2ph256): Use
const_0_to_255_operand instead of const_int_operand.

* gcc.target/i386/testimm-1.c: New test.
* gcc.target/i386/testimm-2.c: New test.
* gcc.target/i386/testimm-3.c: New test.
* gcc.target/i386/testimm-4.c: New test.
* gcc.target/i386/testimm-5.c: New test.
* gcc.target/i386/testimm-6.c: New test.
* gcc.target/i386/testimm-7.c: New test.
* gcc.target/i386/testimm-8.c: New test.
* gcc.target/i386/xop-vpermil2px-2.c: New test.
* gcc.target/i386/xop-rotate1-int.c: New test.
* gcc.target/i386/xop-rotate2-int.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175170 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 18 Jun 2011 00:18:35 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175162 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoBackport from mainline
rth [Fri, 17 Jun 2011 16:02:24 +0000 (16:02 +0000)]
Backport from mainline
2011-03-22  Richard Henderson  <rth@redhat.com>

* dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175150 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-17 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 17 Jun 2011 11:27:37 +0000 (11:27 +0000)]
2011-06-17  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2011-05-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49115
* tree-ssa-alias.c (stmt_kills_ref_p_1): If the assignment
is not necessarily carried out, do not claim it kills the ref.
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise.

* g++.dg/torture/pr49115.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175148 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-optimization/48542
hp [Fri, 17 Jun 2011 11:15:35 +0000 (11:15 +0000)]
PR rtl-optimization/48542
* gcc.dg/torture/pr48542.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175140 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-optimization/48542
hp [Fri, 17 Jun 2011 11:13:38 +0000 (11:13 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175139 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-17 Tobias Burnus
burnus [Fri, 17 Jun 2011 06:11:31 +0000 (06:11 +0000)]
2011-06-17  Tobias Burnus

        PR fortran/49324
        * trans-expr.c (gfc_trans_assignment_1): Tell
        gfc_trans_scalar_assign to also deep-copy RHS nonvariables
        with allocatable components.
        * trans-array.c (gfc_conv_expr_descriptor): Ditto.

2011-06-17  Tobias Burnus

        PR fortran/49324
        * gfortran.dg/alloc_comp_assign_11.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175137 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49229
jason [Fri, 17 Jun 2011 01:06:50 +0000 (01:06 +0000)]
PR c++/49229
* pt.c (tsubst_decl) [FUNCTION_DECL]: Handle substitution failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175131 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49251
jason [Fri, 17 Jun 2011 01:06:42 +0000 (01:06 +0000)]
PR c++/49251
* semantics.c (finish_id_expression): Mark even dependent
variables as used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175130 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 17 Jun 2011 00:19:09 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175128 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/49307
kkojima [Thu, 16 Jun 2011 22:02:45 +0000 (22:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175116 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-16 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 16 Jun 2011 19:37:37 +0000 (19:37 +0000)]
2011-06-16  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/48613
* ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if
ipa_node_params_vector is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175109 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/49419
jakub [Thu, 16 Jun 2011 07:54:43 +0000 (07:54 +0000)]
PR tree-optimization/49419
* tree-vrp.c (execute_vrp): Call init_range_assertions
before estimate_numbers_of_iterations, call
free_number_of_iterations_estimates before calling
remove_range_assertions.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175095 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago Backported from mainline
jakub [Thu, 16 Jun 2011 07:52:44 +0000 (07:52 +0000)]
Backported from mainline
2011-06-13  Edmar Wienskoski  <edmar@freescale.com>

PR target/44618
* config/rs6000/rs6000.md (save_gpregs_<mode>): Replaced pattern
with a set of similar patterns, where the MATCH_OPERAND for the
function argument is replaced with individual references to hardware
registers.
(save_fpregs_<mode>): Ditto
(restore_gpregs_<mode>): Ditto
(return_and_restore_gpregs_<mode>): Ditto
(return_and_restore_fpregs_<mode>): Ditto
(return_and_restore_fpregs_aix_<mode>): Ditto

* gcc.target/powerpc/outofline_rnreg.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175094 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Thu, 16 Jun 2011 00:18:11 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175087 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 15 Jun 2011 00:18:32 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175069 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * error.c (type_to_string): Print typedef-stripped version too.
jason [Tue, 14 Jun 2011 22:13:45 +0000 (22:13 +0000)]
* error.c (type_to_string): Print typedef-stripped version too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175061 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49117
jason [Tue, 14 Jun 2011 22:13:36 +0000 (22:13 +0000)]
PR c++/49117
* call.c (perform_implicit_conversion_flags): Print source type as
well as expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175060 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49369
jason [Tue, 14 Jun 2011 22:13:29 +0000 (22:13 +0000)]
PR c++/49369
* class.c (build_base_path): Fix cv-quals in unevaluated context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175059 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49290
jason [Tue, 14 Jun 2011 22:13:19 +0000 (22:13 +0000)]
PR c++/49290
* semantics.c (cxx_eval_indirect_ref): Remove assert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175058 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR debug/48459
rth [Tue, 14 Jun 2011 19:13:00 +0000 (19:13 +0000)]
PR debug/48459
        * dwarf2out.c (frame_pointer_fb_offset_valid): New.
        (based_loc_descr): Assert it's true.
        (compute_frame_pointer_to_fb_displacement): Set it, rather than
        aborting immediately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175049 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoBackport from mainline
rth [Tue, 14 Jun 2011 19:12:53 +0000 (19:12 +0000)]
Backport from mainline
2011-03-22  Richard Henderson  <rth@redhat.com>

        * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
        (avr_incoming_return_addr_rtx): New.
        (emit_push_byte): New.
        (expand_prologue): Use it.  Remove incorrect dwarf annotation for
        SREG, RAMPZ, zero register.  Push frame pointer by bytes.  Add dwarf
        annotation for __prologue_saves__.  Fixup dwarf annotation for CFA.
        (emit_pop_byte): New.
        (expand_epilogue): Use it.  Pop frame pointer by bytes.
        * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove.
        (INCOMING_RETURN_ADDR_RTX): New.
        (INCOMING_FRAME_SP_OFFSET): New.
        (ARG_POINTER_CFA_OFFSET): New.
        * config/avr/avr.md (*pushqi): Fix mode of auto-inc.
        (*pushhi, *pushsi, *pushsf, popqi): Likewise.
        (pophi): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175048 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR fortran/49103
jakub [Tue, 14 Jun 2011 15:28:21 +0000 (15:28 +0000)]
PR fortran/49103
* tree.h (DECL_NONSHAREABLE): Define.
(struct tree_decl_common): Change decl_common_unused to
decl_nonshareable_flag.
* cfgexpand.c (expand_used_vars_for_block, clear_tree_used):
Ignore vars with DECL_NONSHAREABLE bit set.
* tree-cfg.c (gimple_duplicate_bb): Set DECL_NONSHAREABLE
on stores to automatic aggregate vars.

* gfortran.dg/pr49103.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175029 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-optimization/49390
jakub [Tue, 14 Jun 2011 15:01:10 +0000 (15:01 +0000)]
PR rtl-optimization/49390
Revert:
2010-06-29  Bernd Schmidt  <bernds@codesourcery.com>

* cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare
MEM_ALIAS_SET.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175024 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Tue, 14 Jun 2011 00:18:56 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@175005 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 13 Jun 2011 00:18:41 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174978 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sun, 12 Jun 2011 00:18:02 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174963 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/i386/sse.md (vec_dupv4sf): Correct mode of forced register.
uros [Sat, 11 Jun 2011 12:06:31 +0000 (12:06 +0000)]
* config/i386/sse.md (vec_dupv4sf): Correct mode of forced register.
(*vec_dupv2df): Rename from vec_dupv2df.
(vec_dupv2df): New expander.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174950 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 11 Jun 2011 00:17:28 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174937 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc/testsuite/gcc.target/arm/20090811-1.c: Skip for incompatible
janis [Fri, 10 Jun 2011 18:28:18 +0000 (18:28 +0000)]
* gcc/testsuite/gcc.target/arm/20090811-1.c: Skip for incompatible
options, do not override other options.
* gcc/testsuite/gcc.target/arm/combine-cmp-shift.c: Skip for
incompatible options.
* gcc/testsuite/gcc.target/arm/pr45094.c: Likewise.
* gcc/testsuite/gcc.target/arm/scd42-1.c: Likewise.
* gcc/testsuite/gcc.target/arm/scd42-3.c: Likewise.
* gcc/testsuite/gcc.target/arm/thumb-ltu.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174923 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * lib/target-supports.exp
janis [Fri, 10 Jun 2011 18:26:28 +0000 (18:26 +0000)]
* lib/target-supports.exp
(check_effective_target_arm_neon_fp16_ok_nocache): Return 0 if
multilib flags use -mfpu with a value other than neon-fp16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174921 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * semantics.c (finish_compound_literal): Set TREE_HAS_CONSTRUCTOR.
jason [Fri, 10 Jun 2011 04:23:34 +0000 (04:23 +0000)]
* semantics.c (finish_compound_literal): Set TREE_HAS_CONSTRUCTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174888 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * semantics.c (potential_constant_expression_1): Handle destructor
jason [Fri, 10 Jun 2011 04:23:26 +0000 (04:23 +0000)]
* semantics.c (potential_constant_expression_1): Handle destructor
call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174887 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 10 Jun 2011 00:17:52 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174875 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/sparc/sparc.md (return_internal): Adjust 'length' attribute.
ebotcazou [Thu, 9 Jun 2011 19:50:46 +0000 (19:50 +0000)]
* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174856 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Thu, 9 Jun 2011 00:18:25 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174828 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoSupport unknown Intel family 0x6 CPUs.
hjl [Wed, 8 Jun 2011 13:50:59 +0000 (13:50 +0000)]
Support unknown Intel family 0x6 CPUs.

2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>

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

* config/i386/driver-i386.c (host_detect_local_cpu): Support
unknown Intel family 0x6 CPUs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174810 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/49238
kkojima [Wed, 8 Jun 2011 04:07:25 +0000 (04:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174793 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 8 Jun 2011 00:18:32 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174787 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/48780
jason [Tue, 7 Jun 2011 15:12:15 +0000 (15:12 +0000)]
PR c++/48780
* typeck.c (perform_integral_promotions): Don't promote scoped enums.
* call.c (convert_arg_to_ellipsis): Promote them here in old ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174753 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR gcov-profile/49299
jakub [Tue, 7 Jun 2011 09:53:17 +0000 (09:53 +0000)]
PR gcov-profile/49299
* value-prof.c (gimple_ic): Don't assume icall has
a fallthru edge.

* gcc.dg/tree-prof/pr49299-1.c: New test.
* gcc.dg/tree-prof/pr49299-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174739 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Tue, 7 Jun 2011 00:18:01 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174732 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49298
jason [Mon, 6 Jun 2011 20:07:26 +0000 (20:07 +0000)]
PR c++/49298
* semantics.c (potential_constant_expression_1): Handle FIELD_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174722 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from
pthaugen [Mon, 6 Jun 2011 19:12:57 +0000 (19:12 +0000)]
    * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from
        NON_FLOAT_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174720 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR fortran/49268
langton [Mon, 6 Jun 2011 18:17:26 +0000 (18:17 +0000)]
PR fortran/49268
    * trans-decl.c (gfc_trans_deferred_vars): Treat assumed-size Cray
    pointees as AS_EXPLICIT.

    PR fortran/49268
    * gfortran.dg/PR49268.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174719 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49264
jakub [Mon, 6 Jun 2011 17:16:35 +0000 (17:16 +0000)]
PR c++/49264
* gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs
if stmt folded into nothing.
* tree-inline.c (fold_marked_statements): If a builtin at the
end of a bb folded into nothing, just update cgraph edges
and move to next bb.
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt
to be NULL.  Don't compute count and frequency if new_call is NULL.

* g++.dg/opt/pr49264.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174713 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Mon, 6 Jun 2011 14:34:54 +0000 (14:34 +0000)]
2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* longlong.h (smul_ppmm): The resulting register pair contains the
higher order word first.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174703 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-06 Mikael Pettersson <mikpe@it.uu.se>
rguenth [Mon, 6 Jun 2011 11:46:14 +0000 (11:46 +0000)]
2011-06-06  Mikael Pettersson  <mikpe@it.uu.se>

PR tree-optimization/49243
* calls.c (setjmp_call_p): Also check if fndecl has the
returns_twice attribute.

* gcc.dg/pr49243.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174696 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-06 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 6 Jun 2011 10:13:23 +0000 (10:13 +0000)]
2011-06-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48702
* tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs
only when we know the base address is within bounds.
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not
assume the base address of TARGET_MEM_REFs is in bounds.
(indirect_refs_may_alias_p): Fix TARGET_MEM_REF without index tests.

* gcc.dg/torture/pr48702.c: New testcase.

Backport from mainline
2011-05-31  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/49235
* tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx.
(create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174688 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49134
jason [Mon, 6 Jun 2011 04:31:24 +0000 (04:31 +0000)]
PR c++/49134
* tree.c (build_target_expr): Deal with ARM ABI tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174684 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 6 Jun 2011 00:18:06 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174677 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/sparc/sparc.c (output_return): Fix thinko in the output of an
ebotcazou [Sun, 5 Jun 2011 23:20:21 +0000 (23:20 +0000)]
* config/sparc/sparc.c (output_return): Fix thinko in the output of an
EH return when delayed branches are disabled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174671 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/49186
kkojima [Sun, 5 Jun 2011 21:47:42 +0000 (21:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174665 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sun, 5 Jun 2011 00:18:05 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174654 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Sat, 4 Jun 2011 16:20:55 +0000 (16:20 +0000)]
2011-06-04  Jonathan Wakely  <jwakely.gcc@gmail.com>

        PR c++/33840
* g++.dg/diagnostic/bitfld2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174645 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR debug/47590
aoliva [Sat, 4 Jun 2011 10:15:48 +0000 (10:15 +0000)]
PR debug/47590
* target.def (delay_sched2, delay_vartrack): New.
* doc/tm.texi.in: Update.
* doc/tm.texi: Rebuild.
* sched-rgn.c (gate_handle_sched2): Fail if delay_sched2.
* var-tracking.c (gate_handle_var_tracking): Likewise.
* config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop.
(bfin_flag_var_tracking): Drop.
(output_file_start): Don't save and override flag_var_tracking.
(bfin_option_override): Ditto flag_schedule_insns_after_reload.
(bfin_reorg): Test original variables.
(TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define.
* config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop.
(ia64_flag_var_tracking): Drop.
(TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define.
(ia64_file_start): Don't save and override flag_var_tracking.
(ia64_override_options_after_change): Ditto
flag_schedule_insns_after_reload.
(ia64_reorg): Test original variables.
* config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop.
(picochip_flag_var_tracking): Drop.
(TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define.
(picochip_option_override): Don't save and override
flag_schedule_insns_after_reload.
(picochip_asm_file_start): Ditto flag_var_tracking.
(picochip_reorg): Test original variables.
* config/spu/spu.c (spu_flag_var_tracking): Drop.
(TARGET_DELAY_VARTRACK): Define.
(spu_var_tracking): New.
(spu_machine_dependent_reorg): Call it.
(asm_file_start): Don't save and override flag_var_tracking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174637 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/49038
irar [Sat, 4 Jun 2011 09:20:00 +0000 (09:20 +0000)]
    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_get_known_peeling_cost): 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174635 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 4 Jun 2011 00:17:44 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174629 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49276
jakub [Fri, 3 Jun 2011 20:21:38 +0000 (20:21 +0000)]
PR c++/49276
* mangle.c (write_nested_name): Use CP_DECL_CONTEXT instead of
DECL_CONTEXT.

* g++.dg/cpp0x/lambda/lambda-mangle2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174620 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 3 Jun 2011 00:18:06 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174591 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Thu, 2 Jun 2011 19:53:02 +0000 (19:53 +0000)]
2011-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/49265
* decl.c (gfc_match_modproc):  Allow for a double colon in a module
procedure statement.
* parse.c ( decode_statement): Deal with whitespace around :: in
gfc_match_modproc.

2011-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/49265
* gfortran.dg/module_procedure_double_colon_1.f90: New test.
* gfortran.dg/module_procedure_double_colon_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174576 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/49093
irar [Thu, 2 Jun 2011 07:02:57 +0000 (07:02 +0000)]
    PR tree-optimization/49093
        * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for
        volatile data references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174559 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Thu, 2 Jun 2011 00:17:54 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174556 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 1 Jun 2011 00:17:53 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174517 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-05-31 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Tue, 31 May 2011 21:37:01 +0000 (21:37 +0000)]
2011-05-31  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-05-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174513 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix fma4_fmsubadd and fma4_fmaddsub mode suffixes.
qneill [Tue, 31 May 2011 14:32:38 +0000 (14:32 +0000)]
Fix fma4_fmsubadd and fma4_fmaddsub mode suffixes.

2011-05-31  Quentin Neill  <quentin.neill@amd.com>

* config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>.
(fma4_fmaddsub): Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174485 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-05-31 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 31 May 2011 12:25:52 +0000 (12:25 +0000)]
2011-05-31  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2011-05-19  Richard Guenther  <rguenther@suse.de>

PR middle-end/48985
* tree-object-size.c (addr_object_size): If the pointed-to
variable is a decl use DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT.

* gcc.dg/builtin-object-size-11.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174476 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-05-31 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 31 May 2011 12:23:55 +0000 (12:23 +0000)]
2011-05-31  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2011-05-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/48953
* tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs.

* gcc.dg/torture/pr48953.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174475 138bc75d-0d04-0410-961f-82ee72b054a4