Skip to content
Snippets Groups Projects
  1. Dec 06, 2013
    • Uros Bizjak's avatar
      re PR target/59405 (Incorrect FP<->MMX transition during call/ret) · 6b3d1113
      Uros Bizjak authored
      	PR target/59405
      	* config/i386/i386.c (type_natural_mode): Properly handle
      	size 8 for !TARGET_64BIT.
      
      testsuite/ChangeLog:
      
      	PR target/59405
      	* gcc.target/i386/pr59405.c: New test.
      
      From-SVN: r205753
      6b3d1113
    • Ralf Corsepius's avatar
      config.host (microblaze-*-rtems*): New. · 3fa2ccb4
      Ralf Corsepius authored
      2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
      
      	* config.host (microblaze-*-rtems*): New.
      
      From-SVN: r205751
      3fa2ccb4
    • Trevor Saunders's avatar
      remove an unneeded vec.release () to unbreak lto bootstrap · 7b823b4f
      Trevor Saunders authored
      From-SVN: r205750
      7b823b4f
    • Ian Bolton's avatar
      [ARM] Add __builtin_trap support for A32 · 60ea4be6
      Ian Bolton authored
      
      Co-Authored-By: default avatarMark Mitchell <mark@codesourcery.com>
      
      From-SVN: r205749
      60ea4be6
    • Jakub Jelinek's avatar
      elf.c (ET_DYN): Undefine and define again. · 0284b52e
      Jakub Jelinek authored
      	* elf.c (ET_DYN): Undefine and define again.
      	(elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
      	return early -1 without closing the descriptor.
      	(struct phdr_data): Add exe_descriptor.
      	(phdr_callback): If pd->exe_descriptor is not -1, for very first
      	call if dlpi_name is NULL just call elf_add with the exe_descriptor,
      	otherwise backtrace_close the exe_descriptor if not -1.  Adjust
      	call to elf_add.
      	(backtrace_initialize): Adjust call to elf_add.  If it returns
      	-1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
      
      From-SVN: r205748
      0284b52e
    • Bernd Edlinger's avatar
      expr.c (expand_assignment): Update bitregion_start and bitregion_end. · 26c096c3
      Bernd Edlinger authored
      2013-12-06  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * expr.c (expand_assignment): Update bitregion_start and
              bitregion_end.
      
      From-SVN: r205745
      26c096c3
    • H.J. Lu's avatar
      Use int64 on time and clock for x32 · 079db27b
      H.J. Lu authored
      	* sanitizer_common/sanitizer_platform_limits_posix.h
      	(__sanitizer_shmid_ds): Use u64 on time fields for x32.
      	(__sanitizer_clock_t): Use long long for x32.
      
      From-SVN: r205737
      079db27b
    • H.J. Lu's avatar
      Include <sys/stat.h> if __x86_64__ is defined · 7efb96c0
      H.J. Lu authored
      	* sanitizer_common/sanitizer_platform_limits_linux.cc: Include
      	<sys/stat.h>, instead of <asm/stat.h>, if __x86_64__ is defined.
      	(struct___old_kernel_stat_sz): Don't check if __x86_64__ is defined.
      
      From-SVN: r205736
      7efb96c0
    • Eric Botcazou's avatar
      re PR target/59316 (gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC) · fde66fde
      Eric Botcazou authored
      	PR target/59316
      	* config/sparc/sparc.h (SPARC_LOW_FE_EXCEPT_VALUES): Define.
      	* config/sparc/sol2.h (SPARC_LOW_FE_EXCEPT_VALUES): Redefine.
      	* config/sparc/sparc.c (TARGET_INIT_BUILTINS): Move around.
      	(TARGET_BUILTIN_DECL): Define.
      	(TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Likewise.
      	(sparc32_initialize_trampoline): Adjust call to gen_flush.
      	(enum sparc_builtins): New enumeral type.
      	(sparc_builtins): New static array.
      	(sparc_builtins_icode): Likewise.
      	(def_builtin): Accept a separate icode and save the result.
      	(def_builtin_const): Likewise.
      	(sparc_fpu_init_builtins): New function.
      	(sparc_vis_init_builtins): Pass the builtin code.
      	(sparc_init_builtins): Call it if TARGET_FPU.
      	(sparc_builtin_decl): New function.
      	(sparc_expand_builtin): Deal with SPARC_BUILTIN_{LD,ST}FSR.
      	(sparc_handle_vis_mul8x16): Use the builtin code.
      	(sparc_fold_builtin): Likewise.  Deal with SPARC_BUILTIN_{LD,ST}FSR
      	and SPARC_BUILTIN_PDISTN.
      	(compound_expr): New helper function.
      	(sparc_atomic_assign_expand_fenv): New function.
      	* config/sparc/sparc.md (unspecv): Reorder values, add UNSPECV_LDFSR
      	and UNSPECV_STFSR.
      	(flush, flushdi): Merge into single pattern.
      	(ldfsr): New instruction.
      	(stfsr): Likewise.
      
      From-SVN: r205735
      fde66fde
    • Oleg Endo's avatar
      asan.c: Remove struct tags when referring to class varpool_node. · 2c8326a5
      Oleg Endo authored
      	* asan.c: Remove struct tags when referring to class varpool_node.
      	* cgraph.h: Likewise.
      	* cgraphbuild.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* dbxout.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* gimple-fold.c: Likewise.
      	* ipa-devirt.c: Likewise.
      	* ipa-ref-inline.h: Likewise.
      	* ipa-ref.h: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.h: Likewise.
      	* passes.c: Likewise.
      	* toplev.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree.c: Likewise.
      	* varasm.c: Likewise.
      	* varpool.c: Likewise.
      
      	* cp/decl2.c: Remove struct tags when referring to class varpool_node.
      
      	* lto/lto.c: Remove struct tags when referring to class varpool_node.
      	* lto/lto-partition.c: Likewise.
      	* lto/lto-symtab.c: Likewise.
      
      From-SVN: r205733
      2c8326a5
    • Oleg Endo's avatar
      cgraphunit.c: Remove struct tags when referring to class ipa_opt_pass_d or class opt_pass. · 6a5ac314
      Oleg Endo authored
      	* cgraphunit.c: Remove struct tags when referring to class
      	ipa_opt_pass_d or class opt_pass.
      	* function.h: Likewise.
      	* lto-cgraph.c: Likewise.
      	* pass_manager.h: Likewise.
      	* passes.c: Likewise.
      	* tree-pass.h: Likewise.
      
      From-SVN: r205732
      6a5ac314
    • Rainer Orth's avatar
      Provide _M_2_SQRTPI if missing. · 041508a2
      Rainer Orth authored
      	* intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing.
      
      From-SVN: r205731
      041508a2
    • Richard Biener's avatar
      re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) · 95b3eff3
      Richard Biener authored
      2013-12-06  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/59058
      	* tree-vectorizer.h (struct _loop_vec_info): Add num_itersm1
      	member.
      	(LOOP_VINFO_NITERSM1): New macro.
      	* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Express
      	the vector loop entry test in terms of scalar latch executions.
      	(vect_do_peeling_for_alignment): Update LOOP_VINFO_NITERSM1.
      	* tree-vect-loop.c (vect_get_loop_niters): Also return the
      	number of latch executions.
      	(new_loop_vec_info): Initialize LOOP_VINFO_NITERSM1.
      	(vect_analyze_loop_form): Likewise.
      	(vect_generate_tmps_on_preheader): Compute the number of
      	vectorized iterations differently.
      
      	* gcc.dg/torture/pr59058.c: New testcase.
      
      From-SVN: r205730
      95b3eff3
    • Richard Biener's avatar
      inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h being not compatible with C++. · 3fc92e70
      Richard Biener authored
      2013-12-06  Richard Biener  <rguenther@suse.de>
      
      	* inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h
      	being not compatible with C++.
      	* tests/base/linux/vt.h: New test.
      
      From-SVN: r205729
      3fc92e70
    • Jan-Benedict Glaw's avatar
      score.c (score_force_temporary): Delete function. · 7376f397
      Jan-Benedict Glaw authored
      2013-12-05  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
      
      	* config/score/score.c (score_force_temporary): Delete function.
      	(score_split_symbol): Ditto.
      	* config/score/score.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add extra
      	parentheses to silence ambiguity warning and reindent.
      
      From-SVN: r205727
      7376f397
    • GCC Administrator's avatar
      Daily bump. · 46ba9c21
      GCC Administrator authored
      From-SVN: r205726
      46ba9c21
  2. Dec 05, 2013
    • Paolo Carlini's avatar
      pr15774-1.C: Adjust expected message. · c48ff202
      Paolo Carlini authored
      2013-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/warn/pr15774-1.C: Adjust expected message.
      
      From-SVN: r205722
      c48ff202
    • Marek Polacek's avatar
      invoke.texi: Document -fsanitize=signed-integer-overflow. · 5ba505e7
      Marek Polacek authored
      2013-12-05  Marek Polacek  <polacek@redhat.com>
      
      	* doc/invoke.texi: Document -fsanitize=signed-integer-overflow.
      
      From-SVN: r205721
      5ba505e7
    • Jason Merrill's avatar
      re PR c++/59044 (Internal compiler error triggers when accessing a typedef in... · 5cc2edcd
      Jason Merrill authored
      re PR c++/59044 (Internal compiler error triggers when accessing a typedef in a specialized member class)
      
      	PR c++/59044
      	PR c++/59052
      	* pt.c (most_specialized_class): Use the partially instantiated
      	template for deduction.  Drop the TMPL parameter.
      
      From-SVN: r205720
      5cc2edcd
    • H.J. Lu's avatar
      Add -march=ia to x86 backend · a8f014d7
      H.J. Lu authored
      	* config.gcc: Support --with-cpu=ia.
      
      	* config/i386/i386.c (cpu_names): Add "ia".
      	(processor_alias_table): Likewise.
      	(ix86_option_override_internal): Disallow -march=ia.
      	* config/i386/i386.h (target_cpu_default): Add
      	TARGET_CPU_DEFAULT_ia.
      
      	* doc/invoke.texi: Document -mtune=ia.
      
      From-SVN: r205719
      a8f014d7
    • Vladimir Makarov's avatar
      re PR rtl-optimization/59317 ([LRA,MIPS] ICE: in check_rtl, at lra.c (insn... · 58532ca6
      Vladimir Makarov authored
      re PR rtl-optimization/59317 ([LRA,MIPS] ICE: in check_rtl, at lra.c (insn does not satisfy constraints))
      
      2013-12-05  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59317
      	* lra-constraints.c (in_class_p): Don't ignore insn with constant
      	as a source.
      
      2013-12-05  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/59317
      	* testsuite/gcc.target/mips/pr59317.c: New.
      
      From-SVN: r205718
      58532ca6
    • Ian Lance Taylor's avatar
      alloc.c (backtrace_vector_finish): Add error_callback and data parameters. · bfd74f22
      Ian Lance Taylor authored
      	* alloc.c (backtrace_vector_finish): Add error_callback and data
      	parameters.  Call backtrace_vector_release.  Return address base.
      	* mmap.c (backtrace_vector_finish): Add error_callback and data
      	parameters.  Return address base.
      	* dwarf.c (read_function_info): Get new address base from
      	backtrace_vector_finish.
      	* internal.h (backtrace_vector_finish): Update declaration.
      
      From-SVN: r205716
      bfd74f22
    • Martin Jambor's avatar
      re PR ipa/58253 (IPA-SRA creates calls with different arguments that the callee accepts) · e69dbe37
      Martin Jambor authored
      2013-12-05  Martin Jambor  <mjambor@suse.cz>
      
      	PR ipa/58253
      	* ipa-prop.c (ipa_modify_formal_parameters): Create decls of
      	non-BLKmode in their naturally aligned type.
      
      From-SVN: r205715
      e69dbe37
    • Marek Polacek's avatar
      re PR sanitizer/59333 (ICE with long long and -m32 -fsanitize=undefined) · 1769415d
      Marek Polacek authored
      	PR sanitizer/59333
      	PR sanitizer/59397
      	* ubsan.c: Include rtl.h and expr.h.
      	(ubsan_encode_value): Add new parameter.  If expanding, assign
      	a stack slot for DECL_RTL of the temporary and call expand_assignment.
      	Handle BOOLEAN_TYPE and ENUMERAL_TYPE.
      	(ubsan_build_overflow_builtin): Adjust ubsan_encode_value call.
      	* ubsan.h (ubsan_encode_value): Adjust declaration.
      	* internal-fn.c (ubsan_expand_si_overflow_addsub_check): Move
      	ubsan_build_overflow_builtin above expand_normal call.  Surround this call
      	with push_temp_slots and pop_temp_slots.
      	(ubsan_expand_si_overflow_neg_check): Likewise.
      	(ubsan_expand_si_overflow_mul_check): Likewise.
      testsuite/
      	* c-c++-common/ubsan/pr59333.c: New test.
      	* c-c++-common/ubsan/pr59397.c: New test.
      
      From-SVN: r205714
      1769415d
    • Yufeng Zhang's avatar
      gimple-ssa-strength-reduction.c (find_basis_for_candidate): Guard the... · 8fde427f
      Yufeng Zhang authored
      gimple-ssa-strength-reduction.c (find_basis_for_candidate): Guard the get_alternative_base call with flag_expensive_optimizations.
      
      gcc/
      
      	* gimple-ssa-strength-reduction.c (find_basis_for_candidate): Guard
      	the get_alternative_base call with flag_expensive_optimizations.
      	(alloc_cand_and_find_basis): Likewise.
      
      From-SVN: r205713
      8fde427f
    • Tejas Belagod's avatar
      Eliminate redundant vec_select moves. · 8c895291
      Tejas Belagod authored
      gcc/
              * rtlanal.c (set_noop_p): Return nonzero in case of redundant vec_select for
              overlapping register lanes.
      
      testsuite/
              * config/gcc.dg/vect/vect-nop-move.c: New.
      
      From-SVN: r205712
      8c895291
    • Ian Lance Taylor's avatar
      Revert this change; no longer required. · 601a5921
      Ian Lance Taylor authored
      	2013-11-06  Ian Lance Taylor  <iant@google.com>
      
      	* go-lang.c (go_langhook_post_options): If
      	-fisolate-erroneous-paths was turned on by an optimization option,
      	turn it off.
      
      From-SVN: r205711
      601a5921
    • H.J. Lu's avatar
      Add -lm to link_sanitizer_common · df9d1700
      H.J. Lu authored
      	* configure.ac (link_sanitizer_common): Add -lm.
      	* configure: Regenerated.
      
      From-SVN: r205710
      df9d1700
    • Kirill Yukhin's avatar
      i386.c (ix86_expand_builtin): Generate reg for readflags built-in when optimizing. · 1c0f1f46
      Kirill Yukhin authored
              * config/i386/i386.c (ix86_expand_builtin): Generate
              reg for readflags built-in when optimizing.
              * config/i386/i386.md (*pushfl<mode>): Rename to ...
              (pushfl<mode>2): This. Fix iterator.
              (*popfl<mode>): Rename to ...
              (*popfl<mode>1): This. Fix iterator.
      
      From-SVN: r205707
      1c0f1f46
    • Marek Polacek's avatar
      c-common.c (c_sizeof_or_alignof_type): Move a declaration into [ADJUST_FIELD_ALIGN]. · 9e36c9ed
      Marek Polacek authored
      2013-12-05  Marek Polacek  <polacek@redhat.com>
      
      c-family/
      	* c-common.c (c_sizeof_or_alignof_type): Move a declaration into
      	[ADJUST_FIELD_ALIGN].
      
      From-SVN: r205705
      9e36c9ed
    • Max Ostapenko's avatar
      atomic_stack.c: New test. · 85826504
      Max Ostapenko authored
      2013-12-05  Max Ostapenko  <m.ostapenko@partner.samsung.com>
      
      	* c-c++-common/tsan/atomic_stack.c: New test.
      	* c-c++-common/tsan/fd_pipe_race.c: New test.
      	* c-c++-common/tsan/free_race.c: New test.
      	* c-c++-common/tsan/mutexset1.c: New test.
      	* c-c++-common/tsan/race_on_barrier.c: New test.
      	* c-c++-common/tsan/sleep_sync.c: New test.
      	* c-c++-common/tsan/thread_leak.c: New test.
      	* c-c++-common/tsan/thread_leak1.c: New test.
      	* c-c++-common/tsan/thread_leak2.c: New test.
      	* c-c++-common/tsan/tiny_race.c: New test.
      	* c-c++-common/tsan/tls_race.c: New test.
      	* c-c++-common/tsan/write_in_reader_lock.c: New test.	
      	* lib/tsan-dg.exp: New file.
      	* gcc.dg/tsan/tsan.exp: New file.
      	* g++.dg/tsan/tsan.exp: New file.
      	* g++.dg/dg.exp: Prune tsan subdirectory.
      
      From-SVN: r205704
      85826504
    • Kirill Yukhin's avatar
      i386.c (IX86_BUILTIN_READ_FLAGS): New. · 9bbd48d1
      Kirill Yukhin authored
      ChangeLog/
              * config/i386/i386.c(IX86_BUILTIN_READ_FLAGS): New.
      	(IX86_BUILTIN_WRITE_FLAGS): Ditto.
      	(ix86_init_mmx_sse_builtins): Define
      	__builtin_ia32_writeeflags_u32, __builtin_ia32_writeeflags_u64,
      	__builtin_ia32_readeflags_u32, __builtin_ia32_readeflags_u64.
      	(ix86_expand_builtin): Expand them.
      	* config/i386/ia32intrin.h (__readeflags): New.
      	(__writeeflags): Ditto.
      	* gcc/config/i386/i386.md (*pushfl<mode>): Ditto.
      	(*popfl<mode>1): Ditto.
      
      testsuite/ChangeLog/
              * gcc.target/i386/readeflags-1.c: New.
              * gcc.target/i386/writeeflags-1.c: Ditto.
      
      From-SVN: r205703
      9bbd48d1
    • Jakub Jelinek's avatar
      Add forgotten file. · 46db94aa
      Jakub Jelinek authored
      From-SVN: r205701
      46db94aa
    • Kostya Serebryany's avatar
      libsanitizer merge from upstream r196489 · c4c16f74
      Kostya Serebryany authored
      From-SVN: r205700
      c4c16f74
    • Yury Gribov's avatar
      re PR sanitizer/59369 (c-c++-common/asan/pr59063-[1,2].c fails on darwin) · 022351a2
      Yury Gribov authored
      2013-12-05  Yury Gribov  <y.gribov@samsung.com>
      
      	PR sanitizer/59369
      	* c-c++-common/asan/pr59063-1.c: Disable on non-Linux platforms.
      	* c-c++-common/asan/pr59063-2.c: Likewise.
      
      From-SVN: r205699
      022351a2
    • Yury Gribov's avatar
      re PR sanitizer/59368 (libsanitizer spec file installed in the wrong place) · 666ee4d6
      Yury Gribov authored
      2013-12-05  Yury Gribov  <y.gribov@samsung.com>
      
      	PR sanitizer/59368
      	* Makefile.am (gcc_version): Added gcc_version.
      	* Makefile.in: Regenerate.
      
      From-SVN: r205698
      666ee4d6
    • Paolo Carlini's avatar
      decl.c (duplicate_decls): Replace pairs of errors and permerrors with error +... · 23644e8c
      Paolo Carlini authored
      decl.c (duplicate_decls): Replace pairs of errors and permerrors with error + inform (permerror + inform...
      
      /cp
      2013-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* decl.c (duplicate_decls): Replace pairs of errors and permerrors
      	with error + inform (permerror + inform, respectively).
      
      /testsuite
      2013-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/cpp0x/constexpr-46336.C: Adjust expected messages.
      	* g++.dg/cpp0x/defaulted2.C: Likewise.
      	* g++.dg/cpp1y/auto-fn8.C: Likewise.
      	* g++.dg/gomp/udr-3.C: Likewise.
      	* g++.dg/lookup/extern-c-redecl5.C: Likewise.
      	* g++.dg/lookup/linkage1.C: Likewise.
      	* g++.dg/overload/new1.C: Likewise.
      	* g++.dg/parse/friend5.C: Likewise.
      	* g++.dg/parse/namespace-alias-1.C: Likewise.
      	* g++.dg/parse/namespace10.C: Likewise.
      	* g++.dg/parse/redef2.C: Likewise.
      	* g++.dg/template/friend44.C: Likewise.
      	* g++.old-deja/g++.brendan/crash42.C: Likewise.
      	* g++.old-deja/g++.brendan/crash52.C: Likewise.
      	* g++.old-deja/g++.brendan/crash55.C: Likewise.
      	* g++.old-deja/g++.jason/overload21.C: Likewise.
      	* g++.old-deja/g++.jason/overload5.C: Likewise.
      	* g++.old-deja/g++.jason/redecl1.C: Likewise.
      	* g++.old-deja/g++.law/arm8.C: Likewise.
      	* g++.old-deja/g++.other/main1.C: Likewise.
      
      From-SVN: r205697
      23644e8c
    • Richard Biener's avatar
      re PR tree-optimization/56787 (Vectorization fails because of CLOBBER statements) · fd9cf409
      Richard Biener authored
      2013-12-05  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/56787
      	* gcc.dg/vect/pr56787.c: Adjust to not require vector float
      	division.
      
      From-SVN: r205696
      fd9cf409
    • Kostya Serebryany's avatar
      libsanitizer merge from upstream r196090 · df77f0e4
      Kostya Serebryany authored
      From-SVN: r205695
      df77f0e4
    • Richard Biener's avatar
      re PR tree-optimization/59374 (-ftree-slp-vectorize breaks unique_ptr's move constructor) · 649d196d
      Richard Biener authored
      2013-12-05  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/59374
      	* tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence):
      	Commonize known and unknown dependence case fixing the allowed
      	read-write dependence case and dropping code that should not
      	matter.
      
      	* gcc.dg/torture/pr59374-1.c: New testcase.
      	* gcc.dg/torture/pr59374-2.c: Likewise.
      
      From-SVN: r205694
      649d196d
Loading