OSDN Git Service

pf3gnuchains/gcc-fork.git
12 years ago2011-07-01 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 1 Jul 2011 15:46:17 +0000 (15:46 +0000)]
2011-07-01  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175760 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49085
jason [Fri, 1 Jul 2011 13:36:17 +0000 (13:36 +0000)]
PR c++/49085
* semantics.c (finish_offsetof): Complain about incomplete type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175758 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoUse proper mode for stack save area.
hjl [Fri, 1 Jul 2011 12:57:11 +0000 (12:57 +0000)]
Use proper mode for stack save area.

2011-07-01  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/48016
* explow.c (update_nonlocal_goto_save_area): Use proper mode
for stack save area.
* function.c (expand_function_start): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175756 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config-list.mk (LIST): Append OPT-enable-obsolete to
ro [Fri, 1 Jul 2011 11:27:00 +0000 (11:27 +0000)]
* config-list.mk (LIST): Append OPT-enable-obsolete to
alpha-dec-osf5.1, mips-sgi-irix6.5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175754 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-07-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Jul 2011 11:13:13 +0000 (11:13 +0000)]
2011-07-01  Richard Guenther  <rguenther@suse.de>

PR middle-end/49596
* cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes
may have unknown refs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175753 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-07-01 Kai Tietz <ktietz@redhat.com>
ktietz [Fri, 1 Jul 2011 10:00:25 +0000 (10:00 +0000)]
2011-07-01  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo.

2011-07-01  Kai Tietz  <ktietz@redhat.com>

        * gcc.dg/tree-ssa/bitwise-sink.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175752 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config.gcc: Obsolete alpha*-dec-osf5.1, mips-sgi-irix6.5.
ro [Fri, 1 Jul 2011 09:25:29 +0000 (09:25 +0000)]
* config.gcc: Obsolete alpha*-dec-osf5.1, mips-sgi-irix6.5.
* doc/install.texi (Specific, alpha*-dec-osf5.1): Document it.
(Specific, mips-sgi-irix6): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175751 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago libmudflap:
ro [Fri, 1 Jul 2011 08:59:20 +0000 (08:59 +0000)]
libmudflap:
PR libmudflap/49549
* testsuite/lib/libmudflap.exp (load_gcc_lib): Load
target-supports.exp.
* testsuite/libmudflap.cth/cthfrags.exp: Only pass
--noinhibit-exec to GNU ld.

gcc:
PR libmudflap/49549
* doc/sourcebuild.texi (Effective-Target Keywords): Document gld.

gcc/testsuite:
PR libmudflap/49549
* lib/target-supports.exp (check_effective_target_gld): New proc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175749 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-pretty-print.c (dump_generic_code) <case CONSTRUCTOR>: Print
jakub [Fri, 1 Jul 2011 08:21:09 +0000 (08:21 +0000)]
* tree-pretty-print.c (dump_generic_code) <case CONSTRUCTOR>: Print
[idx]= and [idx1 ... idx2]= before initializers if needed for
array initializers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175748 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-07-01 Chen Liqin <liqin.gcc@gmail.com>
liqin [Fri, 1 Jul 2011 07:51:38 +0000 (07:51 +0000)]
2011-07-01  Chen Liqin  <liqin.gcc@gmail.com>

        * config.gcc (score-*-elf): Remove score7.o.
        * config/score/t-score-elf: Likewise.
        * config/score/score.c: Merge score7 to score.c and remove forwarding functions.
        * config/score/score7.c: Deleted.
        * config/score/score7.h: Deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175747 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-07-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Jul 2011 06:56:18 +0000 (06:56 +0000)]
2011-07-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49603
* tree-vect-stmts.c (vectorizable_load): Remove unnecessary
assert.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175746 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agocorrect changelog
jason [Fri, 1 Jul 2011 00:54:27 +0000 (00:54 +0000)]
correct changelog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175744 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49387
jason [Fri, 1 Jul 2011 00:53:10 +0000 (00:53 +0000)]
PR c++/49387
* rtti.c (get_pseudo_ti_index): Call complete_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175743 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 1 Jul 2011 00:17:43 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175742 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49569
jason [Fri, 1 Jul 2011 00:03:58 +0000 (00:03 +0000)]
PR c++/49569
* method.c (implicitly_declare_fn): Set DECL_PARM_LEVEL and
DECL_PARM_INDEX on rhs parm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175738 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * pt.c (iterative_hash_template_arg): Use cp_tree_operand_length.
jason [Fri, 1 Jul 2011 00:03:43 +0000 (00:03 +0000)]
* pt.c (iterative_hash_template_arg): Use cp_tree_operand_length.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175737 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49355
jason [Fri, 1 Jul 2011 00:03:34 +0000 (00:03 +0000)]
PR c++/49355
* tree.c (stabilize_init): Handle aggregate initialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175736 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-30 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 30 Jun 2011 21:54:29 +0000 (21:54 +0000)]
2011-06-30  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (struct access): Rename total_scalarization to
grp_total_scalarization
(completely_scalarize_var): New function.
(sort_and_splice_var_accesses): Set total_scalarization in the
representative access.
(analyze_access_subtree): Propagate total scalarization accross the
tree, no holes in totally scalarized trees, simplify coverage
computation.
(analyze_all_variable_accesses): Call completely_scalarize_var instead
of completely_scalarize_record.

