- 16 Apr, 2011 8 commits
-
-
* lto.c (lto_balanced_map): Fix typos in head comment. (lto_promote_cross_file_statics): Fix long lines and remove redundant test. From-SVN: r172584
Eric Botcazou committed -
* cgraphbuild.c: Include ipa-inline.h. (reset_inline_failed): Use initialize_inline_failed. * cgraph.c: Include ipa-inline.h. (cgraph_create_node_1): Do not initialize estimated_growth. (initialize_inline_failed): More to ipa-inline-analysis.c (dump_cgraph_node): Do not dump inline flags. * cgraph.h (cgraph_local_info): Remove inlineable, versionable and disregard_inline_limits flags. (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, time, size, estimated_growth. * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): Update. * cgraphunit.c (cgraph_decide_is_function_needed): Use DECL_DISREGARD_INLINE_LIMITS. (cgraph_analyze_function): Do not initialize node->local.disregard_inline_limits. * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream inlinable, versionable and disregard_inline_limits. * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, cgraph_check_inline_limits, cgraph_default_inline_p, cgraph_edge_badness, update_caller_keys, update_callee_keys, add_new_edges_to_heap): Update. (cgraph_decide_inlining_of_small_function): Update; set CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, cgraph_decide_inlining_incrementally): Update. * ipa-inline.h (inline_summary): Add inlinable, versionable, disregard_inline_limits, estimated_stack_size, stack_frame_offset, time, size and estimated_growth parameters. (estimate_edge_growth): Update. (initialize_inline_failed): Declare. * ipa-split.c: Include ipa-inline.h (execute_split_functions): Update. * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. * ipa-inline-analysis.c (inline_node_removal_hook): Update; set estimated_growth to INT_MIN. (inline_node_duplication_hook): Likewise. (dump_inline_summary): Dump new fields. (compute_inline_parameters): Update. (estimate_edge_time, estimate_time_after_inlining, estimate_size_after_inlining, estimate_growth, inline_read_summary, inline_write_summary): (initialize_inline_failed): Move here from cgraph.c. * tree-sra.c: Include ipa-inline.h. (ipa_sra_preliminary_function_checks): Update. * lto/lto.c (lto_balanced_map): Update. Update. * Makefile.in: (cgraph.o, cgraphbuild.o): Add dependency on ipa-inline.h From-SVN: r172581
Jan Hubicka committed -
* config/i386/sse.md (V16): New mode iterator. (VI1, VI8): Ditto. (AVXMODEQI, AVXMODEDI): Remove. (sse2, sse3): New mode attribute. (mov<mode>): Use V16 mode iterator. (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. (push<mode>1): Use V16 mode iterator. (movmisalign<mode>): Ditto. (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and avx_movdqu<avxmodesuffix>. (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and *avx_movdqu<avxmodesuffix>. (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and avx_lddqu<avxmodesuffix>. (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. (<sse2>_movnt<mode>): Merge from sse2_movntv2di and avx_movnt<AVXMODEDI:mode>. * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for renamed sse_movups, sse2_movupd and sse2_movdqu patterns. testsuite/ChangeLog: * gcc.target/i386/avx256-unaligned-load-1.c: Update scan patterns. * gcc.target/i386/avx256-unaligned-load-2.c: Ditto. * gcc.target/i386/avx256-unaligned-load-3.c: Ditto. * gcc.target/i386/avx256-unaligned-store-1.c: Ditto. * gcc.target/i386/avx256-unaligned-store-2.c: Ditto. * gcc.target/i386/avx256-unaligned-store-3.c: Ditto. From-SVN: r172580
Uros Bizjak committed -
From-SVN: r172536
Jim Meyering committed -
re PR libstdc++/48631 ([C++0x] default_delete<T[]> accepts pointer conversions in function call operator) 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48631 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted function call operator. * testsuite/20_util/default_delete/48631_neg.cc: New. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error line numbers. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r172534
Daniel Krugler committed -
2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48635 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&), unique_ptr<>::operator=(unique_ptr<>&&), unique_ptr<_Tp[],>::operator=(unique_ptr&&), unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter instead of moving it. * testsuite/20_util/unique_ptr/assign/48635.cc: New. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r172532
Daniel Krugler committed -
Implement N3271 * parser.c (cp_convert_range_for): Split into cp_parser_perform_range_for_lookup. (cp_parser_perform_range_for_lookup): New. (cp_parser_range_for_member_function): New. (cp_parser_for_init_statement): Correct error message. * semantics.c (finish_call_expr): Accept COMPONENT_REF. From-SVN: r172531
Jason Merrill committed -
From-SVN: r172530
GCC Administrator committed
-
- 15 Apr, 2011 32 commits
-
-
PR target/48629 * haifa-sched.c (prune_ready_list, schedule_block): Use sched_pressure_p rather than flag_sched_pressure. From-SVN: r172525
Bernd Schmidt committed -
* trans-array.c (toplevel): Include gimple.h. (gfc_trans_allocate_array_storage): Check flag_stack_arrays, properly expand variable length arrays. (gfc_trans_auto_array_allocation): If flag_stack_arrays create variable length decls and associate them with their scope. * gfortran.h (gfc_option_t): Add flag_stack_arrays member. * options.c (gfc_init_options): Handle -fstack_arrays option. * lang.opt (fstack-arrays): Add option. * invoke.texi (Code Gen Options): Document it. * Make-lang.in (trans-array.o): Depend on GIMPLE_H. From-SVN: r172524
Michael Matz committed -
In gcc/objc/: 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (ivar_of_class): New. (objc_is_public): Use ivar_of_class. From-SVN: r172523
Nicola Pero committed -
2011-04-15 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * trans-intrinsic.c (conv_intrinsic_cobound): Remove unused code which is also causing an ICE. 2011-04-15 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray_15.f90: Change to dg-do run. From-SVN: r172522
Tobias Burnus committed -
* go-gcc.cc (Gcc_backend::compound_statement): New function. (Gcc_backend::assignment_statement): Use error_statement. (Gcc_backend::return_statement): Likewise. (Gcc_backend::if_statement): Likewise. (Gcc_backend::switch_statement): Likewise. (Gcc_backend::statement_list): Likewise. From-SVN: r172521
Ian Lance Taylor committed -
* config/rs6000/rs6000.c (call_ABI_of_interest): Call cgraph_get_node instead of cgraph_get_create_node. From-SVN: r172520
Pat Haugen committed -
From-SVN: r172519
Ian Lance Taylor committed -
* cfgexpand.c (expand_debug_expr): Use simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. From-SVN: r172518
Jakub Jelinek committed -
* tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. * function.c (gimplify_parameters): Ditto. * gimplify.c (gimplify_vla_decl): Ditto. * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. (gimple_call_set_alloca_for_var): New inline function. (gimple_call_alloca_for_var_p): Ditto. * gimple.c (gimple_build_call_from_tree): Remember CALL_ALLOCA_FOR_VAR_P state. * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca calls if they were for VLA objects. From-SVN: r172516
Michael Matz committed -
2011-04-15 Martin Jambor <mjambor@suse.cz> * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling of ADR_EXPRs. From-SVN: r172515
Martin Jambor committed -
2011-04-15 Martin Jambor <mjambor@suse.cz> PR middle-end/48601 * tree-emutls.c (lower_emutls_function_body): Call cgraph_get_create_node instead of cgraph_get_node. Do not assert the result is non-NULL. From-SVN: r172512
Martin Jambor committed -
In gcc/c-family/: 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> * c-objc.h (objc_get_interface_ivars): Removed. (objc_detect_field_duplicates): New. * stub-objc.c: Likewise. In gcc/: 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> * c-decl.c (detect_field_duplicates): Call objc_detect_field_duplicates instead of objc_get_interface_ivars. In gcc/objc/: 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (objc_get_interface_ivars): Removed. (objc_detect_field_duplicates): New. (hash_instance_variable): New. (eq_instance_variable): New. In gcc/objcp/: 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> * objcp-decl.c (objcp_finish_struct): Use objc_detect_field_duplicates instead of having a local implementation. In gcc/testsuite/: 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/naming-4.m: Updated. * objc.dg/naming-5.m: Updated. * objc.dg/naming-6.m: New. * objc.dg/naming-7.m: New. * obj-c++.dg/naming-1.mm: Updated. * obj-c++.dg/naming-2.mm: Updated. * obj-c++.dg/naming-3.mm: New. * obj-c++.dg/naming-4.mm: New. From-SVN: r172511
Nicola Pero committed -
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add $libiconv to cxxflags for alpha*-dec-osf*. From-SVN: r172507
Rainer Orth committed -
From-SVN: r172506
Rainer Orth committed -
2011-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/48589 * gfortran.dg/fmt_g0_5.f08: New test. From-SVN: r172503
Jerry DeLisle committed -
2011-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/48589 * io/write_float.def (write_infnan): Set width properly for G0. From-SVN: r172502
Jerry DeLisle committed -
2011-04-15 Paolo Carlini <paolo.carlini@oracle.com> * include/std/istream: Fix comments in the light of DR60 + N3168. From-SVN: r172500
Paolo Carlini committed -
2011-04-15 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * Makefile.am: Build and install caf/single.c as libcaf_single.a. * Makefile.in: Regenerate. From-SVN: r172499
Tobias Burnus committed -
* gimple.h (gimple_asm_clobbers_memory_p): Declare. * gimple.c (gimple_asm_clobbers_memory_p): Define. * ipa-pure-const.c (check_stmt): Call it. * tree-ssa-operands.c (get_asm_expr_operands): Likewise. From-SVN: r172496
Nathan Froyd committed -
2011-04-15 Richard Guenther <rguenther@suse.de> PR testsuite/48286 * gfortran.dg/cray_pointers_8.f90: Use -ffloat-store. From-SVN: r172495
Richard Guenther committed -
re PR tree-optimization/48290 (FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072) 2011-04-15 Richard Guenther <rguenther@suse.de> PR tree-optimization/48290 * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. Properly decide inhibiting propagation based on the valueized operand. Do loop-closed SSA form preserving here ... (init_copy_prop): ... not here. From-SVN: r172494
Richard Guenther committed -
2011-04-15 H.J. Lu <hongjiu.lu@intel.com> PR target/48612 * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. (*ieee_smax<mode>3): Likewise. From-SVN: r172492
H.J. Lu committed -
s390.md (popcountdi2, [...]): Replace match_operand with match_dup for the third operand in these expanders. 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): Replace match_operand with match_dup for the third operand in these expanders. From-SVN: r172490
Andreas Krebbel committed -
* gcc.target/avr/torture/pr41885.c (dg-options): Change -finline-limit=0 to -fno-inline From-SVN: r172487
Georg-Johann Lay committed -
* combine.c (subst, combine_simlify_rtx): Add new argument, use it to track processing of conditionals. Update all callers. (try_combine, simplify_if_then_else): Update. From-SVN: r172486
Maxim Kuvyrkov committed -
PR target/48614 * gcc.target/i386/pr46084.c: Require avx_runtime instead of just avx. From-SVN: r172484
Jakub Jelinek committed -
* MAINTAINERS: Update my email address. From-SVN: r172482
Dodji Seketeli committed -
* config/m68k/m68k.c (m68k_sched_variable_issue): Handle -fsched-pressure. From-SVN: r172481
Maxim Kuvyrkov committed -
* config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup instead of match_operand for operand 3. From-SVN: r172480
Georg-Johann Lay committed -
gcc/ * recog.h (insn_operand_data): Add an "allows_mem" field. * genoutput.c (output_operand_data): Initialize it. * optabs.c (maybe_legitimize_operand_same_code): New function. (maybe_legitimize_operand): Use it when matching the original op->value. From-SVN: r172478
Richard Sandiford committed -
PR libobjc/32037 * Makefile.in (OBJC_GCFLAGS): Move ... * configure.ac (enable_objc_gc): ... here. Add $(libsuffix) to OBJC_BOEHM_GC. * configure: Regenerate. From-SVN: r172477
Rainer Orth committed -
* gimplify.c: Fix issues in comments throughout. (voidify_wrapper_expr): Fix long line. (build_stack_save_restore): Likewise. (gimplify_loop_expr): Likewise. (gimplify_compound_lval): Likewise. (gimplify_init_ctor_eval): Likewise. (gimplify_modify_expr_rhs): Likewise. (omp_notice_threadprivate_variable): Likewise. From-SVN: r172476
Eric Botcazou committed
-