- 10 Sep, 2008 13 commits
-
-
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
Paolo Carlini committed -
2008-09-10 Tobias Burnus <burnus@net-b.de> * mk-kinds-h.sh: Make -Wunused-variable proof. From-SVN: r140237
Tobias Burnus committed -
2008-09-10 Richard Guenther <rguenther@suse.de> * tree-ssa-pre.c (phi_translate_1): Fix memory leak. From-SVN: r140236
Richard Guenther committed -
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
Richard Guenther committed -
re PR tree-optimization/37388 ([graphite] No warn with "-O0 -fgraphite" when 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
Sebastian Pop committed -
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
H.J. Lu committed -
* 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
Bernd Schmidt committed -
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
Tobias Burnus committed -
* value-prof.c (gimple_ic): Fix tuplification bug. * sched-deps.c (sched_insns_conditions_mutex_p): Silence unitialized var warning. From-SVN: r140228
Jan Hubicka committed -
re PR tree-optimization/37353 (ICE: vector VEC(gimple,base) push domain 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
Jakub Jelinek committed -
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
Ira Rosen committed -
* 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
Jakub Jelinek committed -
From-SVN: r140187
GCC Administrator committed
-
- 09 Sep, 2008 27 commits
-
-
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
H.J. Lu committed -
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
John David Anglin committed -
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
Benjamin Kosnik committed -
invoke.texi (ARM Options): Correct errors in discussion of -mfloat-abi, -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
Sandra Loosemore committed -
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
Jakub Jelinek committed -
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
Jakub Jelinek committed -
PR c++/37439 * pt.c (tsubst_copy) [PARM_DECL]: Don't abort if the parm has DECL_CONTEXT set. From-SVN: r140176
Jason Merrill committed -
* Fix typo in ChangeLog. From-SVN: r140175
Paolo Carlini committed -
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
Paolo Carlini committed -
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
Jakub Jelinek committed -
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
Jakub Jelinek committed -
PR rtl-optimization/37408 * function.c (assign_parm_find_stack_rtl): Set correct MEM_SIZE if parm is promoted. From-SVN: r140166
Jakub Jelinek committed -
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
Jakub Jelinek committed -
re PR middle-end/37375 ([graphite] Parameter detection and scev only take a 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
Sebastian Pop committed -
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
Daniel Kraft committed -
* include/demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_DECLTYPE. * libiberty/cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE. (d_make_comp): Likewise. (cplus_demangle_type): Handle decltype and DFP types. (cplus_demangle_operators): Call operator takes 2 args. (cplus_demangle_builtin_types): Add DFP types. (d_exprlist): New fn. (d_expression): Handle parm placeholders, T() and calls. (d_print_comp): Handle decltype, T() and calls. * libiberty/testsuite/demangle-expected: Test the above. From-SVN: r140162
Jason Merrill committed -
2008-09-09 Vladimir Makarov <vmakarov@redhat.com> PR rtl-opt/37333 * ira-build.c (ira_create_allocno): Setup frequency to 0. * ira-color.c (update_conflict_hard_regno_costs): Remove assert. Check zero freq and increase if necessary. From-SVN: r140160
Vladimir Makarov committed -
2008-09-09 Vladimir Makarov <vmakarov@redhat.com> * ira-conflicts.c (process_regs_for_copy): Check that the hard regno is in the right range. Add comments. From-SVN: r140159
Vladimir Makarov committed -
* Makefile.in (mips-tfile.o-warn): Don't error out on mips-tfile.c warnings. * mips-tfile.c (copy_object): Cast alloca result to int *. * mips-tdump.c (print_symbol): Cast xmalloc return values to proper types. Rename class to sclass. (read_tfile): Cast read_seek return values to proper types. Cast xcalloc return value to proper type. From-SVN: r140158
Rainer Orth committed -
* config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ... * config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here. * config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here. From-SVN: r140157
Rainer Orth committed -
* profile.c (is_edge_inconsistent): Add debug output; ignore negative count on fake edges. (is_inconsistent): Add debug output. From-SVN: r140156
Jan Hubicka committed -
PR/37442 * gcc.target/i386/pr12329.c: Place error message on function name line. * gcc.target/i386/sse-5.c: Same. From-SVN: r140155
Aldy Hernandez committed -
* haifa-sched.c (advance_one_cycle): Do not print '\n' before printing dump message. (choose_ready): When first insn is chosen from the ready list, also dump it. From-SVN: r140152
Andrey Belevantsev committed -
PR rtl-optimization/37360 * haifa-sched.c (max_issue): Do not assert that we never issue more insns than issue_rate. Add comment. From-SVN: r140151
Andrey Belevantsev committed -
2008-09-09 Richard Guenther <rguenther@suse.de> * tree-cfg.c (verify_types_in_gimple_op): Remove. (verify_types_in_gimple_call): Rename to ... (verify_gimple_call): ... this. Enhance. (verify_types_in_gimple_cond): Remove. (verify_gimple_comparison): New function ... (verify_types_in_gimple_assign): ... split out from here. (verify_types_in_gimple_return): Rename to ... (verify_gimple_return): ... this. Enhance. (verify_types_in_gimple_switch): Rename to ... (verify_gimple_switch): ... this. Enhance. (verify_gimple_goto): New function. (verify_types_in_gimple_phi): Rename to ... (verify_gimple_phi): ... this. Enhance. (verify_types_in_gimple_stmt): Adjust calls to helper functions. Fold in single-statement cases from verify_types_in_gimple_seq_2. (verify_types_in_gimple_seq_2): Remove cases handled in verify_types_in_gimple_stmt. From-SVN: r140150
Richard Guenther committed -
2008-09-09 Richard Guenther <rguenther@suse.de> * decl.c (build_result_decl): Remove no longer applicable promotion. From-SVN: r140149
Richard Guenther committed -
not to redefine main. From-SVN: r140148
Andreas Schwab committed
-