* testsuite/gcc.dg/tree-ssa/sra-12.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175733 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/48481
jason [Thu, 30 Jun 2011 21:10:03 +0000 (21:10 +0000)]
PR c++/48481
* name-lookup.c (struct arg_lookup): Add fn_set.
(add_function): Check it.
(lookup_arg_dependent_1): Initialize it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175732 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * g++.dg/cpp0x/named.C: Test subobject of xvalue.
jason [Thu, 30 Jun 2011 21:09:55 +0000 (21:09 +0000)]
* g++.dg/cpp0x/named.C: Test subobject of xvalue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175731 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoi386: Always use TARGET_DEEP_BRANCH_PREDICTION.
rth [Thu, 30 Jun 2011 21:08:54 +0000 (21:08 +0000)]
i386: Always use TARGET_DEEP_BRANCH_PREDICTION.

While it could be possible to output_set_got such that we can
individually annotate the instructions, it's simpler to simply
admit that all processors currently being manufactured do want
deep branch prediction.  At which point all of the complication
simply goes away.

        * config/i386/i386.h (X86_TUNE_DEEP_BRANCH_PREDICTION): Remove.
        (TARGET_DEEP_BRANCH_PREDICTION): Remove.
        * config/i386/i386.c: Don't include dwarf2out.h.
        (initial_ix86_tune_features): Remove X86_TUNE_DEEP_BRANCH_PREDICTION.
        (output_set_got): Don't test TARGET_DEEP_BRANCH_PREDICTION, delete
        all code dead thereafter.  Don't do dwarf2out_flush_queued_reg_saves.
        (ix86_expand_prologue): Set REG_CFA_FLUSH_QUEUE on set_got insn.
        (machopic_output_stub): Don't test TARGET_DEEP_BRANCH_PREDICTION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175730 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agodwarf2out: Add REG_CFA_FLUSH_QUEUE.
rth [Thu, 30 Jun 2011 21:04:23 +0000 (21:04 +0000)]
dwarf2out: Add REG_CFA_FLUSH_QUEUE.

        * reg-notes.def (REG_CFA_FLUSH_QUEUE): New.
        * dwarf2out.c (dwarf2out_frame_debug): Handle it.
        * final.c (final_scan_insn): Look for it, and invoke
        dwarf2out_frame_debug before the insn if found.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175729 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agodwarf2out: Handle pc_rtx as return column in REG_CFA_OFFSET too.
rth [Thu, 30 Jun 2011 21:01:06 +0000 (21:01 +0000)]
dwarf2out: Handle pc_rtx as return column in REG_CFA_OFFSET too.

        * dwarf2out.c (dwarf2out_frame_debug_cfa_offset): Allow PC_RTX
        as a source, and interpret that as DWARF_FRAME_RETURN_COLUMN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175728 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agodwarf2out: Convert regs_saved_in_regs to VEC.
rth [Thu, 30 Jun 2011 20:59:41 +0000 (20:59 +0000)]
dwarf2out: Convert regs_saved_in_regs to VEC.

        * dwarf2out.c (struct reg_saved_in_data): Provide a typedef.
        Define a vector of this type.
        (regs_saved_in_regs): Use a VEC.
        (num_regs_saved_in_regs): Remove.
        (compare_reg_or_pc): New.
        (record_reg_saved_in_reg): Split out from...
        (dwarf2out_flush_queued_reg_saves): ... here.
        (clobbers_queued_reg_save): Update for VEC.
        (reg_saved_in): Likewise.
        (dwarf2out_frame_debug_init): Likewise.
        (dwarf2out_reg_save_reg): Use record_reg_saved_in_reg.
        (dwarf2out_frame_debug_cfa_register): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175727 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/49572
ebotcazou [Thu, 30 Jun 2011 19:32:23 +0000 (19:32 +0000)]
PR tree-optimization/49572
* tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the
type of the RHS instead of that of the LHS for the expression type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175721 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro
ebotcazou [Thu, 30 Jun 2011 17:56:50 +0000 (17:56 +0000)]
* df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro
unconditionally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175718 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-30 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 30 Jun 2011 14:03:25 +0000 (14:03 +0000)]
2011-06-30  Richard Guenther  <rguenther@suse.de>

* opts.c (finish_options): Do not disable IPA-PTA during ltrans.
* tree-ssa-structalias.c (create_variable_info_for): Do not
add initial constraints for non-var-decls.  Properly handle
globals in other ltrans partitions.
(intra_create_variable_infos): Manually create constraints for
the fake no-alias parameter.
(ipa_pta_execute): Dump the cgraph, handle ltrans partitions properly
and assert there are no clones.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175707 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-30 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 30 Jun 2011 13:27:43 +0000 (13:27 +0000)]
2011-06-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46787
* tree-data-ref.c (dr_address_invariant_p): Remove.
(find_data_references_in_stmt): Invariant accesses are ok now.
* tree-vect-stmts.c (vectorizable_load): Handle invariant
loads.
* tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow
invariant loads.

