aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25re PR fortran/47448 (Invalid check for ASSIGNMENT(=))Tobias Burnus4-2/+82
2011-01-25 Tobias Burnus <burnus@net-b.de> PR fortran/47448 * interface.c (gfc_check_operator_interface): Fix defined-assignment check. 2011-01-25 Tobias Burnus <burnus@net-b.de> PR fortran/47448 * gfortran.dg/redefined_intrinsic_assignment_2.f90: New. From-SVN: r169228
2011-01-25re PR tree-optimization/47427 (ICE in process_constraint, at ↵Jakub Jelinek5-2/+98
tree-ssa-structalias.c:2901) PR tree-optimization/47427 PR tree-optimization/47428 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't coalesce if the new root var would be TREE_READONLY. * gcc.c-torture/compile/pr47427.c: New test. * gcc.c-torture/compile/pr47428.c: New test. From-SVN: r169226
2011-01-25re PR tree-optimization/47411 (Bootstrap failure on x86-64/Darwin)Richard Guenther2-0/+47
2011-01-25 Richard Guenther <rguenther@suse.de> PR middle-end/47411 * gcc.dg/torture/pr47411.c: New testcase. From-SVN: r169225
2011-01-25re PR rtl-optimization/47414 (wrong code with -O -freorder-blocks ↵Richard Guenther2-1/+8
-fschedule-insns2 -fno-early-inlining -fstrict-aliasing -ftracer) 2011-01-25 Richard Guenther <rguenther@suse.de> PR middle-end/47414 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the correct type for TBAA. From-SVN: r169223
2011-01-25Do not use a data ref with indices invalid in the loop of the close_phi.Sebastian Pop6-8/+95
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. (close_phi_written_to_memory): Call for_each_index with dr_indices_valid_in_loop. * gfortran.dg/graphite/id-24.f: New. * gfortran.dg/graphite/id-25.f: New. From-SVN: r169220
2011-01-25Only copy PBB_DOMAIN when it is initialized.Sebastian Pop5-3/+34
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN when it is initialized. * gfortran.dg/graphite/id-23.f: New. From-SVN: r169219
2011-01-25Pass to dr_analyze_indices the analysis loop for subscripts.Sebastian Pop7-25/+115
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update call to graphite_find_data_references_in_stmt. * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update call to graphite_find_data_references_in_stmt. (analyze_drs_in_stmts): Same. * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop in which the scalar analysis of indices is performed. (create_data_ref): Same. Update call to dr_analyze_indices. (find_data_references_in_stmt): Update call to create_data_ref. (graphite_find_data_references_in_stmt): Same. * tree-data-ref.h (graphite_find_data_references_in_stmt): Update declaration. (create_data_ref): Same. * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update call to create_data_ref. From-SVN: r169218
2011-01-25Move rewrite_commutative_reductions_out_of_ssa before find_scop_parameters.Sebastian Pop3-2/+15
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (build_poly_scop): Move rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. From-SVN: r169217
2011-01-25Patch not merged, update ChangeLog.graphite.Sebastian Pop1-0/+30
From-SVN: r169216
2011-01-25Patch not merged, update ChangeLog.graphite.Sebastian Pop1-0/+107
From-SVN: r169214
2011-01-25Do not create the temporary array for reductions into VAR_DECL, PARM_DECL, ↵Sebastian Pop5-2/+21
and RESULT_DECL. 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow VAR_DECL, PARM_DECL, and RESULT_DECL. * gfortran.dg/graphite/interchange-3.f90: Un-XFAILed. From-SVN: r169213
2011-01-25Allow several reductions in a reduction PBB.Sebastian Pop4-4/+21
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (reduction_dr_1): Allow several reductions in a reduction PBB. * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs that have already been marked as PBB_IS_REDUCTION. From-SVN: r169212
2011-01-25Remove duplicate close phi nodes in the canonical close phi representation.Sebastian Pop3-1/+82
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-scop-detection.c (same_close_phi_node): New. (remove_duplicate_close_phi): New. (make_close_phi_nodes_unique): New. (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. From-SVN: r169211
2011-01-25Relax the definition of same_pdr_p.Sebastian Pop4-4/+14
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE of both data references to be the same. From-SVN: r169210
2011-01-25Pass 0 as the number of parameters to PIP when testing for integer feasibility.Sebastian Pop5-30/+34
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_lexicographical_constraint): Remove the gdim parameter. (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty. (dependence_polyhedron): Same. (graphite_legal_transform_dr): Same. (graphite_carried_dependence_level_k): Same. * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter. * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. From-SVN: r169209
2011-01-25Remove the temporary array for reductions written to memory.Sebastian Pop13-24/+89
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. (close_phi_written_to_memory): New. (translate_scalar_reduction_to_array): Call close_phi_written_to_memory and unshare_expr. * gcc.dg/graphite/block-0.c: Un-XFAILed. * gcc.dg/graphite/block-1.c: Un-XFAILed. * gcc.dg/graphite/block-7.c: Un-XFAILed. * gcc.dg/graphite/block-8.c: Un-XFAILed. * gcc.dg/graphite/interchange-12.c: Un-XFAILed. * gcc.dg/graphite/interchange-14.c: Un-XFAILed. * gcc.dg/graphite/interchange-15.c: Un-XFAILed. * gcc.dg/graphite/interchange-8.c: Un-XFAILed. * gcc.dg/graphite/interchange-mvt.c: Un-XFAILed. From-SVN: r169208
2011-01-25Expect at least the version 0.11 of PPL.Sebastian Pop4-11/+13
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> toplev/ * configure: Regenerated. * configure.ac: Check for version 0.11 (or later revision) of PPL. toplev/gcc/ * doc/install.texi: Update the expected version number of PPL to 0.11. * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under #if PPL_VERSION_MINOR < 11. From-SVN: r169207
2011-01-25Minimize the number of expensive calls to ppl_powerset_is_empty.Sebastian Pop4-125/+105
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c: Include graphite-cloog-util.h. (new_poly_ddr): Inlined into dependence_polyhedron. (free_poly_ddr): Moved close by new_poly_ddr. (dependence_polyhedron_1): Renamed dependence_polyhedron. Early return NULL when ppl_powerset_is_empty returns true. (dependence_polyhedron): Renamed new_poly_ddr. Call only once poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. (graphite_legal_transform_dr): Call new_poly_ddr. (graphite_carried_dependence_level_k): Same. (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. (dot_transformed_deps_stmt_1): Removed. (dot_deps_stmt_1): Call dot_deps_stmt_2. (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. (dot_deps_1): Call dot_deps_2. * Makefile.in (graphite-dependences.o): Add missing dependence on graphite-cloog-util.h. From-SVN: r169206
2011-01-25Use PIP to determine the integer feasibility of a constraint system.Sebastian Pop19-15/+379
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. (build_lexicographical_constraint): Same. (dependence_polyhedron_1): Same. (graphite_legal_transform_dr): Same. (graphite_carried_dependence_level_k): Same. * graphite-ppl.c (ppl_powerset_is_empty): New. * graphite-ppl.h (ppl_powerset_is_empty): Declared. * tree-data-ref.c (dump_data_reference): Print the basic block index. * gcc.dg/graphite/block-0.c: Add documentation. * gcc.dg/graphite/block-4.c: Same. * gcc.dg/graphite/block-7.c: Same. * gcc.dg/graphite/block-8.c: New. * gcc.dg/graphite/interchange-1.c: Un-XFAILed. * gcc.dg/graphite/interchange-11.c: Un-XFAILed. * gcc.dg/graphite/interchange-12.c: Add documentation. * gcc.dg/graphite/interchange-13.c: New. * gcc.dg/graphite/interchange-14.c: New. * gcc.dg/graphite/interchange-15.c: New. * gcc.dg/graphite/interchange-8.c: Add documentation. * gcc.dg/graphite/interchange-mvt.c: Same. From-SVN: r169205
2011-01-25Correct the precedence relation.Sebastian Pop3-5/+20
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_pairwise_scheduling): Correctly compute the "a followed by b" relation and document it. From-SVN: r169204
2011-01-25speedup compilationSebastian Pop3-1/+16
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (build_lexicographical_constraint): Stop the iteration when the bag of constraints is empty. From-SVN: r169203
2011-01-25Fix pbb_remove_duplicate_pdrs.Sebastian Pop3-6/+15
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. From-SVN: r169202
2011-01-25Test the profitability of interchange on the perfect nest.Sebastian Pop3-9/+21
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop nest and two loop depths as parameters. (lst_try_interchange_loops): Call lst_interchange_profitable_p after lst_perfect_nestify. From-SVN: r169201
2011-01-25Print the data dependence polyhedron in the PPL format.Sebastian Pop3-0/+11
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (print_pddr): Call ppl_io_fprint_Pointset_Powerset_C_Polyhedron. From-SVN: r169200
2011-01-25Add debug_gmp_value.Sebastian Pop4-0/+24
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * graphite-ppl.c (debug_gmp_value): New. * graphite-ppl.h (debug_gmp_value): Declared. From-SVN: r169199
2011-01-25Document availability of cloog-0.16Tobias Grosser3-10/+25
2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> * doc/install.texi: Document availability of cloog-0.16. From-SVN: r169197
2011-01-25Patch not merged, update ChangeLog.graphite.Vladimir Kargov1-0/+9
From-SVN: r169196
2011-01-25Patch not merged, update ChangeLog.graphite.Vladimir Kargov1-0/+5
From-SVN: r169195
2011-01-25Free invalid postdominance info.Sebastian Pop3-7/+21
2011-01-25 Vladimir Kargov <kargov@gmail.com> * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free invalid postdominance info. From-SVN: r169194
2011-01-25Add changelogs of patches that will not be merged to trunk.Sebastian Pop1-0/+126
From-SVN: r169193
2011-01-25Daily bump.GCC Administrator1-1/+1
From-SVN: r169189
2011-01-24re PR c/21659 ([unit-at-a-time] "weak declaration must precede definition" ↵Jan Hubicka3-15/+17
error missing at >= O1) PR c/21659 * doc/extend.texi (weak pragma): Drop claim that it must appear before definition. * varasm.c (merge_weak, declare_weak): Only sanity check that DECL is not output at a time it is declared weak. From-SVN: r169184
2011-01-24machmode.def: Fixed comments.Kenneth Zadeck2-5/+13
2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> * machmode.def: Fixed comments. From-SVN: r169179
2011-01-24emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.Kai Tietz2-2/+6
2011-01-24 Kai Tietz <kai.tietz@onevision.com> * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. Additionally correct ChangeLog date entry for Koenig. From-SVN: r169176
2011-01-24builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != WORDS_BIG_ENDIAN.Paul Koning2-1/+6
* builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != WORDS_BIG_ENDIAN. From-SVN: r169174
2011-01-24Visit basic blocks using the work-list based algorithm.H.J. Lu3-22/+143
2011-01-24 H.J. Lu <hongjiu.lu@intel.com> PR target/46519 * config/i386/i386.c: Include sbitmap.h and fibheap.h. (block_info): Add scanned and prev. (move_or_delete_vzeroupper_2): Return if the basic block has been scanned and the upper 128bit state is unchanged from the last scan. (move_or_delete_vzeroupper_1): Return true if the exit state is changed. (move_or_delete_vzeroupper): Visit basic blocks using the work-list based algorithm based on vt_find_locations in var-tracking.c. * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). From-SVN: r169173
2011-01-24v850.opt (mv850es): New option - alias for -mv850e1.Nick Clifton4-6/+29
* config/v850/v850.opt (mv850es): New option - alias for -mv850e1. * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified then define __v850e1__. * doc/invoke.texi: Document -mv850es. From-SVN: r169170
2011-01-24rx: Uncomplicate fp comparisons.Richard Henderson5-221/+28
It turns out that the middle-end will happily take care of doing the swapping and splitting of compound fp comparisons. No need for us to replicate that here. From-SVN: r169169
2011-01-24Fix PR 47408 and 47385Michael Meissner17-16/+41
From-SVN: r169167
2011-01-24* lib/scanasm.exp (dg-function-on-line): Handle mips-sgi-irix*.Rainer Orth2-1/+8
From-SVN: r169157
2011-01-24cray_pointers_2.f90: Avoid cycling through optimization options.Rainer Orth2-2/+9
* gfortran.dg/cray_pointers_2.f90: Avoid cycling through optimization options. From-SVN: r169155
2011-01-24re PR target/45988 (gfortran.dg/vect/fast-math-pr38968.f90 times out on ↵Rainer Orth3-0/+10
32-bit Solaris 10/x86) * gfortran.dg/array_constructor_33.f90: Use dg-timeout-factor 4. PR testsuite/45988 * gfortran.dg/vect/fast-math-pr38968.f90: Use dg-timeout-factor 2. From-SVN: r169153
2011-01-24Fix long lineEric Botcazou1-3/+2
From-SVN: r169152
2011-01-24Daily bump.GCC Administrator1-1/+1
From-SVN: r169150
2011-01-23re PR fortran/47421 (Wrong-code: Value of scalar ALLOCATABLE ↵Tobias Burnus4-3/+45
CHARACTER(len=n) dummy is mangled) 2011-01-23 Tobias Burnus <burnus@net-b.de> PR fortran/47421 * trans-decl.c (gfc_trans_deferred_vars): Do not nullify scalar allocatable dummy arguments. 2011-01-23 Tobias Burnus <burnus@net-b.de> PR fortran/47421 * gfortran.dg/allocatable_scalar_12.f90: New. From-SVN: r169145
2011-01-23re PR rtl-optimization/47166 (SpecCpu2000 Ammp segfaults for ARM with -O3 ↵Bernd Schmidt2-7/+28
-mthumb) PR rtl-optimization/47166 * reload1.c (emit_reload_insns): Disable the spill_reg_store mechanism for PRE_MODIFY and POST_MODIFY. (inc_for_reload): For PRE_MODIFY, return the insn that sets the reloadreg. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r169144
2011-01-23compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.Andreas Schwab2-1/+7
* compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. From-SVN: r169143
2011-01-23costmodel-vect-33.c: Expect vectorization to be not profitable if...Ira Rosen4-5/+17
* gcc.dg/vect/costmodel/spu/costmodel-vect-33.c: Expect vectorization to be not profitable if peeling is used to realign the memory access. * gcc.dg/vect/costmodel/spu/costmodel-vect-76a.c: Increase loop bound to avoid loop unrolling. * gcc.dg/vect/costmodel/spu/costmodel-vect-76c.c: Likewise. From-SVN: r169142
2011-01-23Daily bump.GCC Administrator1-1/+1
From-SVN: r169141
2011-01-22re PR target/47333 (g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as)Jan Hubicka4-4/+954
PR lto/47333 * g++.dg/lto/pr47333.C: New file. * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. From-SVN: r169137