- 27 Apr, 2010 27 commits
-
-
2010-04-27 Andrew Haley <aph@redhat.com> * java/util/concurrent/CopyOnWriteArrayList.java: Fix for empty list. From-SVN: r158790
Andrew Haley committed -
2010-04-27 Andrew Haley <aph@redhat.com> * gnu/javax/print/ipp/IppResponse.java (parseAttributes): Handle IppValueTag.UNKNOWN. * gnu/javax/print/ipp/IppRequest.java (writeOperationAttributes): Handle RequestedAttributes. * gnu/javax/print/ipp/IppPrintService.java (processResponse): Add DocFlavor.SERVICE_FORMATTED.PAGEABLE and DocFlavor.SERVICE_FORMATTED.PRINTABLE. From-SVN: r158789
Andrew Haley committed -
* doc/invoke.texi (-fipa-profile): Document. * opts.c (decode_options): Enable ipa-profile at -O1. * timevar.def (TV_IPA_PROFILE): Define. * common.opt (fipa-profile): Add. * cgraph.c (cgraph_clone_node): Set local flag and clear vtable method flag for clones. (cgraph_propagate_frequency): Handle only local ones. * tree-pass.h (pass_ipa_profile): Declare. * ipa-profile.c (gate_profile): Use flag_ipa_profile. (pass_ipa_profile): Use TV_IPA_PROFILE. * ipa.c (ipa_profile): New function. (gate_ipa_profile): Likewise. (pass_ipa_profile): New global variable. * passes.c (pass_ipa_profile): New. From-SVN: r158788
Jan Hubicka committed -
configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld. * configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld. * configure: Regenerated. * Makefile.def: Add install-gold dependency to install-ld. * Makefile.in: Regenerated. Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> From-SVN: r158786
Roland McGrath committed -
2010-04-27 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray_12.f90: Fix dump parsing. From-SVN: r158785
Tobias Burnus committed -
From-SVN: r158783
Nathan Froyd committed -
2010-04-27 Alexander Monakov <amonakov@ispras.ru> * testsuite/22_locale/codecvt/unshift/char/1.c (test01): Clarify size definition. Use memcpy and memcmp to avoid access beyond allocated memory. From-SVN: r158780
Alexander Monakov committed -
2010-04-27 Tobias Burnus <burnus@net-b.de> * gfc-internals.texi: Update copyright year. * gfortran.texi: Ditto. * invoke.texi: Ditto. From-SVN: r158779
Tobias Burnus committed -
2010-04-27 Richard Guenther <rguenther@suse.de> PR middle-end/40561 * g++.dg/other/pr40561.C: New testcase. From-SVN: r158778
Richard Guenther committed -
re PR middle-end/43812 (compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760) 2010-04-27 Martin Jambor <mjambor@suse.cz> PR middle-end/43812 * ipa.c (dissolve_same_comdat_group_list): New function. (function_and_variable_visibility): Call dissolve_same_comdat_group_list when comdat group contains external or newly local nodes. * cgraphunit.c (verify_cgraph_node): Verify that same_comdat_group lists are circular and that they contain only DECL_ONE_ONLY nodes. * testsuite/g++.dg/ipa/pr43812.C: New test. From-SVN: r158777
Martin Jambor committed -
* varasm.c (decode_addr_const): Handle special case of INDIRECT_REF. (const_hash_1) <VECTOR_CST>: New case. (compare_constant) <VECTOR_CST>: Likewise. <ADDR_EXPR>: Deal with LABEL_REFs. (copy_constant) <VECTOR_CST>: New case. From-SVN: r158776
Eric Botcazou committed -
* cgraph.c (cgraph_propagate_frequency): New function. * cgraph.h (cgraph_propagate_frequency): Declare. * ipa-inline.c (cgraph_clone_inlined_nodes): Call cgraph_propagate_frequency. * testsuite/gcc.dg/ipa/iinline-1.c (main): Rename to... (test): ... this one. From-SVN: r158775
Jan Hubicka committed -
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 13 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
-