* gcc.dg/vect/vect-121.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175704 138bc75d-0d04-0410-961f-82ee72b054a4

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

PR tree-optimization/49094
* tree-sra.c (tree_non_mode_aligned_mem_p): New function.
(build_accesses_from_assign): Use it.

* testsuite/gcc.dg/tree-ssa/pr49094.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175703 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175698 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix
jakub [Thu, 30 Jun 2011 10:43:59 +0000 (10:43 +0000)]
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix
handling of BUILT_IN_ASSUME_ALIGNED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175695 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR debug/49364
jakub [Thu, 30 Jun 2011 10:26:32 +0000 (10:26 +0000)]
PR debug/49364
* dwarf2out.c (output_abbrev_section): Don't return early
if abbrev_die_table_in_use is 1.
(dwarf2out_finish): Instead don't call output_abbrev_section
nor emit abbrev_section_label in that case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175694 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR fortran/49540
jakub [Thu, 30 Jun 2011 10:25:40 +0000 (10:25 +0000)]
PR fortran/49540
* gfortran.h (gfc_constructor): Add repeat field.
* trans-array.c (gfc_conv_array_initializer): Handle repeat > 1.
* array.c (current_expand): Add repeat field.
(expand_constructor): Copy repeat.
* constructor.c (node_free, node_copy, gfc_constructor_get,
gfc_constructor_lookup): Handle repeat field.
(gfc_constructor_lookup_next, gfc_constructor_remove): New functions.
* data.h (gfc_assign_data_value): Add mpz_t * argument.
(gfc_assign_data_value_range): Removed.
* constructor.h (gfc_constructor_advance): Removed.
(gfc_constructor_lookup_next, gfc_constructor_remove): New prototypes.
* data.c (gfc_assign_data_value): Add REPEAT argument, handle it and
also handle overwriting a range with a single entry.
(gfc_assign_data_value_range): Removed.
* resolve.c (check_data_variable): Adjust gfc_assign_data_value
call.  Use gfc_assign_data_value instead of
gfc_assign_data_value_expr.

* gfortran.dg/pr49540-1.f90: New test.
* gfortran.dg/pr49540-2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175693 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR ada/49511
ro [Thu, 30 Jun 2011 10:04:52 +0000 (10:04 +0000)]
PR ada/49511
* ada/acats/run_acats (which): Use last field of type -p output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175690 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-28 Dominique d'Humieres <dominiq@lps.ens.fr>
ro [Thu, 30 Jun 2011 10:02:45 +0000 (10:02 +0000)]
2011-06-28  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Iain Sandoe  <iains@gcc.gnu.org>

