- 27 Apr, 2010 15 commits
-
-
From-SVN: r158773
Jakub Jelinek committed -
PR target/40657 * config/arm/arm.c (thumb1_extra_regs_pushed): New function. (thumb1_expand_prologue, thumb1_output_function_prologue): Call it here to determine which regs to push and how much stack to reserve. PR target/40657 * gcc.target/arm/thumb-stackframe.c: New test. From-SVN: r158771
Bernd Schmidt committed -
* doc/gimple.texi (gimple_statement_with_ops): Remove addresses_taken field. (gimple_statement_with_memory_ops): Likewise. From-SVN: r158770
Jie Zhang committed -
* gcc.dg/pr32207.c: Fix typo in expected warning messages. * gcc.dg/misc-column.c: Likewise. * gcc.dg/Walways-true-1.c: Likewise. * gcc.dg/Walways-true-2.c: Likewise. * gcc.dg/warn-addr-cmp.c: Likewise. From-SVN: r158769
Shujing Zhao committed -
2010-04-27 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * resolve.c (resolve_allocate_expr): Allow array coarrays. * trans-types.h (gfc_get_array_type_bounds): Update prototype. * trans-types.c (gfc_get_array_type_bounds, gfc_get_array_descriptor_base): Add corank argument. * trans-array.c (gfc_array_init_size): Handle corank. (gfc_trans_create_temp_array, gfc_array_allocate, gfc_conv_expr_descriptor): Add corank argument to call. * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Ditto. 2010-04-27 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray_7.f90: Modified and removed obsolete tests. * gfortran.dg/coarray_12.f90: New. From-SVN: r158768
Tobias Burnus committed -
* tree-inline.c (eni_inlining_weights): Remove. (estimate_num_insns): Special case more builtins. From-SVN: r158766
Jan Hubicka committed -
gcc/ 2010-04-27 Shujing Zhao <pearly.zhao@oracle.com> PR c/32207 * c-typeck.c (build_binary_op): Move forward check for comparison pointer with null pointer constant and adjust the diagnostic message. gcc/testsuite/ 2010-04-27 Shujing Zhao <pearly.zhao@oracle.com> PR c/32207 * gcc.dg/pr32207.c: New test. * gcc.dg/misc-column.c: Adjust expected warning. * gcc.dg/Walways-true-1.c: Likewise. * gcc.dg/Walways-true-2.c: Likewise. * gcc.dg/warn-addr-cmp.c: Likewise. From-SVN: r158765
Shujing Zhao committed -
ChangeLog: 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. gcc/ChangeLog 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> PR lto/42776 * configure.ac (gcc_cv_as_section_has_align): Set if installed binutils supports extended .section directive needed by LTO, or warn if older binutils found. (LTO_BINARY_READER): New AC_SUBST'd variable. (LTO_USE_LIBELF): Likewise. * gcc/config.gcc (lto_binary_reader): New target-specific configure variable. * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. (LTO_USE_LIBELF): Likewise. * configure: Regenerate. * collect2.c (is_elf): Rename from this ... (is_elf_or_coff): ... to this, and recognize and allow i386 COFF object files in addition to ELF-formatted ones. (scan_prog_file): Caller updated. Also allow for LTO info marker symbol to be prefixed or not by an extra underscore. * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. * config/i386/winnt.c: Also #include lto-streamer.h (i386_pe_asm_named_section): Specify 1-byte section alignment for LTO named sections. (i386_pe_asm_output_aligned_decl_common): Add comment. (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. From-SVN: r158764
Dave Korn committed -
ChangeLog: 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. From-SVN: r158763
Dave Korn committed -
ChangeLog: PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. gcc/ChangeLog: PR lto/42776 * configure.ac (gcc_cv_as_section_has_align): Set if installed binutils supports extended .section directive needed by LTO, or warn if older binutils found. (LTO_BINARY_READER): New AC_SUBST'd variable. (LTO_USE_LIBELF): Likewise. * gcc/config.gcc (lto_binary_reader): New target-specific configure variable. * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. (LTO_USE_LIBELF): Likewise. * configure: Regenerate. * collect2.c (is_elf): Rename from this ... (is_elf_or_coff): ... to this, and recognize and allow i386 COFF object files in addition to ELF-formatted ones. (scan_prog_file): Caller updated. Also allow for LTO info marker symbol to be prefixed or not by an extra underscore. * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. * config/i386/winnt.c: Also #include lto-streamer.h (i386_pe_asm_named_section): Specify 1-byte section alignment for LTO named sections. (i386_pe_asm_output_aligned_decl_common): Add comment. (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. gcc/lto/ChangeLog: PR lto/42776 * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of hardcoding 'lto-elf.o'. ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'. * lto-coff.h: New file. * lto-coff.c: Likewise. gcc/testsuite/ChangeLog: PR lto/42776 * lib/lto.exp (lto_prune_vis_warns): New function. (lto-link-and-maybe-run): Call it. From-SVN: r158762
Dave Korn committed -
re PR target/43889 (mmix-knuth-mmixware gcc.c-torture/execute/arith-rand.c -O3 -fomit-frame-pointer -funroll-loops) PR target/43889 * config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"): Add missing earlyclobber for second alternative. From-SVN: r158760
Hans-Peter Nilsson committed -
* config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"): Add missing earlyclobber for second alternative. From-SVN: r158759
Hans-Peter Nilsson committed -
2010-04-26 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/43904 * gcc.dg/tree-ssa/tailcall-6.c: New. From-SVN: r158757
H.J. Lu committed -
From-SVN: r158756
GCC Administrator committed -
2010-04-26 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> PR testsuite/35165 * obj-c++.dg/stubify-2.mm: Restrict to ilp32 targets. Require Darwin8/OSX10.4 - compatible code generation. Use scan-rtl-dump. * obj-c++.dg/stubify-1.mm: Ditto. * lib/objc-torture.exp: Do not require link success for "trivial.m" in the runtime checks when dowhat = 'compile'. * lib/dg-pch.exp: (dg-flags-pch): New Proc. * objc.dg/stubify-1.m: Restrict to ilp32 targets. Require Darwin8/OSX10.4 - compatible code generation. * objc.dg/stubify-2.m: Ditto. * objc.dg/symtab-1.m: Match '.quad' for m64 code. * objc.dg/next-runtime-1.m: Ditto. * objc.dg/stret-2.m: Restrict to ilp32 targets. * objc.dg/pch/pch.exp: Apply tests to both Gnu and NeXT runtimes on Darwin. From-SVN: r158752
Iain Sandoe committed
-
- 26 Apr, 2010 23 commits
-
-
2010-04-27 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/status_cxx200x.xml: Update to match n3092. * doc/html/*: Regenerate. From-SVN: r158751
Jonathan Wakely committed -
df-problems.c (df_simulate_initialize_forwards): Set, don't clear, bits for artificial defs at the top of the block. * df-problems.c (df_simulate_initialize_forwards): Set, don't clear, bits for artificial defs at the top of the block. * fwprop.c (single_def_use_enter_block): Don't call it. From-SVN: r158750
Bernd Schmidt committed -
From-SVN: r158749
Mike Stump committed -
2010-04-26 Jack Howarth <howarth@bromo.med.uc.edu> PR 43715 * gcc/configure.ac: Use "$gcc_cv_nm -g" on darwin instead of "$gcc_cv_objdump -T". Use "-undefined dynamic_lookup" on darwin. From-SVN: r158748
Jack Howarth committed -
2010-04-21 Jack Howarth <howarth@bromo.med.uc.edu> PR 43715 * testsuite/lib/plugin-support.exp: Use "-undefined dynamic_lookup" on darwin. From-SVN: r158747
Jack Howarth committed -
PR c/43893 * c-omp.c (c_finish_omp_for): Handle also EQ_EXPR. * testsuite/libgomp.c/pr43893.c: New test. * testsuite/libgomp.c++/pr43893.C: New test. From-SVN: r158745
Jakub Jelinek committed -
* c-parser.c (struct c_token): Move location field up. * c-tree.h (struct c_typespec): Move expr_const_operands field up. (struct c_declspecs): Convert typespec_word, storage_class, and default_int_p into bitfields. (struct c_declarator): Move loc field up. From-SVN: r158744
Nathan Froyd committed -
* cfgloop.h (struct loop): Move can_be_parallel field up. * ipa-prop.h (struct ip_node_params): Move bitfields up. * tree-ssa-loop-ivopts.c (struct version_info): Move inv_id field down. (struct iv_cand): Convert pos field into a bitfield. * tree-vectorizer.h (struct _loop_vec_info): Move loop_line_number field up. (struct _stmt_vec_info): Shuffle fields for better packing. From-SVN: r158743
Nathan Froyd committed -
From-SVN: r158742
Pedro Alves committed -
From-SVN: r158741
Ian Lance Taylor committed -
From-SVN: r158739
Joseph Myers committed -
* varasm.c (IN_NAMED_SECTION): Remove guard. * config/arm/unknown-elf.h (IN_NAMED_SECTION): Rename to... (IN_NAMED_SECTION_P): ...this. (ASM_OUTPUT_ALIGNED_BSS): Adjust for above renaming. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. From-SVN: r158738
Eric Botcazou committed -
* gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables. Use VOID_TYPE_P for all void type tests. Adjust TYPE variable instead of shadowing it. Fix comments. From-SVN: r158737
Eric Botcazou committed -
From-SVN: r158734
Steven G. Kargl committed -
* cgraph.c (cgraph_create_node): Set node frequency to normal. (cgraph_clone_node): Copy function frequency. * cgraph.h (node_frequency): New enum (struct cgraph_node): Add. * final.c (rest_of_clean_state): Update. * lto-cgraph.c (lto_output_node): Output node frequency. (input_overwrite_node): Input node frequency. * tre-ssa-loop-ivopts (computation_cost): Update. * lto-streamer-out.c (output_function): Do not output function frequency. * predict.c (maybe_hot_frequency_p): Update and handle functions executed once. (cgraph_maybe_hot_edge_p): Likewise; use cgraph frequency instead of attribute lookup. (probably_never_executed_bb_p, optimize_function_for_size_p): Update. (compute_function_frequency): Set noreturn functions to be executed once. (choose_function_section): Update. * lto-streamer-in.c (input_function): Do not input function frequency. * function.c (allocate_struct_function): Do not initialize function frequency. * function.h (function_frequency): Remove. (struct function): Remove function frequency. * ipa-profile.c (CGRAPH_NODE_FREQUENCY): Remove. (try_update): Update. * tree-inline.c (initialize_cfun): Do not update function frequency. * passes.c (pass_init_dump_file): Update. * i386.c (ix86_compute_frame_layout): Update. (ix86_pad_returns): Update. From-SVN: r158732
Jan Hubicka committed -
2010-04-26 Richard Guenther <rguenther@suse.de> * lto.c (lto_fixup_type): Deal with non-type TYPE_CONTEXT. * gcc.dg/lto/20100426_0.c: New testcase. From-SVN: r158729
Richard Guenther committed -
PR tree-optimization/43833 * tree-vrp.c (range_int_cst_p): New. (range_int_cst_singleton_p): New. (extract_range_from_binary_expr): Optimize BIT_AND_EXPR case when both operands are constants. Use range_int_cst_p in BIT_IOR_EXPR case. testsuite/ PR tree-optimization/43833 gcc.dg/Warray-bounds-8.c: New test case. From-SVN: r158727
Jie Zhang committed -
From-SVN: r158724
Jan Hubicka committed -
2010-04-26 Richard Guenther <rguenther@suse.de> PR lto/43080 * gimple.c (gimple_decl_printable_name): Deal gracefully with a NULL DECL_NAME. * g++.dg/lto/20100423-3_0.C: New testcase. From-SVN: r158723
Richard Guenther committed -
2010-04-26 Richard Guenther <rguenther@suse.de> PR lto/42425 * tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT if emitting debug information and it is either a function or a namespace decl. * g++.dg/lto/20100423-2_0.C: New testcase. From-SVN: r158722
Richard Guenther committed -
tree-vectorizer.h (struct _stmt_vec_info): Add new field to determine if the statement is vectorizable... * tree-vectorizer.h (struct _stmt_vec_info): Add new field to determine if the statement is vectorizable, and a macro to access it. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Skip statements that can't be vectorized. If the analysis fails, mark the statement as unvectorizable if vectorizing basic block. (vect_compute_data_refs_alignment): Likewise. (vect_verify_datarefs_alignment): Skip statements marked as unvectorizable. Add print. (vect_analyze_group_access): Skip statements that can't be vectorized. If the analysis fails, mark the statement as unvectorizable if vectorizing basic block. (vect_analyze_data_ref_accesses, vect_analyze_data_refs): Likewise. * tree-vect-stmts.c (vectorizable_store): Fix the number of generated stmts for SLP. (new_stmt_vec_info): Initialize the new field. * tree-vect-slp.c (vect_build_slp_tree): Fail to vectorize statements marked as unvectorizable. From-SVN: r158719
Ira Rosen committed -
* lto.h (lto_elf_file_open): Rename prototype from this ... (lto_obj_file_open): ... to this. (lto_elf_file_close): Likewise ... (lto_obj_file_close): ... and likewise. (lto_elf_build_section_table): Likewise ... (lto_obj_build_section_table): ... and likewise. (lto_elf_begin_section): Likewise ... (lto_obj_begin_section): ... and likewise. (lto_elf_append_data): Likewise ... (lto_obj_append_data): ... and likewise. (lto_elf_end_section): Likewise ... (lto_obj_end_section): ... and likewise. * lto.c (lto_file_read): Update references to the above. (lto_wpa_write_files): Likewise. (lto_read_all_file_options): Likewise. (read_cgraph_and_symbols): Likewise. * lto-lang.c (LANG_HOOKS_BEGIN_SECTION): Likewise. (LANG_HOOKS_APPEND_DATA): Likewise. (LANG_HOOKS_END_SECTION): Likewise. * lto-elf.c (lto_elf_file_open): Rename from this ... (lto_obj_file_open): ... to this, updating any references. (lto_elf_file_close): Likewise ... (lto_obj_file_close): ... and likewise. (lto_elf_build_section_table): Likewise ... (lto_obj_build_section_table): ... and likewise. (lto_elf_begin_section): Likewise ... (lto_obj_begin_section): ... and likewise. (lto_elf_append_data): Likewise ... (lto_obj_append_data): ... and likewise. (lto_elf_end_section): Likewise ... (lto_obj_end_section): ... and likewise. From-SVN: r158718
Dave Korn committed -
From-SVN: r158717
GCC Administrator committed
-
- 25 Apr, 2010 2 commits
-
-
2010-04-25 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/status_cxx200x.xml: Update Threads status. * doc/html/manual/status.html: Regenerate. From-SVN: r158713
Jonathan Wakely committed -
From-SVN: r158712
H.J. Lu committed
-