aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-03-15Daily bump.GCC Administrator1-1/+1
From-SVN: r133231
2008-03-14re PR tree-optimization/13761 ([tree-ssa] component refs to the same struct ↵Richard Guenther2-0/+19
should not alias) 2008-03-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/13761 * gcc.dg/tree-ssa/ssa-lim-3.c: New testcase. From-SVN: r133224
2008-03-14re PR tree-optimization/34172 (Missed store ccp optimization)Richard Guenther11-12/+430
2008-03-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/34172 * tree-flow.h (refs_may_alias_p): Declare. (get_single_def_stmt): Likewise. (get_single_def_stmt_from_phi): Likewise. (get_single_def_stmt_with_phi): Likewise. * tree-dfa.c (refs_may_alias_p): New function. (get_single_def_stmt): Likewise. (get_single_def_stmt_from_phi): Likewise. (get_single_def_stmt_with_phi): Likewise. * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function. (vn_reference_lookup_1): New helper function. (vn_reference_lookup): Walk the virtual use-def chain to continue searching for a match if the def does not alias the reference we are looking for. * gcc.dg/tree-ssa/ssa-fre-11.c: New testcase. * gcc.dg/tree-ssa/ssa-fre-12.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-13.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-14.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. * gcc.dg/tree-ssa/20031106-4.c: Remove XFAIL. From-SVN: r133222
2008-03-14re PR preprocessor/35322 (ICE with incomplete macro)Uros Bizjak2-1/+6
2008-03-14 Uros Bizjak <ubizjak@gmail.com> PR libcpp/35322: * gcc.dg/cpp/pr35322.c: Add dg-error line. From-SVN: r133220
2008-03-14install.texi (Binaries): Remove UCLA archive.David Edelsohn2-4/+12
* doc/install.texi (Binaries): Remove UCLA archive. Add HVCC archive and Perzl. Update The Written Word listing. From-SVN: r133219
2008-03-14re PR tree-optimization/34043 (Missed optimization causing extra loads and ↵Richard Guenther12-60/+442
stores when using x86_64 builtin function together with aggregate types.) 2008-03-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/34043 PR tree-optimization/33989 * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion when doing FRE. (bitmap_find_leader): Use extra argument to verify dominance relationship inside a basic-block. (can_PRE_operation): Add VIEW_CONVERT_EXPR. (find_leader_in_sets): Adjust. (create_component_ref_by_pieces): Take extra argument for dominance check, handle lookup failures. (find_or_generate_expression): Likewise. (create_expression_by_pieces): Likewise. (insert_into_preds_of_block): Adjust. (create_value_expr_from): If asked for, verify all operands are in the blocks AVAIL_OUT set. (make_values_for_stmt): Check for SSA_NAMEs that are life over an abnormal edge. (compute_avail): Remove such check. (do_SCCVN_insertion): New function. (eliminate): If we do not find a leader suitable for replacement insert a replacement expression from SCCVN if available. * tree-ssa-sccvn.h (run_scc_vn): Update prototype. (struct vn_ssa_aux): Add needs_insertion flag. * tree-ssa-sccvn.c (may_insert): New global flag. (copy_reference_ops_from_ref): Value-number union member access based on its size, not type and member if insertion is allowed. (visit_reference_op_load): For a weak match from union type punning lookup a view-converted value and insert a SSA_NAME for that value if that is not found. (visit_use): Make dumps shorter. Do not disallow value numbering SSA_NAMEs that are life over an abnormal edge to constants. (free_scc_vn): Release inserted SSA_NAMEs. (run_scc_vn): New flag to specify whether insertion is allowed. Process SSA_NAMEs in forward order. * tree-ssa-loop-im.c (for_each_index): Handle invariant ADDR_EXPRs inside VIEW_CONVERT_EXPR. * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to pointer type to/from integral types that do not change the precision to regular conversions. * gcc.dg/tree-ssa/ssa-fre-7.c: New testcase. * gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-10.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-17.c: Likewise. From-SVN: r133218
2008-03-14re PR testsuite/35406 (gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c ↵Jerry DeLisle3-8/+7
don't work) PR testsuite/35406 * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match count from 0 to 1 for lp64 targets. * gfortran.dg/ldist-1.f90: Update test to check for 5 loops distributed instead of 4 for lp64 targets. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r133216
2008-03-14be.po, [...]: Update.Joseph Myers17-174982/+101464
* be.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update. * ca.po, rw.po: Remove. From-SVN: r133209
2008-03-14re PR testsuite/35538 (FAIL: gcc.dg/tree-ssa/ssa-store-ccp-4.c ↵H.J. Lu3-7/+18
scan-tree-dump-times optimized "conststaticvariable" 1) PR testsuite/35538 * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Support PIC targets. Skip *-*-darwin*. * gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*. From-SVN: r133208
2008-03-14re PR testsuite/35406 (gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c ↵Jerry DeLisle2-4/+10
don't work) 2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR testsuite/35406 * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match count from 0 to 1. From-SVN: r133207
2008-03-14re PR testsuite/35406 (gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c ↵Jerry DeLisle2-1/+7
don't work) 2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/35406 * gfortran.dg/ldist-1.f90: Update test to check for 5 loops distributed instead of 4. From-SVN: r133206
2008-03-14re PR fortran/35475 (gfortran fails to compile valid code with ICE erro in ↵Jerry DeLisle2-0/+38
fold-const.c) 2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/35475 * gfortran.dg/derived_sub.f90: New test. From-SVN: r133205
2008-03-13re PR testsuite/35558 (Untested g++.dg/tls/static-1a.cc)H.J. Lu3-3/+10
2008-03-13 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/35558 * g++.dg/tls/static-1.C: Move dg-additional-sources after dg-require-effective-target. * g++.dg/tls/static-1a.cc: Likewise. From-SVN: r133204
2008-03-14Daily bump.GCC Administrator1-1/+1
From-SVN: r133201
2008-03-13re PR preprocessor/35322 (ICE with incomplete macro)Tom Tromey2-0/+9
gcc/testsuite PR libcpp/35322: * gcc.dg/cpp/pr35322.c: New file. libcpp PR libcpp/35322: * directives.c (destringize_and_run): Set pfile->directive. From-SVN: r133195
2008-03-13vect-align-2.c: Remove dg-do run directive.Uros Bizjak2-2/+8
* gcc.dg/vect/vect-align-2.c: Remove dg-do run directive. (main): Call check_vect. From-SVN: r133193
2008-03-13Fix AIX version number in comment.David Edelsohn1-1/+1
From-SVN: r133187
2008-03-13extend.texi (X86 Built-in Functions): Missed fragment from my previous ↵Uros Bizjak2-2/+3
commit commit. * doc/extend.texi (X86 Built-in Functions): Missed fragment from my previous commit commit. From-SVN: r133178
2008-03-13extend.texi (X86 Built-in Functions): Fix the mode of input arguments and ↵Uros Bizjak2-23/+31
the mode of return value. * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128, __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of input arguments and the mode of return value. From-SVN: r133177
2008-03-13[multiple changes]Alon Dayan4-1/+44
2008-02-19 Alon Dayan <alond@il.ibm.com> Olga Golovanevsky <olga@il.ibm.com> PR tree-optimization/35041 * gcc.dg/struct/wo_prof_double_malloc.c: New test. 2008-03-13 Alon Dayan <alond@il.ibm.com> Olga Golovanevsky <olga@il.ibm.com> PR tree-optimization/35041 * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option to locate the right position in a statement. Co-Authored-By: Olga Golovanevsky <olga@il.ibm.com> From-SVN: r133171
2008-03-13re PR target/34000 (GCC pedwarns about use of static inline functions from ↵Uros Bizjak21-873/+909
system headers in extern inline functions) PR target/34000 PR target/35553 * config/i386/xmmintrin.h: Change all static inline functions to extern inline and add __gnu_inline__ attribute. * config/i386/bmintrin.h: Ditto. * config/i386/smmintrin.h: Ditto. * config/i386/tmmintrin.h: Ditto. * config/i386/mmintrin-common.h: Ditto. * config/i386/ammintrin.h: Ditto. * config/i386/emmintrin.h: Ditto. * config/i386/pmmintrin.h: Ditto. * config/i386/mmintrin.h: Ditto. * config/i386/mm3dnow.h: Ditto. testsuite/ChangeLog: PR target/34000 PR target/35553 * g++.dg/other/i386-3.C: New test. * gcc.target/i386/sse-13.c: Redefine extern instead of static. * gcc.target/i386/sse-14.c: Ditto. * gcc.target/i386/mmx-1.c: Ditto. * gcc.target/i386/mmx-2.c: Ditto. * gcc.target/i386/3dnow-1.c: Ditto. * gcc.target/i386/3dnow-2.c: Ditto. * gcc.target/i386/3dnowA-1.c: Ditto. * gcc.target/i386/3dnowA-2.c: Ditto. From-SVN: r133169
2008-03-13Revert my previous commit.Uros Bizjak11-60/+26
From-SVN: r133167
2008-03-13re PR c++/35553 (-fkeep-inline-functions and -O errors out in SSE headers)Uros Bizjak11-26/+60
PR target/35553 * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define __SSE_USE_INLINED_FUNC__ when using -flag-keep-inline-functions together with optimization. * config/i386/xmmintrin.h: Use __SSE_USE_INLINED_FUNC__ instead of __OPTIMIZE__ to choose between inlined intrinsic SSE function having immediate arguments and its equivalent macro definition. * config/i386/bmintrin.h: Ditto. * config/i386/smmintrin.h: Ditto. * config/i386/tmmintrin.h: Ditto. * config/i386/mmintrin-common.h: Ditto. * config/i386/ammintrin.h: Ditto. * config/i386/emmintrin.h: Ditto. testsuite/ChangeLog: PR target/35553 * g++.dg/other/i386-3.C: New test. From-SVN: r133164
2008-03-13re PR rtl-optimization/34522 (inefficient code for long long multiply when ↵Paolo Bonzini2-1/+6
only low bits are needed) 2008-03-13 Paolo Bonzini <bonzini@gnu.org> PR tree-opt/35422 * gcc.target/i386/pr35422.c: Escape brackets. From-SVN: r133163
2008-03-13re PR middle-end/35185 (ICE using openmp with g++-4.2)Jakub Jelinek2-115/+114
PR middle-end/35185 * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed. (lower_omp_2): New function. (lower_omp_1, lower_omp): Rewritten. * testsuite/libgomp.c++/pr35185.C: New test. From-SVN: r133162
2008-03-13re PR target/35054 (No documentation of #pragma push_macro("macro_name"))Danny Smith2-5/+49
PR 35054 * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32" with the phrase "Microsoft Windows compilers". (Push/Pop Macro Pragmas): New subsection. Document #pragma push_macro and pragma pop_macro. From-SVN: r133161
2008-03-13arm.c (output_move_double): Prefer LDRD to LDM.Paul Brook2-7/+32
2008-03-12 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/arm.c (output_move_double): Prefer LDRD to LDM. From-SVN: r133160
2008-03-13Daily bump.GCC Administrator1-1/+1
From-SVN: r133158
2008-03-12thumb2.md: Extend peephole to cover 3-arg subs.Paul Brook2-5/+82
2008-03-12 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/thumb2.md: Extend peephole to cover 3-arg subs. (thumb2_alusi3_short): Exclude PLUS and MINUS. (thumb2_addsi_shortim): Rename ... (thumb2_addsi_short): ... to this. Allow register operands. (thumb2_subsi_short): New pattern. (thumb2_one_cmplsi2_short, thumb2_negsi2_short): New patterns and peepholes. From-SVN: r133152
2008-03-12arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.Paul Brook2-1/+7
2008-03-12 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2. From-SVN: r133151
2008-03-12i386.md (int_cond): New code iterator.Uros Bizjak2-238/+36
* config/i386/i386.md (int_cond): New code iterator. (fp_cond): Ditto. ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu, sge, sgeu, sle and sleu expanders usign int_cond code iterator. ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge, sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator. ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu, bge, bgeu, ble and bleu expanders usign int_cond code iterator. ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge, bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator. From-SVN: r133150
2008-03-12arm.c (use_return_insn): Use offsets->saved_regs_mask instead of ↵Paul Brook3-23/+132
{arm,thumb}_compute_save_reg_mask. 2008-03-12 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask instead of {arm,thumb}_compute_save_reg_mask. (output_return_instruction): Ditto. (thumb_unexpanded_epilogue): Ditto. (thumb1_expand_prologue): Ditto. (thumb1_output_function_prologue): Ditto. (arm_set_return_address): Ditto. (thumb_set_return_address): Ditto. (arm_get_frame_offsets): Set offsets->saved_regs_mask. Push extra regs to achieve stack alignment. (thumb1_compute_save_reg_mask): Fix compiler warning. (arm_output_epilogue): Use offsets->saved_regs_mask. Adjust stack pointer by poping call clobered registers. (arm_expand_prologue): Use offsets->saved_regs_mask. Adjust stack pointer by pushing extra registers. * gcc/config/arm.h (arm_stack_offsets): Add saved_regs_mask. From-SVN: r133148
2008-03-12mangle.c (java_mangle_decl): Remove dead check.Paolo Bonzini2-3/+4
2008-03-12 Paolo Bonzini <bonzini@gnu.org> * mangle.c (java_mangle_decl): Remove dead check. From-SVN: r133146
2008-03-12re PR rtl-optimization/34522 (inefficient code for long long multiply when ↵Paolo Bonzini5-3/+50
only low bits are needed) 2008-03-12 Paolo Bonzini <bonzini@gnu.org> PR tree-opt/35422 * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing conversion to the operands of a multiplication. testsuite: 2008-03-12 Paolo Bonzini <bonzini@gnu.org> PR tree-opt/35422 * gcc.dg/vect/slp-7.c: Change target keywords required for vectorizing third loop. * gcc.target/i386/pr35422.c: New. From-SVN: r133144
2008-03-12revert: [multiple changes]Richard Guenther3-14/+22
2008-03-12 Richard Guenther <rguenther@suse.de> PR c++/35469 Revert: 2008-02-04 Richard Guenther <rguenther@suse.de> PR java/35035 * decl.c (record_builtin_java_type): Make jboolean a integer type again where its mode doesn't match that of bool. 2008-01-25 Richard Guenther <rguenther@suse.de> PR c++/33887 * decl.c (record_builtin_java_type): Make __java_boolean a variant of bool. * typeck.c (structural_comptypes): Move TYPE_FOR_JAVA check after TYPE_MAIN_VARIANT check. From-SVN: r133142
2008-03-12Makefile.in (OBJS-common): Add tree-ssa-phiprop.oRichard Guenther5-299/+404
2008-03-12 Richard Guenther <rguenther@suse.de> * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o. * timevar.def (TV_TREE_PHIPROP): Add. * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added pass description. Use TV_TREE_PHIPROP. * tree-ssa-forwprop.c: Remove phiprop code. From-SVN: r133140
2008-03-12re PR middle-end/35549 (Invalid use of copy-in/out for shared vars in nested ↵Jakub Jelinek2-14/+53
parallels) PR middle-end/35549 * omp-low.c (maybe_lookup_decl): Constify first argument. (use_pointer_for_field): Change last argument from bool to omp_context *. Disallow shared copy-in/out in nested parallel if decl is shared in outer parallel too. (build_outer_var_ref, scan_sharing_clauses, lower_rec_input_clauses, lower_copyprivate_clauses, lower_send_clauses, lower_send_shared_vars): Adjust callers. * testsuite/libgomp.c/pr35549.c: New test. From-SVN: r133136
2008-03-12tree-vectorizer.c (free_stmt_vec_info): New function.Victor Kaplansky4-43/+56
2008-03-12 Victor Kaplansky <victork@il.ibm.com> Ira Rosen <irar@il.ibm.com> * tree-vectorizer.c (free_stmt_vec_info): New function. (destroy_loop_vec_info): Move code to free_stmt_vec_info(). Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES.. * tree-vectorizer.h (free_stmt_vec_info): Declare. * tree-vect-transform.c (vectorizable_conversion): Free vec_oprnds0 if it was allocated. (vect_permute_store_chain): Remove unused VECs. (vectorizable_store): Free VECs that are allocated in the.. function. (vect_transform_strided_load, vectorizable_load): Likewise. (vect_remove_stores): Simplify the code. (vect_transform_loop): Move code to vect_remove_stores(). Call vect_remove_stores() and free_stmt_vec_info(). Co-Authored-By: Ira Rosen <irar@il.ibm.com> From-SVN: r133134
2008-03-12Daily bump.GCC Administrator1-1/+1
From-SVN: r133129
2008-03-11pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on TARGET_HPUX.John David Anglin3-24/+32
* pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on TARGET_HPUX. Revise comment. (TARGET_LONG_PIC_PCREL_CALL): Revise comment. * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL. Use sr4 variant of `be' instruction when not generating PIC code. (attr_length_call): Adjust for above change. From-SVN: r133123
2008-03-11re PR tree-optimization/35403 (ipa-reference.c does not change a default ↵Andrew Pinski4-10/+25
initialized static variable to be readonly) 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> * ipa-reference.c (static_execute): Remove module_statics_const and associated setting code. 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/35403 * gcc.dg/tree-ssa/ipa-reference-1.c: New testcase. From-SVN: r133119
2008-03-11re PR target/35540 (Segmentation fault with __builtin_parity() and -O1)Uros Bizjak4-22/+77
PR target/35540 * config/i386/i386.md (paritysi2, paritydi2): Use register_operand constraint for operand 1. (paritysi2_cmp): Use register_operand constraint for operand 2. Use earlyclobber modifier for operand 1. Remove support for memory operands. (paritydi2_cmp): Use register_operand constraint for operand 3. Use earlyclobber modifier for operand 1. Remove support for memory operands. testsuite/ChangeLog: PR target/35540 * gcc.target/i386/pr35540.c: New test. From-SVN: r133118
2008-03-11arm.c (use_return_insn): Check TARGET_APCS_FRAME.Paul Brook2-41/+86
2008-03-11 Paul Brook <paul@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com> * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME. (arm_compute_save_reg0_reg12_mask): Always check if register 11 must be saved. Always safe hard frame pointer when frame_pointer_needeed. (arm_compute_save_reg_mask): Save IP and PC only with apcs frames. (arm_output_epilogue): Adjust Thumb2 codepath to be also invoked and work for ARM non-apcs frames. (arm_expand_prologue): Don't bother saving IP for non-apcs frame, since it's not clobbered by prologue code. Implement non-apcs frame layout. From-SVN: r133117
2008-03-11re PR rtl-optimization/35281 (multiply with 0 generated for 64*32->64)Paolo Bonzini2-3/+9
2008-03-11 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/35281 * expr.c (convert_move): Use a new pseudo for the intermediate from_mode->word_mode result. From-SVN: r133116
2008-03-11langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.Paolo Bonzini9-25/+25
2008-03-11 Paolo Bonzini <bonzini@gnu.org> * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. * langhooks.h (struct lang_hooks): Delete clear_binding_stack member. * toplev.c (compile_file): Don't call it. fortran: 2008-03-11 Paolo Bonzini <bonzini@gnu.org> * f95-lang.c (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. (gfc_be_parse_file): Call clear_binding_stack from here. (gfc_clear_binding_stack): Rename to clear_binding_stack. java: 2008-03-11 Paolo Bonzini <bonzini@gnu.org> * jcf-parse.c (java_parse_file): Assert binding levels are left in order. * lang.c (LANG_HOOKS_CLEAR_BINDING_STACK, java_clear_binding_stack): Delete. From-SVN: r133115
2008-03-11override-attribs.C: Require ilp32 x86 target.Uros Bizjak2-1/+7
* g++.dg/inherit/override-attribs.C: Require ilp32 x86 target. From-SVN: r133111
2008-03-11re PR c/35526 (ICE on memcpy)Uros Bizjak4-4/+34
PR middle-end/35526 * expr.c (store_expr): Call emit_block_move if the mode of "temp" RTX is BLKmode. testsuite/ChangeLog: PR middle-end/35526 * g++.dg/torture/pr35526.C: New test. From-SVN: r133106
2008-03-11re PR tree-optimization/31358 (IV-OPTs produces a weird MEM_REF)Andrew Pinski4-15/+70
2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> Richard Guenther <rguenther@suse.de> PR tree-optimization/31358 * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for the step with a NULL_TREE. * tree-ssa-loop-ivopts.c (find_bivs): Convert the step to sizetype if type is a pointer type. (add_candidate_1): Don't convert the base and step to the generic type if the orginal type is a pointer type. (add_iv_value_candidates): Use sizetype for the step if type is a pointer type. (cand_value_at): Likewise. * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR for pointer types. * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>): Don't convert the tem affine to the type. (add_elt_to_tree): Use sizetype for the step if a pointer. Use POINTER_PLUS_EXPR for pointers. (aff_combination_to_tree): Use sizetype for the step if a pointer. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r133102
2008-03-11Daily bump.GCC Administrator1-1/+1
From-SVN: r133100
2008-03-10sse.md (ssse3_pmaddubswv8hi3, [...]): Remove commutativity hint.Vladimir Makarov2-2/+7
2008-03-10 Vladimir Makarov <vmakarov@redhat.com> * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3): Remove commutativity hint. From-SVN: r133093