aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-11tree-ssa.c (redirect_edge_var_map_clear): Fix formatting.Jan Hubicka2-1/+20
* tree-ssa.c (redirect_edge_var_map_clear): Fix formatting. (free_var_map_entry): New function. (redirect_edge_var_map_destroy): Use it. From-SVN: r140282
2008-09-11re PR middle-end/37448 (cannot compile big function)Jan Hubicka2-13/+18
PR middle-end/37448 * tree-inline.c (add_lexical_block): Replace with ... (prepend_lexical_block): ... prepend at begginig. (remap_blocks): Use it and reverse later. (expand_call_inline): Use prepend_lexical_block. From-SVN: r140281
2008-09-11* gimplify.c (pop_gimplify_context): Free bind_expr_stack.Jan Hubicka2-0/+5
From-SVN: r140280
2008-09-11function.c (free_after_compilation): Call insn_locators_free.Jan Hubicka4-0/+21
* function.c (free_after_compilation): Call insn_locators_free. * cfglayout.c (insn_locators_free): New function. * rtl.h (insn_locators_free): Declare. From-SVN: r140279
2008-09-11ifcvt.c (check_cond_move_block): Make regs argument pointer to vector pointer.Jan Hubicka2-4/+9
* ifcvt.c (check_cond_move_block): Make regs argument pointer to vector pointer. (cond_move_process_if_block): Update call. From-SVN: r140278
2008-09-11toplev.c (dump_memory_report): Call dump_vec_loc_statistics.Jan Hubicka4-2/+245
* toplev.c (dump_memory_report): Call dump_vec_loc_statistics. * vec.c: Include hashtab.h (vec_descriptor, ptr_hash_entry): New structures. (vec_desc_hash, vec_ptr_map): New static variables. (hash_descriptor, eq_descriptor, hash_ptr, eq_ptr, vec_descriptor, register_overhead, free_overhead, vec_heap_free): New functions. (vec_gc_o_reserve_1): ggc_free when resizing to 0. (vec_heap_o_reserve_1): free when resizing to 0; add statistics. (cmp_statistic, add_statistics, dump_vec_loc_statistics): New functions. From-SVN: r140277
2008-09-11re PR tree-optimization/37474 (vect_supported_slp_permutation_p memory ↵Ira Rosen4-0/+53
corruption) PR tree-optimization/37474 * tree-vect-analyze.c (vect_supported_load_permutation_p): Check the length of load permutation. From-SVN: r140276
2008-09-11* config/m68k/m68k.h (IRA_COVER_CLASSES): Define.Andreas Schwab2-0/+9
From-SVN: r140275
2008-09-11xgot-1.c: Add -mcpu=5206 to select a ColdFire target.Andreas Schwab2-1/+6
* gcc.target/m68k/xgot-1.c: Add -mcpu=5206 to select a ColdFire target. From-SVN: r140272
2008-09-11re PR target/37382 (ICE in extract_insn: <var_decl 0x7fda26ff4b40 ↵Jakub Jelinek5-8/+50
swig_module>) 0)) PR target/37382 * expmed.c (extract_low_bits): Avoid creating invalid subregs. * dse.c (find_shift_sequence): Use extract_low_bits instead of simplify_gen_subreg. * gcc.c-torture/compile/pr37382.c: New test. From-SVN: r140265
2008-09-11re PR fortran/36214 (Wrong simplification of BOZ constants)Daniel Kraft7-9/+55
2008-09-11 Daniel Kraft <d@domob.eu> PR fortran/36214 * simplify.c (simplify_cmplx): Added linebreak to long line. * target-memory.c (gfc_convert_boz): Fix indentation. (gfc_interpret_float): Set mpfr precision to right value before calling mpfr_init. 2008-09-11 Daniel Kraft <d@domob.eu> PR fortran/36214 * gfortran.dg/boz_9.f90: Corrected test. * gfortran.dg/boz_13.f90: New test. * gfortran.dg/boz_14.f90: New test. From-SVN: r140264
2008-09-11tree-vect-transform.c (vectorizable_store): Use the rhs vector type for ↵Ira Rosen2-0/+8
alias check. * tree-vect-transform.c (vectorizable_store): Use the rhs vector type for alias check. From-SVN: r140257
2008-09-11Daily bump.GCC Administrator1-1/+1
From-SVN: r140254
2008-09-10ctype.cc (use_facet<ctype<char> >, [...]): Remove specializations.Paolo Carlini5-31/+24
2008-09-10 Paolo Carlini <paolo.carlini@oracle.com> * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>): Remove specializations. * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate. * include/bits/locale_facets.tcc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>): Declare as extern template. * include/bits/locale_facets.h (use_facet<ctype<char> >, use_facet<ctype<wchar_t>): Do not declare as specializations. From-SVN: r140251
2008-09-10expr.c (find_array_element): Reformat comment.H.J. Lu2-1/+6
2008-09-10 H.J. Lu <hongjiu.lu@intel.com> * expr.c (find_array_element): Reformat comment. From-SVN: r140250
2008-09-10re PR middle-end/37338 (gcc.dg/array-init-1.c)Jakub Jelinek2-0/+7
PR middle-end/37338 * gimplify.c (gimplify_body): Call default_rtl_profile. From-SVN: r140249
2008-09-10expr.c (find_array_element): Reformat.H.J. Lu2-20/+22
2008-09-10 H.J. Lu <hongjiu.lu@intel.com> * expr.c (find_array_element): Reformat. From-SVN: r140248
2008-09-10re PR target/36904 (vector context sensitive keyword vs macros)Jakub Jelinek4-14/+70
PR target/36904 * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Return NULL instead of tok->val.node if not expanding to something else. Handle intervening CPP_PADDING tokens. (altivec_categorize_keyword): Remove unneeded comparisons. * gcc.target/powerpc/altivec-27.c: New test. From-SVN: r140247
2008-09-10Makefile.in: Switch RTEMS to s-interr-hwint.adb.Joel Sherrill3-3/+90
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com> * gcc-interface/Makefile.in: Switch RTEMS to s-interr-hwint.adb. * s-osinte-rtems.ads: Add shared hardware interrupt adapter layer. RTEMS binds to OS provided adapter routines so there are no modifications to s-osinte-rtems.adb. From-SVN: r140246
2008-09-10re PR rtl-optimization/37333 (ICE in ira_flattening, at ira-build.c:2146)Andrew Pinski2-0/+61
2008-09-10 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/37333 * gcc.c-torture/compile/20080910-1.c: New testcase. From-SVN: r140243
2008-09-10ctype_members.cc (ctype<char>::_M_narrow_init, [...]): Don't define here.Paolo Carlini5-124/+50
2008-09-10 Paolo Carlini <paolo.carlini@oracle.com> * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init, ctype<char>::_M_widen_init): Don't define here. * config/locale/gnu/ctype_members.cc: Likewise. * config/locale/generic/ctype_members.cc: Likewise. * src/ctype.cc: Define here. From-SVN: r140240
2008-09-10mk-sik-inc.sh: Make -Wunused-variable proof.Tobias Burnus3-0/+8
2008-09-10 Tobias Burnus <burnus@net-b.de> H. J. Lu <hongjiu.lu@intel.com> * mk-sik-inc.sh: Make -Wunused-variable proof. * mk-srk-inc.sh: Make -Wunused-variable proof. Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> From-SVN: r140239
2008-09-10re PR libstdc++/37455 (Code bloat for ostream.widen('\n'))Paolo Carlini6-38/+140
2008-09-10 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37455 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init, ctype<char>::_M_widen_init): Don't define inline. * config/locale/darwin/ctype_members.cc: ... define here. * config/locale/gnu/ctype_members.cc: ... likewise. * config/locale/generic/ctype_members.cc: ... likewise. * config/abi/pre/gnu.ver: Export. From-SVN: r140238
2008-09-10mk-kinds-h.sh: Make -Wunused-variable proof.Tobias Burnus2-0/+6
2008-09-10 Tobias Burnus <burnus@net-b.de> * mk-kinds-h.sh: Make -Wunused-variable proof. From-SVN: r140237
2008-09-10tree-ssa-pre.c (phi_translate_1): Fix memory leak.Richard Guenther2-6/+16
2008-09-10 Richard Guenther <rguenther@suse.de> * tree-ssa-pre.c (phi_translate_1): Fix memory leak. From-SVN: r140236
2008-09-10re PR tree-optimization/37432 (ICE in VN_INFO, at tree-ssa-sccvn.c:180)Richard Guenther4-0/+36
2008-09-10 Richard Guenther <rguenther@suse.de> PR middle-end/37432 * tree-inline.c (insert_init_stmt): Make sure to not insert invalid gimple stores. * gcc.c-torture/compile/pr37432.c: New testcase. From-SVN: r140233
2008-09-10re PR tree-optimization/37388 ([graphite] No warn with "-O0 -fgraphite" when ↵Sebastian Pop3-6/+17
cloog or ppl are not present) 2008-09-10 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/37388 * toplev.c (process_options): Fail and warn when graphite flags are used, but the compiler has not been configured with graphite libraries. * graphite.c (graphite_transform_loops): Remove printfs to dump_file for the case when graphite is not available. From-SVN: r140232
2008-09-10re PR target/37434 (ICE in extract_insn, at recog.c:2027)H.J. Lu12-7/+140
gcc/ 2008-09-10 H.J. Lu <hongjiu.lu@intel.com> PR target/37434: * config/i386/i386.c (ix86_expand_vector_init_interleave): Force the even element into register. (ix86_expand_vector_init_general): Don't use ix86_expand_vector_init_interleave on V16QImode and V8HImode if we can't move from GPR to SSE register directly. gcc/testsuite/ 2008-09-10 H.J. Lu <hongjiu.lu@intel.com> PR target/37434: * gcc.target/i386/pr37434-1.c: New. * gcc.target/i386/pr37434-2.c: Likewise. * gcc.target/i386/pr37434-3.c: Likewise. * gcc.target/i386/pr37434-4.c: Likewise. * gcc.target/i386/sse2-set-v8hi-1a.c: Likewise. * gcc.target/i386/sse2-set-v8hi-2a.c: Likewise. * gcc.target/i386/sse4_1-set-v16qi-1a.c: Likewise. * gcc.target/i386/sse4_1-set-v16qi-2a.c: Likewise. * gcc.target/i386/sse4_1-set-v16qi-3a.c: Likewise. From-SVN: r140231
2008-09-10bfin.c (workaround_speculation): Correct algorithm to not lose track of the ↵Bernd Schmidt3-30/+60
number of NOPs needed. * config/bfin/bfin.c (workaround_speculation): Correct algorithm to not lose track of the number of NOPs needed. Number of NOPs needed for sync vs. loads workaround was switched; corrected. Run second pass for all workarounds. No NOPs needed after call insns. Change second pass to use find_next_insn_start and find_load helpers in order to properly detect parallel insns. * config/bfin/bfin.md (cbranch_with_nops): Increase length. From-SVN: r140230
2008-09-10re PR fortran/37420 (-Wunused-variable broken)Tobias Burnus5-7/+29
2008-09-10 Tobias Burnus <burnus@net-b.de> PR fortran/37420 * trans-decl.c (get_proc_pointer_decl): Fix -Wunused-variable. 2008-09-10 Tobias Burnus <burnus@net-b.de> PR fortran/37420 * gfortran.dg/warn_unused_var.f90: New test. * gfortran.dg/warn_unused_var.f90: Add cleanup-modules. From-SVN: r140229
2008-09-10value-prof.c (gimple_ic): Fix tuplification bug.Jan Hubicka3-3/+8
* value-prof.c (gimple_ic): Fix tuplification bug. * sched-deps.c (sched_insns_conditions_mutex_p): Silence unitialized var warning. From-SVN: r140228
2008-09-10re PR tree-optimization/37353 (ICE: vector VEC(gimple,base) push domain ↵Jakub Jelinek4-9/+43
error, in tree_call_cdce at tree-call-cdce.c:890) PR tree-optimization/37353 * tree-call-cdce.c (cond_dead_built_in_calls): Remove. (shrink_wrap_conditional_dead_built_in_calls): Add calls argument, use calls instead of cond_dead_built_in_calls. (tree_call_cdce): Add cond_dead_built_in_calls automatic variable, initalize the vector only before adding first entry. Use VEC_safe_push instead of VEC_quick_push. Pass cond_dead_built_in_calls to shrink_wrap_conditional_dead_built_in_calls call. * gcc.dg/pr37353.c: New test. From-SVN: r140208
2008-09-10re PR middle-end/37385 (ICE in set_mem_alias_set with the vectorizer and ↵Ira Rosen4-6/+47
function pointers) PR tree-optimization/37385 * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new argument, and use it as a vector type if not NULL. (vectorizable_store): Call vect_create_data_ref_ptr with the type of vectorized rhs. (vect_setup_realignment): Call vect_create_data_ref_ptr with additional argument. (vectorizable_load): Likewise. From-SVN: r140195
2008-09-10i386.md (SWI32): New mode iterator.Jakub Jelinek2-8/+17
* config/i386/i386.md (SWI32): New mode iterator. (jcc_fused_1, jcc_fused_2, jcc_fused_3, jcc_fused_4): Use it instead of SWI. From-SVN: r140189
2008-09-10Daily bump.GCC Administrator1-1/+1
From-SVN: r140187
2008-09-09re PR rtl-optimization/37435 (ICE with volatiles)H.J. Lu4-2/+30
gcc/ 2008-09-09 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/37435 * caller-save.c (insert_restore, insert_save): Check the mode by reg_save_code. gcc/testsuite/ 2008-09-09 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/37435 * gcc.dg/dfp/pr37435.c: New. From-SVN: r140184
2008-09-09re PR other/37265 (mt_allocator.cc:646: ICE: in gt_ggc_m_S, at ggc-page.c:1281)John David Anglin2-4/+14
PR other/37265 * dwarf2asm.c (dw2_force_const_mem): Use unstripped symbol name for splay tree lookup. (dw2_output_indirect_constant_1): Use unstripped name in symbol reference. From-SVN: r140183
2008-09-09abi.xml: Update for new releases.Benjamin Kosnik23-160/+244
2008-09-09 Benjamin Kosnik <bkoz@redhat.com> * doc/xml/manual/abi.xml: Update for new releases. * doc/doxygen/user.cfg.in: Include C compatibility headers. * doc/html/*: Regenerate. From-SVN: r140180
2008-09-09invoke.texi (ARM Options): Correct errors in discussion of -mfloat-abi, ↵Sandra Loosemore2-24/+29
-mhard-float, and -msoft-float. 2008-09-09 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/invoke.texi (ARM Options): Correct errors in discussion of -mfloat-abi, -mhard-float, and -msoft-float. From-SVN: r140179
2008-09-10re PR c++/37417 (error: type mismatch in binary expression, verify_gimple ↵Jakub Jelinek4-1/+20
failed) PR c++/37417 * tree.c (array_type_nelts_top): Add size_one_node instead of integer_one_node. * g++.dg/ext/vla5.C: New test. From-SVN: r140178
2008-09-10re PR middle-end/37356 (ICE in gsi_insert_seq_nodes_after, at ↵Jakub Jelinek4-36/+72
gimple-iterator.c:222) PR middle-end/37356 * tree-inline.c (copy_bb): Insert stmt into copy_basic_block before calling gimple_regimplify_operands on it. Iterate over all newly added statements, not just the last one. (insert_init_stmt): Insert stmt into seq first, then call gimple_regimplify_operands on it. Don't create new gimplification context, nor find referenced vars. * g++.dg/tree-ssa/pr37356.C: New test. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r140177
2008-09-09re PR c++/37439 (ICE using auto return-type in template function)Jason Merrill3-2/+11
PR c++/37439 * pt.c (tsubst_copy) [PARM_DECL]: Don't abort if the parm has DECL_CONTEXT set. From-SVN: r140176
2008-09-092008-09-09 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini1-1/+1
* Fix typo in ChangeLog. From-SVN: r140175
2008-09-09cinttypes: Restore __STDC_FORMAT_MACRO after inclusion of <inttypes.h>.Paolo Carlini4-5/+42
2008-09-09 Paolo Carlini <paolo.carlini@oracle.com> * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACRO after inclusion of <inttypes.h>. * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS after <stdint.h>. * include/bits/postypes.h: Likewise. From-SVN: r140174
2008-09-09re PR other/37419 (mpfr related memory corruption)Jakub Jelinek4-13/+31
PR other/37419 * ipa-prop.h (ipa_propagate_indirect_call_infos): Change last argument to pointer to vector pointer. * ipa-prop.c (ipa_propagate_indirect_call_infos, propagate_info_to_inlined_callees): Likewise. (update_call_notes_after_inlining): Likewise. Push new indirect edge to *new_edges instead of new_edges. Reread IPA_EDGE_REF after ipa_check_create_edge_args. * ipa-inline.c (cgraph_decide_recursive_inlining): Change last argument to pointer to vector pointer. (cgraph_decide_inlining_of_small_function): Adjust cgraph_decide_recursive_inlining and ipa_propagate_indirect_call_infos calls. From-SVN: r140168
2008-09-09re PR target/37438 (ICE in extract_insn, at recog.c:2027 for i{4,5}86)Jakub Jelinek4-1/+29
PR target/37438 * config/i386/i386.md (zero_extendqihi2_movzbl): Enable when optimizing for size, not speed. * gcc.dg/pr37438.c: New test. From-SVN: r140167
2008-09-09re PR rtl-optimization/37408 (Invalid insn scheduling)Jakub Jelinek2-0/+11
PR rtl-optimization/37408 * function.c (assign_parm_find_stack_rtl): Set correct MEM_SIZE if parm is promoted. From-SVN: r140166
2008-09-09re PR c++/37389 (expected integer_cst, have error_mark in build_enumerator)Jakub Jelinek4-13/+37
PR c++/37389 * decl.c (build_enumerator): Handle previous value's DECL_INITIAL being error_operand_p. Don't clear value if it was error_mark_node. * g++.dg/parse/enum4.C: New test. From-SVN: r140165
2008-09-09re PR middle-end/37375 ([graphite] Parameter detection and scev only take a ↵Sebastian Pop6-134/+172
surrounding loop as border) 2008-09-05 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/37375 * tree-scalar-evolution.c (scev_info_str): Add field instantiated_below. (new_scev_info_str, eq_scev_info, find_var_scev_info, set_scalar_evolution, get_scalar_evolution, get_instantiated_value, set_instantiated_value): Pass instantiated_below. (analyze_scalar_evolution_1, analyze_scalar_evolution): Update calls to above functions. (instantiate_scev_1, instantiate_scev): Pass a basic block above which the definitions are not instantiated. * tree-scalar-evolution.h (instantiate_scev): Update declaration. (block_before_loop): New. * tree-data-ref.c (dr_analyze_indices): Update uses of instantiate_scev. * graphite.c (block_before_scop): New. (loop_affine_expr, stmt_simple_for_scop_p, harmful_stmt_in_bb): Pass a basic block, not a loop for determining the parameters. (scopdet_edge_info, build_scops_1): Do not pass outermost loop in the scop. (idx_record_params, find_params_in_bb, find_scop_parameters, build_loop_iteration_domains, add_conditions_to_domain): Update calls to instantiate_scev. * Makefile.in (cfgloopmanip.o): Add missing dependency on TREE_FLOW_H. From-SVN: r140164
2008-09-09re PR fortran/37429 (Checks when assigning from a type-bound procedure broken)Daniel Kraft5-0/+104
2008-09-09 Daniel Kraft <d@domob.eu> PR fortran/37429 * resolve.c (expression_rank): Added assertion to guard against EXPR_COMPCALL expressions. (resolve_compcall): Set expression's rank from the target procedure's. 2008-09-09 Daniel Kraft <d@domob.eu> PR fortran/37429 * gfortran.dg/typebound_call_7.f03: New test. * gfortran.dg/typebound_call_8.f03: New test. From-SVN: r140163