1. 24 Mar, 2015 5 commits
  2. 23 Mar, 2015 21 commits
    • re PR testsuite/65506 (FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy") · d197a9fd
      2015-03-23  Jakub Jelinek  <jakub@redhat.com>
      
      	PR testsuite/65506
      	* gcc.dg/pr29215.c: Dump and analyze ccp1 dump instead of
      	gimple dump.
      
      From-SVN: r221607
      Jakub Jelinek committed
    • re PR target/65523 (ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds -mmpx) · fc6a2c5d
      	PR target/65523
      	* tree-chkp.c (chkp_build_returned_bound): Ignore
      	ERF_RETURNS_ARG calls if they have fewer than needed arguments.
      
      	* gcc.target/i386/pr65523.c: New test.
      
      From-SVN: r221606
      Jakub Jelinek committed
    • re PR lto/65475 (ICE in odr_vtable_hasher::equal (Segmentation fault)) · 9804b0fb
      	PR ipa/65475
      	* g++.dg/lto/pr65475_0.C: Use dg-lto-options instead of
      	dg-options.
      	* g++.dg/lto/pr65475b_0.C: Likewise.
      
      From-SVN: r221605
      Jakub Jelinek committed
    • re PR target/65505 ([SH] ICE in sh_disp_addr_displacement) · 21f65dc8
      gcc/
      	PR target/65505
      	* config/sh/predicates.md (simple_mem_operand,
      	displacement_mem_operand): Add test for reg.
      	(short_displacement_mem_operand): Test for displacement_mem_operand
      	before invoking sh_disp_addr_displacement.
      	* config/sh/constraints.md (Sdd, Sra): Simplify.
      	* config/sh/sync.md (atomic_mem_operand_0, atomic_mem_operand_1):
      	Remove redundant displacement_mem_operand tests.
      
      gcc/testsuite/
      	PR target/65505
      	* gcc.target/sh/torture/pr65505.c: New.
      
      From-SVN: r221604
      Oleg Endo committed
    • re PR target/65296 ([avr] fix various issues with specs file generation) · ed137300
      	PR target/65296
      	* config/avr/driver-avr.c (avr_devicespecs_file): Allow to specify
      	the same -mmcu=MCU more than once.
      
      From-SVN: r221602
      Georg-Johann Lay committed
    • re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c… · 1c5ad287
      re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2" basic block vectorized using SLP" 1)
      
      2015-03-23  Martin Sebor  <msebor@redhat.com>
      
      	PR testsuite/63175
      	* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c: Scan
      	assembly for lvx in addition to lxv.
      
      From-SVN: r221601
      Martin Sebor committed
    • re PR libstdc++/64967 (Bootstrap fails due to errors in libstdc++ sources with… · 8dcf3d3c
      re PR libstdc++/64967 (Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace')
      
      	PR libstdc++/64967
      	* acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
      	* configure: Regenerate.
      	* src/c++11/compatibility-c++0x.cc (error_category), generic_category,
      	system_category): Use macros for versioned namespace.
      	* src/c++11/futex.cc: Add missing end macro for versioned namespace.
      
      From-SVN: r221600
      Jonathan Wakely committed
    • re PR bootstrap/65522 (Svn revision 221590 fails bootstrap -… · 46848948
      re PR bootstrap/65522 (Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_demangle' ada/adadecode.o:adadecode.c:(.text+0x863): first defined here)
      
      	PR bootstrap/65522
      	* ipa-devirt.c: Remove duplicate demangle.h include.
      
      	* adadecode.c (ada_demangle): Guard with IN_RTS instead of IN_GCC.
      
      From-SVN: r221599
      Jakub Jelinek committed
    • * fr.po: Update. · d2e70142
      From-SVN: r221598
      Joseph Myers committed
    • re PR target/65504 (select case with strings and -fgcse -O) · 404b86ed
      	PR target/65504
      	* config/i386/i386.c (ix86_copy_addr_to_reg): Set REG_POINTER
      	on the pseudo.
      	(expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Set
      	REG_POINTER on *destptr after adjusting it for prologue size.
      
      	* gfortran.dg/pr65504.f90: New test.
      
      From-SVN: r221597
      Jakub Jelinek committed
    • re PR ipa/65521 (nondeterministic -fcompare-debug failures) · f45be077
      	PR ipa/65521
      	* ipa-icf.c (sem_item::update_hash_by_addr_refs): Hash
      	ultimate_alias_target ()->order ints instead of
      	ultimate_alias_target () pointers.
      
      	* gcc.dg/pr65521.c: New test.
      
      From-SVN: r221596
      Jakub Jelinek committed
    • re PR tree-optimization/65518 (gcc consumes all memory with -O3) · d5f035ea
      2015-03-23  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/65518
      	* tree-vect-stmts.c (vectorizable_load): Reject single-element
      	interleaving cases we generate absymal code for.
      
      	* gcc.dg/vect/pr65518.c: New testcase.
      
      From-SVN: r221595
      Richard Biener committed
    • re PR sanitizer/59009 (libsanitizer merge from upstream r191666 breaks bootstrap… · d886f7cc
      re PR sanitizer/59009 (libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux and aarch64-linux)
      
      2015-03-23  Christophe Lyon  <christophe.lyon@linaro.org>
      
      	PR sanitizer/59009
      	* sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
      	upstream r230324.
      	* sanitizer_common/sanitizer_platform.h: Likewise.
      	* sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
      
      From-SVN: r221593
      Christophe Lyon committed
    • re PR tree-optimization/65494 (Loop is not vectorized because of operand canonicalization.) · 89d390e5
      2015-03-23  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/65494
      	* tree-vect-slp.c (vect_build_slp_tree): Do not (re-)allocate
      	matches here.
      	(vect_analyze_slp_instance): But do that here, always and once.
      
      	* gcc.dg/vect/pr65494.c: New testcase.
      
      From-SVN: r221592
      Richard Biener committed
    • [expmed][trivial] Fix comment about multiplying by T-1 and adding T. · c61928d0
      	* expmed.c (synth_mult): Fix comment about multiplying by T-1 and
      	adding T or multiplying by T+1 and subracting T.
      
      From-SVN: r221588
      Kyrylo Tkachov committed
    • re PR preprocessor/65238 (__has_attribute is not handled properly with -traditional-cpp.) · fb136e35
      	PR preprocessor/65238
      	* internal.h (_cpp_scan_out_logical_line): Add third argument.
      	* directives.c (prepare_directive_trad): Pass false to it.
      	* traditional.c (_cpp_read_logical_line_trad,
      	_cpp_create_trad_definition): Likewise.
      	(struct fun_macro): Add paramc field.
      	(fun_like_macro): New function.
      	(maybe_start_funlike): Handle NODE_BUILTIN macros.  Initialize
      	macro->paramc field.
      	(save_argument): Use macro->paramc instead of
      	macro->node->value.macro->paramc.
      	(push_replacement_text): Formatting fix.
      	(recursive_macro): Use fun_like_macro helper.
      	(_cpp_scan_out_logical_line): Likewise.  Add BUILTIN_MACRO_ARG
      	argument.  Initialize fmacro.paramc field.  Handle builtin
      	function-like macros.
      
      	* c-c++-common/cpp/pr65238-1.c: New test.
      	* gcc.dg/cpp/pr65238-2.c: New test.
      	* gcc.dg/cpp/trad/pr65238-3.c: New test.
      	* gcc.dg/cpp/trad/pr65238-4.c: New test.
      
      From-SVN: r221587
      Jakub Jelinek committed
    • re PR fortran/64952 (Missing temporary in assignment from elemental function) · 30c931de
      2015-03-23  Paul Thomas  <pault@gcc.gnu.org>
      	    Mikael Morin  <mikael@gcc.gnu.org>
      
      	PR fortran/64952
      fortran/
      	* gfortran.h (struct symbol_attribute) : New field
      	'array_outer_dependency'.
      	* trans.h (struct gfc_ss_info): New field 'array_outer_dependency'.
      	* module.c (enum ab_attribute): New value AB_ARRAY_OUTER_DEPENDENCY.
      	(attr_bits): Append same value to initializer.
      	(mio_symbol_attribute): Handle 'array_outer_dependency' attr
      	in module read and write.
      	* resolve.c (update_current_proc_outer_array_dependency): New function.
      	(resolve_function, resolve_call): Add code to update current procedure's
      	'array_outer_dependency' attribute.
      	(resolve_variable): Mark current procedure with attribute
      	array_outer_dependency if the variable is an array coming from outside
      	the current namespace.
      	(resolve_fl_procedure): Mark a procedure without body with attribute
      	'array_outer_dependency'.
      	* trans-array.c (gfc_conv_resolve_dependencies): If any ss is
      	marked as 'array_outer_dependency' generate a temporary.
      	(gfc_walk_function_expr): If the function may reference external arrays,
      	mark the head gfc_ss with flag 'array_outer_dependency'.
      testsuite/
      	* gfortran.dg/elemental_dependency_4.f90: New.
      	* gfortran.dg/elemental_dependency_5.f90: New.
      
      
      Co-Authored-By: Mikael Morin <mikael@gcc.gnu.org>
      
      From-SVN: r221586
      Paul Thomas committed
    • re PR rtl-optimization/64317 (Ineffective allocation of PIC base register) · af3eb110
             PR rtl-optimization/64317
              * Makefile.in (OBJS): Add gcse-common.c
              * gcse.c: Include gcse-common.h
              (struct modify_pair_s): Move structure definition to gcse-common.h
              (compute_transp): Move function to gcse-common.c.
              (canon_list_insert): Similarly.
              (record_last_mem_set_info): Break out some code and put it into
              gcse-common.c.  Call into the new common code.
              (compute_local_properties): Pass additional arguments to compute_transp.
              * postreload-gcse.c: Include gcse-common.h and df.h
              (modify_mem_list_set, blocks_with_calls): New variables.
              (modify_mem_list, canon_modify_mem_list, transp): Likewise.
              (get_bb_avail_insn): Pass in the expression index too.
              (alloc_mem): Allocate memory for the new bitmaps and lists.
              (free_mem): Free memory for the new bitmaps and lists.
              (insert_expr_in_table): Record a bitmap index for each entry we
              add to the table.
              (record_last_mem_set_info): Call into common code in gcse-common.c.
              (get_bb_avail_insn): If no available insn was found in the requested
              BB.  If BB has a single predecessor, see if the expression is
              transparent in BB and available in that single predecessor.
              (compute_expr_transp): New wrapper for compute_transp.
              (eliminate_partially_redundant_load): Pass expression's bitmap_index
              to get_bb_avail_insn.  Compute next_pred_bb_end a bit later.
              (gcse_after_reload_main): If there are elements in the hash table,
              then compute transparency for all the elements in the hash table.
              * gcse-common.h: New file.
              * gcse-common.c: New file.
      
      From-SVN: r221585
      Jeff Law committed
    • cpp.texi (Search Path): Hyphenate "command-line" when used as an adjective. · 4460b2dc
      2015-03-22  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/cpp.texi (Search Path): Hyphenate "command-line" when used
      	as an adjective.
      	(System Headers): Likewise.
      	(Ifdef): Likewise.
      	(Traditional macros): Likewise.
      	(Invocation): Likewise.
      	(Option Index): Likewise.
      	* doc/cppopts.texi (-M): Likewise.
      	(-finput-charset): Likewise.
      	(--help): Likewise.
      	* doc.invoke.texi (AVR Options): Likewise.
      	(V850 Options): Likewise.
      
      From-SVN: r221583
      Sandra Loosemore committed
    • re PR lto/65475 (ICE in odr_vtable_hasher::equal (Segmentation fault)) · b1905808
      
      	PR ipa/65475
      	* ipa-devirt.c: Include demangle.h
      	(odr_type_d): Add field rtti_broken.
      	(odr_subtypes_equivalent_p): Do not require name to match.
      	(compare_virtual_tables): Fix typo; if type already has ODR violation,
      	bypass the tests; be ready for function referneces in vtables that are
      	not DECL_VIRTUAL; make warnings to be OPT_Wodr.
      	(warn_odr): Give up for nameless types.
      	(warn_types_mismatch): Report mismatch in mangled names;
      	report mismatch in anonymous namespaces; look into component types to
      	give useful error; report when mismatch is dragged in from other ODR
      	type.
      	(odr_types_equivalent_p): Match types for being polymorphic; avoid
      	duplicated diagnostics.
      	(add_type_duplicate): Reorder checks so more informative ones come
      	first; fix typo; do not output "the extra base is defined here" when
      	we did not warn.
      	(BINFO_N_BASE_BINFOS): Relax sanity check.
      	* g++.dg/lto/pr65475b_0.C: New testcase.
      	* g++.dg/lto/pr65475b_1.C: New testcase.
      	* g++.dg/lto/pr65475c_0.C: New testcase.
      	* g++.dg/lto/pr65475c_1.C: New testcase.
      
      From-SVN: r221582
      Jan Hubicka committed
    • Daily bump. · 67e00dab
      From-SVN: r221581
      GCC Administrator committed
  3. 22 Mar, 2015 9 commits
    • Speed-up def_builtin_const (ix86_valid_target_attribute). · ff2362eb
      	* config/i386/i386.c (def_builtin): Set deferred_isa_values for
      	masks that can potentially include a builtin.
      	(ix86_add_new_builtins): Introduce fast filter for isa values
      	that cannot trigger builtin inclusion.
      
      From-SVN: r221577
      Martin Liska committed
    • IPA ICF: include hash values of references. · 3ab93359
      	* ipa-icf.c (sem_item::update_hash_by_addr_refs): New function.
      	(sem_item::update_hash_by_local_refs): Likewise.
      	(sem_variable::get_hash): Empty line is fixed.
      	(sem_item_optimizer::execute): Include adding of hash references.
      	(sem_item_optimizer::update_hash_by_addr_refs): New function.
      	(sem_item_optimizer::build_hash_based_classes): Use local hash.
      	* ipa-icf.h (sem_item::update_hash_by_addr_refs): New function.
      	(sem_item::update_hash_by_local_refs): Likewise.
      
      From-SVN: r221576
      Martin Liska committed
    • re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not… · 34d417be
      re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE)
      
      2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/59513
      	* gfortran.texi (Read/Write after EOF marker): New information.
      
      From-SVN: r221575
      Jerry DeLisle committed
    • re PR ipa/65502 (pure-const should play well with clobbers.) · dcbde1f8
      
      	PR ipa/65502
      	* ipa-comdats.c (enqueue_references): Walk through thunks.
      	(ipa_comdats): Likewise.
      	(set_comdat_group_1): New function.
      
      From-SVN: r221574
      Jan Hubicka committed
    • add forgoten entry. · a6bfa7c7
      From-SVN: r221573
      Jan Hubicka committed
    • re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not… · 4bfbd309
      re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE)
      
      2015-03-22 Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/59513
      	* io/transfer.c (data_transfer_init): Do not error for
      	-std=legacy.
      
      From-SVN: r221572
      Jerry DeLisle committed
    • contrib.texi (Contributors): Update entry for Danny Smith. · ac48a1ba
      	* doc/contrib.texi (Contributors): Update entry for Danny Smith.
      
      Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
      
      From-SVN: r221570
      Dave Korn committed
    • nios2-protos.h (nios2_adjust_call_address): Adjust function parameter declaration. · a866d527
      2015-03-21  Chung-Lin Tang  <cltang@codesourcery.com>
      	    Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* config/nios2/nios2-protos.h (nios2_adjust_call_address): Adjust
      	function parameter declaration.
      	* config/nios2/nios2.md (call,call_value,sibcall,sibcall_value):
      	Update arguments to nios2_adjust_call_address().
      	(sibcall_internal): Rename from *sibcall.
      	(sibcall_value_internal): Rename from *sibcall_value.
      	* config/nios2/nios2.c (nios2_emit_add_constant): New function.
      	(nios2_large_got_address): Add target temp reg parameter.
      	(nios2_got_address): Adjust call to nios2_large_got_address, add
      	force_reg around it.
      	(nios2_load_pic_address): Add target temp reg parameter, replace call
      	to nios2_got_address with corresponding code.
      	(nios2_legitimize_constant_address): Update call to
      	nios2_load_pic_address.
      	(nios2_adjust_call_address): Add temp reg parameter, update PIC case
      	to use temp reg for PIC loading purposes.
      	(nios2_asm_output_mi_thunk): Implement TARGET_ASM_OUTPUT_MI_THUNK.
      	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
      	(TARGET_ASM_OUTPUT_MI_THUNK): Likewise.
      
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r221569
      Chung-Lin Tang committed
    • Daily bump. · f409ce4c
      From-SVN: r221568
      GCC Administrator committed
  4. 21 Mar, 2015 5 commits
    • invoke.texi (-fno-diagnostics-show-caret): Fix usage of "the @option{...}". · 6d5c05f0
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fno-diagnostics-show-caret): Fix
      	usage of "the @option{...}".
      	(-Wopenmp-simd): Likewise.
      	(-fsanitize-recover): Likewise.
      	(-fsanitize-undefined-trap-on-error): Likewise.
      	(-flto): Likewise.
      	(tracer-dynamic-coverage-feedback): Likewise.
      	(reorder-block-duplicate-feedback): Likewise.
      	(loop-unroll-jam-size): Likewise.
      	(-B): Likewise.
      	(-I-): Likewise.
      	(-mabs=legacy): Likewise.
      	(-mupper-regs-df): Likewise.
      	(-mupper-regs-sf): Likewise.
      	(-mpointers-to-nested-functions): Likewise.
      
      From-SVN: r221564
      Sandra Loosemore committed
    • extend.texi (Cilk Plus Builtins): Add markup. · ce805a8d
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/extend.texi (Cilk Plus Builtins): Add markup.
      
      From-SVN: r221559
      Sandra Loosemore committed
    • invoke.texi (-fcheck-pointer-bounds): Copy-edit, add additional index entries and cross-references. · 7651042e
      2015-03-21  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fcheck-pointer-bounds): Copy-edit, add
      	additional index entries and cross-references.
      	(-fchkp-check-incomplete-type): Likewise.
      	(-fchkp-first-field-has-own-bounds): Likewise.
      	(-fchkp-narrow-to-innermost-array): Likewise.
      	(-fchkp-use-fast-string-functions): Likewise.
      	(-fchkp-use-nochk-string-functions): Likewise.
      	(-fchkp-use-static-const-bounds): Likewise.
      	(-fchkp-treat-zero-dynamic-size-as-infinite): Likewise.
      	(-fchkp-instrument-marked-only): Likewise.
      	(-fchkp-use-wrappers): Likewise.
      	(-static-libmpx): Likewise.
      	(-static-libmpxwrappers): Likewise.
      	* doc/extend.texi (bnd_legacy): Likewise.
      	(bnd_instrument): Likewise.
      	(bnd_variable_size): Likewise.
      	(Pointer Bounds Checker builtins): Likewise.
      
      From-SVN: r221558
      Sandra Loosemore committed
    • reduction-4.c: Don't run on hppa*-*-hpux*. · 844d9a76
      	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on
      	hppa*-*-hpux*.
      
      From-SVN: r221557
      John David Anglin committed
    • Fix ChangeLog year · 7ce3cec7
      From-SVN: r221554
      Mikael Morin committed