PR libobjc/36610
* objc.dg/torture/forward-1.m: Remove dg-xfail-run-if.
Only skip on 64-bit *-*-darwin8* && !objc2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175689 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling
nickc [Thu, 30 Jun 2011 09:13:49 +0000 (09:13 +0000)]
* config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling
for the V850E.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175688 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-30 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 30 Jun 2011 08:44:18 +0000 (08:44 +0000)]
2011-06-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38752
* gcc.c-torture/compile/pr38752.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175684 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix
jakub [Thu, 30 Jun 2011 08:06:01 +0000 (08:06 +0000)]
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix
handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175682 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-vect-loop.c (vect_determine_vectorization_factor): Handle
irar [Thu, 30 Jun 2011 06:37:41 +0000 (06:37 +0000)]
    * tree-vect-loop.c (vect_determine_vectorization_factor): Handle
        both pattern and original statements if necessary.
        (vect_transform_loop): Likewise.
        * tree-vect-patterns.c (vect_pattern_recog): Update documentation.
        * tree-vect-stmts.c (vect_mark_relevant): Add new argument.
        Mark the pattern statement only if the original statement doesn't
        have its own uses.
        (process_use): Call vect_mark_relevant with additional parameter.
        (vect_mark_stmts_to_be_vectorized): Likewise.
        (vect_get_vec_def_for_operand): Use vectorized pattern statement.
        (vect_analyze_stmt): Handle both pattern and original statements
        if necessary.
        (vect_transform_stmt): Don't store vectorized pattern statement
        in the original statement.
        (vect_is_simple_use_1): Use related pattern statement only if the
        original statement is irrelevant.
        * tree-vect-slp.c (vect_get_and_check_slp_defs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175681 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175678 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49216
jason [Wed, 29 Jun 2011 22:28:15 +0000 (22:28 +0000)]
PR c++/49216
* init.c (build_new_1): Pass {} down to build_vec_init.
(build_vec_init): Handle it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175674 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago DR 1207
jason [Wed, 29 Jun 2011 21:19:31 +0000 (21:19 +0000)]
DR 1207
PR c++/49003
* cp-tree.h (struct saved_scope): Add x_current_class_ptr,
x_current_class_ref.
(current_class_ptr, current_class_ref): Use them.
* decl.c (build_this_parm): Handle getting the class type.
* parser.c (cp_parser_late_return_type_opt): Set up 'this'
for use within the trailing return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175671 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * pt.c (tsubst_decl) [VAR_DECL]: In unevaluated operand,
jason [Wed, 29 Jun 2011 21:19:22 +0000 (21:19 +0000)]
* pt.c (tsubst_decl) [VAR_DECL]: In unevaluated operand,
don't tsubst DECL_INITIAL unless our type use auto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175670 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-29 François Dumont <francois.cppdevs@free.fr>
fdumont [Wed, 29 Jun 2011 20:11:50 +0000 (20:11 +0000)]
2011-06-29  François Dumont  <francois.cppdevs@free.fr>

* include/debug/set.h, unordered_map, multiset.h, forward_list,
unordered_set, vector, deque, string, list, multimap.h: Remove base
class default constructor calls.
* include/debug/map.h: Likewise and cleanup several redefinition of
base iterator typedef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175665 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoAuto-vectorizer generates 128-bit AVX insns by default for bdver1.
cfang [Wed, 29 Jun 2011 17:53:49 +0000 (17:53 +0000)]
Auto-vectorizer generates 128-bit AVX insns by default for bdver1.

* config/i386/i386.opt (mprefer-avx128): Redefine the flag as a Mask option.
* config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_AVX128_OPTIMAL entry.
(TARGET_AVX128_OPTIMAL): New definition.
* config/i386/i386.c (initial_ix86_tune_features): Initialize
X86_TUNE_AVX128_OPTIMAL entry.
(ix86_option_override_internal): Enable the generation
of the 128-bit instructions when TARGET_AVX128_OPTIMAL is set.
(ix86_preferred_simd_mode): Use TARGET_PREFER_AVX128.
(ix86_autovectorize_vector_sizes): Use TARGET_PREFER_AVX128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175661 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49272
jason [Wed, 29 Jun 2011 17:38:53 +0000 (17:38 +0000)]
PR c++/49272
* g++.old-deja/g++.jason/rfg10.C: Accept other overflow error too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175659 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49520
jason [Wed, 29 Jun 2011 17:15:16 +0000 (17:15 +0000)]
PR c++/49520
* semantics.c (constexpr_fn_retval): Handle CLEANUP_POINT_EXPR here.
(massage_constexpr_body): Not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175658 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/49554
jason [Wed, 29 Jun 2011 17:15:06 +0000 (17:15 +0000)]
PR c++/49554
* semantics.c (lambda_proxy_type): New.
(build_capture_proxy): Use it.
* cp-tree.h (DECLTYPE_FOR_LAMBDA_PROXY): New.
* pt.c (tsubst) [DECLTYPE_TYPE]: Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175657 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-optimization/49114
uweigand [Wed, 29 Jun 2011 16:19:08 +0000 (16:19 +0000)]
PR rtl-optimization/49114
* reload.c (push_reload): Define in_subreg_loc and out_subreg_loc
only if LIMIT_RELOAD_CLASS to avoid -Werror build breaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175652 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/49539
ebotcazou [Wed, 29 Jun 2011 16:02:56 +0000 (16:02 +0000)]
PR tree-optimization/49539
* tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA
names by means of stmt_references_abnormal_ssa_name.
(associate_plusminus): Call can_propagate_from before propagating
from definition statements.
(ssa_forward_propagate_and_combine): Remove superfluous newline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175650 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/45923
jason [Wed, 29 Jun 2011 14:34:58 +0000 (14:34 +0000)]
PR c++/45923
* class.c (explain_non_literal_class): New.
(finalize_literal_type_property): Call it.
* cp-tree.h: Declare it.
* semantics.c (ensure_literal_type_for_constexpr_object): Call it.
(is_valid_constexpr_fn): Likewise.
(massage_constexpr_body): Split out from...
(register_constexpr_fundef): ...here.
(is_instantiation_of_constexpr): New.
(expand_or_defer_fn_1): Leave DECL_SAVED_TREE alone in that case.
(explain_invalid_constexpr_fn): New.
(cxx_eval_call_expression): Call it.
(potential_constant_expression_1): Likewise.  Avoid redundant errors.
* method.c (process_subob_fn): Diagnose non-constexpr.
(walk_field_subobs): Likewise.
(synthesized_method_walk): Don't shortcut if we want diagnostics.
(explain_implicit_non_constexpr): New.
(defaulted_late_check): Use it.
* call.c (build_cxx_call): Remember location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175646 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * method.c (maybe_explain_implicit_delete): Use pointer_set
jason [Wed, 29 Jun 2011 14:34:47 +0000 (14:34 +0000)]
* method.c (maybe_explain_implicit_delete): Use pointer_set
instead of htab.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175645 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * class.c (finalize_literal_type_property): Update conditions.
jason [Wed, 29 Jun 2011 14:34:39 +0000 (14:34 +0000)]
* class.c (finalize_literal_type_property): Update conditions.
* method.c (defaulted_late_check): Set TYPE_HAS_CONSTEXPR_CTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175644 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree.c (build_vec_init_expr): Don't add TARGET_EXPR.
jason [Wed, 29 Jun 2011 14:34:22 +0000 (14:34 +0000)]
* tree.c (build_vec_init_expr): Don't add TARGET_EXPR.
* typeck2.c (digest_init_r): Handle VEC_INIT_EXPR.
* semantics.c (cxx_eval_vec_init_1): Correct type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175643 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-29 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 29 Jun 2011 14:29:22 +0000 (14:29 +0000)]
2011-06-29  Richard Guenther  <rguenther@suse.de>

* doc/invoke.texi: Document -scev dump modifier.
* tree-pass.h (TDF_SCEV): New dump flag.
* tree-dump.c (dump_option_value_in): Add scev.
* tree-chrec.c: Replace all TDF_DETAILS checks with TDF_SCEV.
* tree-scalar-evolution.c: Likewise.

* gcc.dg/tree-ssa/loop-17.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175642 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago gcc/
nathan [Wed, 29 Jun 2011 14:18:48 +0000 (14:18 +0000)]
gcc/
* config/arm/unwind-arm.c (enum __cxa_type_match_result): New.
(cxa_type_match): Correct declaration.
(__gnu_unwind_pr_common): Reconstruct
additional indirection when __cxa_type_match returns
succeeded_with_ptr_to_base.

libstdc++/
* libsupc++/eh_arm.c (__cxa_type_match): Construct address of
thrown object here.  Return succeded_with_ptr_to_base for all
pointer cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175641 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * init.c (build_value_init): Decide whether or not to zero-initialize
jason [Wed, 29 Jun 2011 14:09:03 +0000 (14:09 +0000)]
* init.c (build_value_init): Decide whether or not to zero-initialize
based on user-providedness of default ctor, not any ctor.
(build_value_init_noctor): Adjust assert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175640 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago DR 990
jason [Wed, 29 Jun 2011 14:08:55 +0000 (14:08 +0000)]
DR 990
* call.c (convert_like_real) [ck_user]: Handle value-initialization.
(build_new_method_call_1): Likewise.
* init.c (expand_default_init): Handle direct list-initialization
of aggregates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175639 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * testsuite/libffi.call/cls_double_va.c: Move PR number to comment.
ro [Wed, 29 Jun 2011 12:47:56 +0000 (12:47 +0000)]
* testsuite/libffi.call/cls_double_va.c: Move PR number to comment.
* testsuite/libffi.call/cls_longdouble_va.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175632 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-optimization/49114
uweigand [Wed, 29 Jun 2011 12:15:08 +0000 (12:15 +0000)]
PR rtl-optimization/49114
* reload.c (struct replacement): Remove SUBREG_LOC member.
(push_reload): Do not set it.
(push_replacement): Likewise.
(subst_reload): Remove dead code.
(copy_replacements): Remove assertion.
(copy_replacements_1): Do not handle SUBREG_LOC.
(move_replacements): Likewise.
(find_replacement): Remove dead code.  Use reload_adjust_reg_for_mode.
Detect subregs via recursive descent instead of via SUBREG_LOC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175631 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/avr/avr.c (avr_encode_section_info): Dispatch to
gjl [Wed, 29 Jun 2011 11:20:06 +0000 (11:20 +0000)]
* config/avr/avr.c (avr_encode_section_info): Dispatch to
default_encode_section_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175630 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/avr/avr.c (avr_encode_section_info): Dispatch to
gjl [Wed, 29 Jun 2011 11:17:50 +0000 (11:17 +0000)]
* config/avr/avr.c (avr_encode_section_info): Dispatch to
default_encode_section_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175629 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * MAINTAINERS (RTL optimizers): Add self.
rsandifo [Wed, 29 Jun 2011 10:05:43 +0000 (10:05 +0000)]
* MAINTAINERS (RTL optimizers): Add self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175628 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/
rsandifo [Wed, 29 Jun 2011 09:42:42 +0000 (09:42 +0000)]
gcc/
PR tree-optimization/49545
* builtins.c (get_object_alignment_1): Update function comment.
Do not use DECL_ALIGN for functions, but test
TARGET_PTRMEMFUNC_VBIT_LOCATION instead.
* fold-const.c (get_pointer_modulus_and_residue): Don't check
for functions here.
* tree-ssa-ccp.c (get_value_from_alignment): Likewise.

gcc/testsuite/
* gcc.dg/torture/pr49169.c: Restrict to ARM and MIPS targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175627 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc.dg/inline_1.c: Remove dg-excess-errors.
ro [Wed, 29 Jun 2011 08:32:02 +0000 (08:32 +0000)]
* gcc.dg/inline_1.c: Remove dg-excess-errors.
* gcc.dg/inline_2.c: Likewise.
* gcc.dg/unroll_1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175625 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc-interface/Makefile.in (TOOLS_LIBS): Add $(LIBINTL).
ro [Wed, 29 Jun 2011 08:24:13 +0000 (08:24 +0000)]
* gcc-interface/Makefile.in (TOOLS_LIBS): Add $(LIBINTL).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175624 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR libgcj/49451
ro [Wed, 29 Jun 2011 08:19:08 +0000 (08:19 +0000)]
PR libgcj/49451
* include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
(ELF_CLASS): Define.
* dyn_load.c [IRIX5]: Include <elf.h>.
Include <obj.h> for O32, <objlist.h> for N32, N64.
[SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
[SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
[IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
(__rld_obj_head): Declare.
(l_next, l_addr, obj_offset): Define.
(GC_FirstDLOpenedLinkMap): New function.
[SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
IRIX5.
Use obj_offset.
[IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
(GC_register_dynamic_libraries): Don't use /proc version on IRIX5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175623 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR debug/49567
jakub [Wed, 29 Jun 2011 08:15:00 +0000 (08:15 +0000)]
PR debug/49567
* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up
for non-MODE_INT modes instead of asserting the mode has MODE_INT
class.

* gcc.target/i386/pr49567.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175622 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/34734
gjl [Wed, 29 Jun 2011 07:57:25 +0000 (07:57 +0000)]
PR target/34734
* config/avr/avr.c (avr_handle_progmem_attribute): Move warning
about uninitialized data attributed 'progmem' from here...
(avr_encode_section_info): ...to this new function.
(TARGET_ENCODE_SECTION_INFO): New define.
(avr_section_type_flags): For data in ".progmem.data", remove
section flag SECTION_WRITE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175621 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3,
gjl [Wed, 29 Jun 2011 07:52:56 +0000 (07:52 +0000)]
* config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3,
_xmulhisi3_exit.
* config/avr/libgcc.S (_xmulhisi3_exit): New Function.
(__mulhisi3): Optimize if have MUL*.  Use XJMP instead of rjmp.
(__umulhisi3): Ditto.
* config/avr/avr.md (mulhisi3): New insn expender.
(umulhisi3): New insn expender.
(*mulhisi3_call): New insn.
(*umulhisi3_call): New insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175620 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR libffi/46660
ro [Wed, 29 Jun 2011 07:31:05 +0000 (07:31 +0000)]
PR libffi/46660
* testsuite/libffi.call/cls_double_va.c: xfail dg-output on
mips-sgi-irix6*.
* testsuite/libffi.call/cls_longdouble_va.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175618 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175616 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED.
jsm28 [Tue, 28 Jun 2011 22:54:42 +0000 (22:54 +0000)]
* Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175607 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoarm: Clean out dead code from thumb_pushpop.
rth [Tue, 28 Jun 2011 22:25:59 +0000 (22:25 +0000)]
arm: Clean out dead code from thumb_pushpop.

Renaming to thumb_pop at the same time.  The important part
of this is removing the text-based dwarf2out calls.

        * config/arm/arm.c (thumb_pop): Rename from thumb_pushpop.  Delete
        all code and arguments that handled pushes.  Update all callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175606 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoarm: Convert thumb1 prologue to rtl.
rth [Tue, 28 Jun 2011 22:25:52 +0000 (22:25 +0000)]
arm: Convert thumb1 prologue to rtl.

* config/arm/arm.c (arm_output_function_prologue): Don't call
thumb1_output_function_prologue.
(arm_expand_prologue): Avoid dead store.
(number_of_first_bit_set): Use ctz_hwi.
(thumb1_emit_multi_reg_push): New.
(thumb1_expand_prologue): Merge thumb1_output_function_prologue
to emit the entire prologue as rtl.
(thumb1_output_interwork): Split out from
thumb1_output_function_prologue.
(thumb1_output_function_prologue): Remove.
(arm_attr_length_push_multi): Handle thumb1.
* config/arm/arm.md (VUNSPEC_THUMB1_INTERWORK): New.
(prologue_thumb1_interwork): New.
(*push_multi): Allow thumb1; use push_mult_memory_operand.
* config/arm/predicates.md (push_mult_memory_operand): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175605 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/sparc/sync.md (*stbar): Delete.
ebotcazou [Tue, 28 Jun 2011 22:03:44 +0000 (22:03 +0000)]
* config/sparc/sync.md (*stbar): Delete.
(*membar_v8): New insn to implement UNSPEC_MEMBAR in SPARC-V8.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175604 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-ssa-dom.c (initialize_hash_element): Fix oversight.
ebotcazou [Tue, 28 Jun 2011 21:50:06 +0000 (21:50 +0000)]
* tree-ssa-dom.c (initialize_hash_element): Fix oversight.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175600 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoRemove gcc.target/arm/ivopts-6.c, didn't happen with patch.
janis [Tue, 28 Jun 2011 19:36:45 +0000 (19:36 +0000)]
Remove gcc.target/arm/ivopts-6.c, didn't happen with patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175597 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-28 Janis Johnson <janisjo@codesourcery.com>
janis [Tue, 28 Jun 2011 19:33:06 +0000 (19:33 +0000)]
2011-06-28  Janis Johnson  <janisjo@codesourcery.com>
    Tom de Vries  <tom@codesourcery.com>

* lib/target-supports.exp (check_effective_target_arm_nothumb)
(check_effective_target_arm_thumb2): New effective targets.
* gcc.target/arm/ivopts.c: Remove -mthumb/-marm.  Guard object-size
properly.  Clean up temporary files.
* gcc.target/arm/ivopts-2.c: Likewise.
* gcc.target/arm/ivopts-3.c: Likewise.
* gcc.target/arm/ivopts-4.c: Likewise.
* gcc.target/arm/ivopts-5.c: Likewise.
* gcc.target/arm/ivopts-6.c: Remove duplicate of ivopts.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175596 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-28 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Tue, 28 Jun 2011 18:59:04 +0000 (18:59 +0000)]
2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/49479
* m4/reshape.m4: If source allocation is smaller than one, set it
to one.
* intrinsics/reshape_generic.c:  Likewise.
* generated/reshape_r16.c: Regenerated.
* generated/reshape_c4.c: Regenerated.
* generated/reshape_c16.c: Regenerated.
* generated/reshape_c8.c: Regenerated.
* generated/reshape_r4.c: Regenerated.
* generated/reshape_i4.c: Regenerated.
* generated/reshape_r10.c: Regenerated.
* generated/reshape_r8.c: Regenerated.
* generated/reshape_c10.c: Regenerated.
* generated/reshape_i8.c: Regenerated.
* generated/reshape_i16.c: Regenerated.

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

PR fortran/49479
* gfortran.dg/reshape_zerosize_3.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175594 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/sparc/sol2-64.h (TARGET_DEFAULT): Remove.
ro [Tue, 28 Jun 2011 17:50:50 +0000 (17:50 +0000)]
* config/sparc/sol2-64.h (TARGET_DEFAULT): Remove.
(TARGET_64BIT_DEFAULT): Define.
* config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front
of tm_file.
* config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175593 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * common.opt (in_lto_p): New Variable entry.
jsm28 [Tue, 28 Jun 2011 17:00:59 +0000 (17:00 +0000)]
* common.opt (in_lto_p): New Variable entry.
* flags.h (in_lto_p): Move to common.opt.
* gcc.c: Include params.h.
(set_option_handlers): Also use common_handle_option and
target_handle_option.
(main): Call global_init_params, finish_params and
init_options_struct.
* opts.c (debug_type_names): Move from toplev.c.
(print_filtered_help): Access quiet_flag through opts pointer.
(common_handle_option): Return early in the driver for some
options.  Access in_lto_p, dwarf_version and
warn_maybe_uninitialized through opts pointer.
* toplev.c (in_lto_p): Move to common.opt.
(debug_type_names): Move to opts.c.
* Makefile.in (OBJS): Remove opts.o.
(OBJS-libcommon-target): Add opts.o.
(gcc.o): Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175591 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc.target/arm/vfp-ldmdbs.c: Skip for soft float.
janis [Tue, 28 Jun 2011 16:17:03 +0000 (16:17 +0000)]
* gcc.target/arm/vfp-ldmdbs.c: Skip for soft float.
* gcc.target/arm/vfp-ldmias.c: Likewise.
* gcc.target/arm/vfp-ldmdbd.c: Likewise.
* gcc.target/arm/vfp-stmdbs.c: Likewise.
* gcc.target/arm/vfp-ldmiad.c: Likewise.
* gcc.target/arm/vfp-stmias.c: Likewise.
* gcc.target/arm/vfp-stmdbd.c: Likewise.
* gcc.target/arm/vfp-stmiad.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175590 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-28 Kai Tietz <ktietz@redhat.com>
ktietz [Tue, 28 Jun 2011 15:32:47 +0000 (15:32 +0000)]
2011-06-28  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-forwprop.c (simplify_bitwise_binary): Improve
        type sinking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175589 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix constraints.
ramana [Tue, 28 Jun 2011 14:54:58 +0000 (14:54 +0000)]
Fix constraints.

2011-06-28  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

       * config/arm/vfp.md ("*divsf3_vfp"): Replace '+' constraint modifier
       with '=' constraint modifier.
       (*divdf3_vfp): Likewise.
       ("*mulsf3_vfp"): Likewise.
       ("*muldf3_vfp"): Likewise.
       ("*mulsf3negsf_vfp"): Likewise.
       ("*muldf3negdf_vfp"): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175588 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/mn10300/mn10300.h (LINK_SPEC): Do not use linker
nickc [Tue, 28 Jun 2011 13:59:28 +0000 (13:59 +0000)]
* config/mn10300/mn10300.h (LINK_SPEC): Do not use linker
relaxation when performing an incremental link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175584 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-28 Kai Tietz <ktietz@redhat.com>
ktietz [Tue, 28 Jun 2011 10:36:48 +0000 (10:36 +0000)]
2011-06-28  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-math-opts.c (execute_optimize_bswap): Search
        within BB from last to first.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175580 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * genattr-common.c: New. Based on genattr.c.
jsm28 [Tue, 28 Jun 2011 10:28:09 +0000 (10:28 +0000)]
* genattr-common.c: New.  Based on genattr.c.
* Makefile.in (INSN_ATTR_H): Include insn-attr-common.h.
(MOSTLYCLEANFILES): Add insn-attr-common.h.
(opts.o): Update dependencies.
(.PRECIOUS): Add insn-attr-common.h.
(simple_rtl_generated_h): Add insn-attr-common.h.
(build/genattr-common.o): New.
(genprogrtl): Add attr-common.
* genattr.c (main): Include insn-attr-common.h.  Don't generate
definitions of DELAY_SLOTS or INSN_SCHEDULING.
* opts.c: Include insn-attr-common.h instead of rtl.h and
insn-attr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175579 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoRevert spurious change to mn10300_get_live_callee_saved_regs
nickc [Tue, 28 Jun 2011 08:50:45 +0000 (08:50 +0000)]
Revert spurious change to mn10300_get_live_callee_saved_regs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175577 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config.host: Recognize all V850 variants.
nickc [Tue, 28 Jun 2011 08:49:18 +0000 (08:49 +0000)]
* config.host: Recognize all V850 variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175576 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config.gcc (tm_file): Add elfos.h and avr/elf.h for
gjl [Tue, 28 Jun 2011 07:26:09 +0000 (07:26 +0000)]
* config.gcc (tm_file): Add elfos.h and avr/elf.h for
avr-*-* and avr-*-rtems* targets.
* config/avr/elf.h: New file.
(ASM_OUTPUT_BEFORE_CASE_LABEL): Define.
(TARGET_ASM_SELECT_SECTION): Define.
(INIT_SECTION_ASM_OP): Undefine.
(FINI_SECTION_ASM_OP): Undefine.
(READONLY_DATA_SECTION_ASM_OP): Undefine.
(PCC_BITFIELD_TYPE_MATTERS): Undefine.
(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine.
* config/avr/avr.h:
(PREFERRED_DEBUGGING_TYPE): Move to elf.h.
(TARGET_ASM_NAMED_SECTION): Move to elf.h.
(MAX_OFILE_ALIGNMENT): Move to elf.h.
(STRING_LIMIT): Move to elf.h.
(ASM_DECLARE_FUNCTION_NAME): Move to elf.h.
(ASM_DECLARE_OBJECT_NAME): Remove.
(ESCAPES): Remove.
(ASM_OUTPUT_SKIP): Remove.
(DWARF2_DEBUGGING_INFO): Remove.
(OBJECT_FORMAT_ELF): Remove.
(USER_LABEL_PREFIX): Remove.
(ASM_OUTPUT_EXTERNAL): Remove.
(ASM_OUTPUT_ASCII): Remove.
(TYPE_ASM_OP): Remove.
(SIZE_ASM_OP): Remove.
(WEAK_ASM_OP): Remove.
(STRING_ASM_OP): Remove.
(SET_ASM_OP): Remove.
(ASM_WEAKEN_LABEL): Remove.
(TYPE_OPERAND_FMT): Remove.
(ASM_DECLARE_FUNCTION_SIZE): Remove.
(ASM_FINISH_DECLARE_OBJECT): Remove.
(NO_DOLLAR_IN_LABEL): Remove.
(ASM_GENERATE_INTERNAL_LABEL): Remove.
(ASM_OUTPUT_CASE_LABEL): Remove.
* config/avr/avr.c (avr_asm_output_aligned_decl_common): Use
ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON.
(gas_output_ascii): Remove.
(gas_output_limited_string): Remove.
(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove.
* config/avr/avr-protos.h
(gas_output_ascii): Remove prototye.
(gas_output_limited_string): Remove prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175575 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc.target/arm/pr45701-1.c: Don't specify -march; remove
janis [Tue, 28 Jun 2011 01:37:28 +0000 (01:37 +0000)]
* gcc.target/arm/pr45701-1.c: Don't specify -march; remove
dg-prune-output.
* gcc.target/arm/pr45701-2.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175573 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175572 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2011-06-27 Gabriel Charette <gchare@google.com>
gchare [Mon, 27 Jun 2011 21:53:37 +0000 (21:53 +0000)]
2011-06-27  Gabriel Charette  <gchare@google.com>

* MAINTAINERS (Write After Approval): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175567 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/48637
rearnsha [Mon, 27 Jun 2011 21:09:25 +0000 (21:09 +0000)]
PR target/48637
* arm.c (arm_print_operand): Allow sym+offset.  Don't abort on invalid
asm operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175565 138bc75d-0d04-0410-961f-82ee72b054a4

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

PR fortran/49466
* trans-array.c (structure_alloc_comps): Make sure sub-components
and extended types are correctly deallocated.

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

PR fortran/49466
* gfortran.dg/allocatable_scalar_9.f90: Modified.
* gfortran.dg/extends_14.f03: Modified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175563 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * de.po: Update.
jsm28 [Mon, 27 Jun 2011 20:56:40 +0000 (20:56 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175561 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of node
hubicka [Mon, 27 Jun 2011 20:01:44 +0000 (20:01 +0000)]
* ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of node
instead of references in node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175555 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix alpha and ia64 non-vms build.
rth [Mon, 27 Jun 2011 19:57:09 +0000 (19:57 +0000)]
Fix alpha and ia64 non-vms build.

        * config/alpha/alpha.c (vms_patch_builtins): Provide dummy definition.
        * config/ia64/ia64.c (ia64_init_builtins): Call vms_patch_builtins
        inside ifdef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175554 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * lib/target-supports-dg.exp (dg-require-effective-target): Return
janis [Mon, 27 Jun 2011 18:40:18 +0000 (18:40 +0000)]
* lib/target-supports-dg.exp (dg-require-effective-target): Return
early if the test is already being skipped.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175547 138bc75d-0d04-0410-961f-82ee72b054a4