Skip to content
Snippets Groups Projects
  1. Nov 21, 2012
    • H.J. Lu's avatar
      Document __SANITIZE_ADDRESS__ · b4b401d2
      H.J. Lu authored
      	* doc/cpp.texi: Document __SANITIZE_ADDRESS__.
      
      From-SVN: r193705
      b4b401d2
    • H.J. Lu's avatar
      Define __SANITIZE_ADDRESS__ for -fsanitize=address · 70e0bf7b
      H.J. Lu authored
      	PR c/55397
      	* cppbuiltin.c (define_builtin_macros_for_compilation_flags):
      	Define __SANITIZE_ADDRESS__ for flag_asan.
      
      From-SVN: r193704
      70e0bf7b
    • Wei Mi's avatar
      common.opt: Change faddress-sanitizer to fsanitize=address. · dde19676
      Wei Mi authored
      	* common.opt: Change faddress-sanitizer to fsanitize=address.
      	* toplev.c (process_options): Likewise.
      	* gcc.c (LINK_COMMAND_SPEC): Likewise.
      	* testsuite/lib/asan-dg.exp
      	(check_effective_target_faddress_sanitizer): Likewise.
      	(asan_init): Likewise.
      	* doc/invoke.texi (-fsanitize=address): Document.
      
      From-SVN: r193702
      dde19676
    • Martin Jambor's avatar
      ipa-prop.h (struct ipa_node_params): Rename clone_for_all_contexts to do_clone_for_all_contexts. · eb20b778
      Martin Jambor authored
      2012-11-21  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.h (struct ipa_node_params): Rename clone_for_all_contexts to
      	do_clone_for_all_contexts.  Update all uses.  New flag
      	is_all_contexts_clone.
      	* ipa-cp.c (cgraph_edge_brings_value_p): Also consider the case when cs
      	leads to the clone for all contexts.
      	(perhaps_add_new_callers): Likewise.
      	(decide_whether_version_node): Remove bogus !plats->aggs test.  Set
      	is_all_contexts_clone when cloning for all contexts.
      
      	* testsuite/gcc.dg/ipa/ipcp-agg-7.c: New test.
      	* testsuite/gcc.dg/ipa/ipcp-agg-8.c: Likewise.
      
      From-SVN: r193701
      eb20b778
    • Martin Jambor's avatar
      re PR tree-optimization/55260 (ICE: in ipa_get_parm_lattices, at ipa-cp.c:263... · 7e9f2b6e
      Martin Jambor authored
      re PR tree-optimization/55260 (ICE: in ipa_get_parm_lattices, at ipa-cp.c:263 with -O2 -fno-inline -fipa-cp-clone)
      
      2012-11-21  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/55260
      	* ipa-cp.c (intersect_aggregates_with_edge): New function.
      	(find_aggregate_values_for_callers_subset): Part moved to the function
      	above.  Call it.
      	(cgraph_edge_brings_all_agg_vals_for_node): Reimplemented using
      	intersect_aggregates_with_edge.
      
      	* testsuite/g++.dg/torture/pr55260-2.C: New test.
      
      From-SVN: r193700
      7e9f2b6e
    • Matthias Klose's avatar
      t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES. · 3358fd40
      Matthias Klose authored
      2012-11-21  Matthias Klose  <doko@ubuntu.com>
      
              * config/s390/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
      
      From-SVN: r193699
      3358fd40
    • Kostya Serebryany's avatar
      extend libsanitizer/README.gcc · 5cba83a8
      Kostya Serebryany authored
      From-SVN: r193698
      5cba83a8
    • Teresa Johnson's avatar
      re PR gcov-profile/55417 (AddressSanitizer reports stack-buffer-overflow in profiling code) · aaaefb9d
      Teresa Johnson authored
      	PR gcov-profile/55417
      	* profile.c (compute_working_sets): Check index first
      	to avoid out-of-bounds array access.
      
      From-SVN: r193697
      aaaefb9d
    • Tobias Burnus's avatar
      re PR libquadmath/55225 (Fail to build lgammaq.c from trunk with mingw-w64) · 5a09d908
      Tobias Burnus authored
      2012-11-21  Tobias Burnus  <burnus@net-b.de>
      
              PR libquadmath/55225
              * math/lgammaq.c (lgammaq): Use local variable if
              math.h does not provide signgam.
              * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
              * configure.ac: Use it.
              * configure: Regenerate.
              * config.h.in: Regenerate.
      
      From-SVN: r193695
      5a09d908
    • Matthias Klose's avatar
      t-aarch64-linux: Define MULTIARCH_DIRNAME for linux target. · d80556b2
      Matthias Klose authored
      2012-11-21  Matthias Klose  <doko@ubuntu.com>
      
              * config/aarch64/t-aarch64-linux: Define MULTIARCH_DIRNAME for
              linux target.
      
      From-SVN: r193694
      d80556b2
    • Uros Bizjak's avatar
      * config/i386/i386.md · 015a2622
      Uros Bizjak authored
      	(*float<SWI48x:mode><MODEF:mode>2_mixed_with_temp): Use SWI48 mode
      	iterator instead of SWI48x.  Update insn constraint.
      	(*float<SWI48x:mode><MODEF:mode>2_mixed_interunit): Ditto.
      	(*float<SWI48x:mode><MODEF:mode>2_mixed_nointerunit): Ditto.
      	(*float<SWI48x:mode><MODEF:mode>2_sse_with_temp): Ditto.
      	(*float<SWI48x:mode><MODEF:mode>2_sse_interunit): Ditto.
      	(*float<SWI48x:mode><MODEF:mode>2_sse_nointerunit): Ditto.
      	(*float<SWI48x:mode><MODEF:mode>2 splitters): Ditto.
      	(lrint<MODEF:mode><SWI48x:mode>2): Ditto.
      
      From-SVN: r193692
      015a2622
    • Marcus Shawcroft's avatar
      Fix parallel build race. · c3e3d235
      Marcus Shawcroft authored
      gengtype-lex.c is built twice, once for BUILD and once for HOST, but
      the BUILD flavour is missing a dependency on $(BCONFIG_H).
      
      2012-11-21  Marcus Shawcroft  <marcus.shawcroft@arm.com>
      
      	* Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H).
      
      From-SVN: r193691
      c3e3d235
    • Martin Jambor's avatar
      pr55238.c: Remove hidden attribute. · deadf3ad
      Martin Jambor authored
      2012-11-21  Martin Jambor  <mjambor@suse.cz>
      
      	* gcc.dg/torture/pr55238.c: Remove hidden attribute.
      
      From-SVN: r193690
      deadf3ad
    • Ian Lance Taylor's avatar
      libgo: Update to current version of master library. · fabcaa8d
      Ian Lance Taylor authored
      From-SVN: r193688
      fabcaa8d
    • Bin Cheng's avatar
      * config/arm/arm-cores.def (cortex-m1, cortex-m0) · a51fb17f
      Bin Cheng authored
      	(cortex-m0plus): Use v6m.
      	* config/arm/arm-protos.h (tune_params): Add
      	logical_op_non_short_circuit.
      	* config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune)
      	(arm_strongarm_tune, arm_xscale_tune, arm_9e_tune, arm_v6t2_tune)
      	(arm_cortex_tune, arm_cortex_a15_tune, arm_cortex_a5_tune)
      	(arm_cortex_a9_tune, arm_fa726te_tune): Set
      	logical_op_non_short_circuit field.
      	(arm_v6m_tune): New tune_params struct.
      	* config/arm/arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define.
      
      	* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Skip on ARM Cortex-M0.
      	* gcc.dg/tree-ssa/vrp47.c: Ditto.
      
      From-SVN: r193687
      a51fb17f
    • Matthias Klose's avatar
      configure.ac: Substitute `with_cpu'. · d757eae9
      Matthias Klose authored
      2012-11-20  Matthias Klose  <doko@ubuntu.com>
      
              * configure.ac: Substitute `with_cpu'.
              * configure: Regenerate.
              * Makefile.in: Define `with_cpu'.
              * config/rs6000/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
              * config/rs6000/t-linux: New file; define MULTIARCH_DIRNAME.
              * config/rs6000/t-fprules (SOFT_FLOAT_CPUS): New macro. Add e300c2
              to the list.
              (MULTILIB_MATCHES_FLOAT): Define in terms of SOFT_FLOAT_CPUS.
              * config/rs6000/t-spe: Define MULTIARCH_DIRNAME.
              * config.gcc <powerpc-*-linux* | powerpc64-*-linux*> (tmake_file):
              Include rs6000/t-linux for 32bit non-biarch configurations.
      
      From-SVN: r193686
      d757eae9
    • Matthias Klose's avatar
      install.texi: Move multiarch paragraph out of multilib documentation. · f4d9c89a
      Matthias Klose authored
      2012-11-20  Matthias Klose  <doko@ubuntu.com>
      
              * doc/install.texi: Move multiarch paragraph out of multilib
              documentation.
      
      From-SVN: r193685
      f4d9c89a
    • GCC Administrator's avatar
      Daily bump. · b61e0a0e
      GCC Administrator authored
      From-SVN: r193684
      b61e0a0e
  2. Nov 20, 2012
    • Matthias Klose's avatar
      t-linux-eabi: Define MULTIARCH_DIRNAME for linux target. · abb00bb3
      Matthias Klose authored
      2012-11-20  Matthias Klose  <doko@ubuntu.com>
      
              * config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.
      
      From-SVN: r193681
      abb00bb3
    • Richard Sandiford's avatar
      stor-layout.c (bit_field_mode_iterator::next_mode): Fix signedness. · ec593a8f
      Richard Sandiford authored
      gcc/
      	* stor-layout.c (bit_field_mode_iterator::next_mode): Fix signedness.
      
      From-SVN: r193680
      ec593a8f
    • Vladimir Makarov's avatar
      re PR rtl-optimization/55396 (-O2 -m32 -fno-omit-frame-pointer: internal... · 341e19df
      Vladimir Makarov authored
      re PR rtl-optimization/55396 (-O2 -m32 -fno-omit-frame-pointer: internal compiler error: in check_rtl, at lra.c:2007)
      
      2012-11-20  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/55396
      	* lra-constraints.c (get_reload_reg): Change class if it is
      	different from reg class.
      
      From-SVN: r193678
      341e19df
    • Diego Novillo's avatar
      Introduce vNULL to use as a nil initializer for vec<>. · 6e1aa848
      Diego Novillo authored
      
      This patch implements Jakub's idea of adding an empty struct with
      a typecast operator that returns nil vectors.  This is useful to
      shorten all the initializers when declaring vec instances or passing
      nil vectors as function arguments.
      
      2012-11-20  Diego Novillo  <dnovillo@google.com>
      	    Jakub Jelinek  <jakub@redhat.com>
      
      ChangeLog
      	* vec.h (struct vnull): Declare.
      	(vNULL): Declare.
      	* vec.c (vNULL): Define.
      	* bb-reorder.c: Replace all vec<T, A>() initializers with vNULL.
      	* cfgexpand.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloopanal.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraph.c: Likewise.
      	* config/c6x/c6x.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* df-core.c: Likewise.
      	* dominance.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* except.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* genautomata.c: Likewise.
      	* graphds.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline-analysis.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ira-build.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* opts-global.c: Likewise.
      	* passes.c: Likewise.
      	* ree.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched-ir.h: Likewise.
      	* sel-sched.c: Likewise.
      	* stor-layout.c: Likewise.
      	* trans-mem.c: Likewise.
      	* tree-call-cdce.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-diagnostic.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-stdarg.c: Likewise.
      	* tree-switch-conversion.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* value-prof.c: Likewise.
      	* varasm.c: Likewise.
      
      ada/ChangeLog
      	* gcc-interface/decl.c: Replace all vec<T,A>()
      	initializers with vNULL.
      
      cp/ChangeLog
      	* name-lookup.c: Replace all vec<T, A>() initializers
      	with vNULL.
      	* semantics.c: Likewise.
      
      fortran/ChangeLog
      	* trans-openmp.c: Replace all vec<T, A>() initializers
      	with vNULL.
      
      lto/ChangeLog
      	* lto.c: Replace all vec<T, A>() initializers with vNULL.
      
      objc/ChangeLog
      	* objc-act.c: Replace all vec<T, A>() initializers with vNULL.
      
      Co-Authored-By: default avatarJakub Jelinek <jakub@redhat.com>
      
      From-SVN: r193677
      6e1aa848
    • Konstantin Serebryany's avatar
      Fix sanitizer build on sparc64. · b014e124
      Konstantin Serebryany authored
      	* sanitizer_common/sanitizer_linux.cc
      	(SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define.
      	(internal_mmap): Use it.
      	(internal_filesize): Likewise.
      
      From-SVN: r193676
      b014e124
    • Jakub Jelinek's avatar
      vec.h (class vec_prefix): Change into struct. · 26da79f5
      Jakub Jelinek authored
      	* vec.h (class vec_prefix): Change into struct.
      	Rename field alloc_PRIVATE_ back to alloc_.
      	Rename field num_PRIVATE_ to num_.
      	Update all users.
      	(class vec<T, A, vl_embed>): Rename field pfx_PRIVATE_ to vecpfx_.
      	Rename field data_PRIVATE_ to vecdata_.
      	Update all users.
      	(class vec<T, A, vl_ptr>): Make every field public.
      	Rename field vec_PRIVATE_ back to vec_.
      	Update all users.
      
      From-SVN: r193675
      26da79f5
    • Richard Sandiford's avatar
      re PR middle-end/55403 (ICE building libitm) · e98fc6de
      Richard Sandiford authored
      gcc/
      	PR middle-end/55403
      	PR middle-end/55391
      	* expmed.c (store_bit_field_1): Use adjust_bitfield_address_size
      	rather than adjust_bitfield_address to change the mode of a reference.
      	(extract_bit_field_1): Likewise.
      
      From-SVN: r193674
      e98fc6de
    • Michael Meissner's avatar
      rs6000.md (movdf_hardfloat32): Add a comment explaining the register ordering preferences. · 96ceaa37
      Michael Meissner authored
      2012-11-20  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000.md (movdf_hardfloat32): Add a comment
      	explaining the register ordering preferences.
      
      From-SVN: r193673
      96ceaa37
    • Aldy Hernandez's avatar
      re PR tree-optimization/55350 (verify_gimple failed with invalid (pointer) operands to plus/minus) · 7139194b
      Aldy Hernandez authored
      	PR tree-optimization/55350
      	* gimple-ssa-strength-reduction.c (replace_dependent): Handle
      	POINTER_{PLUS,MINUS}_EXPR correctly.
      
      From-SVN: r193672
      7139194b
    • Uros Bizjak's avatar
      [multiple changes] · 7100b561
      Uros Bizjak authored
      2012-11-20  Uros Bizjak  <ubizjak@gmail.com>
      
      	* config/i386/i386.md (fix_trunc<MODEF:mode><SWI48:mode>_sse): Macroize
      	insn from fix_trunc<mode>{si,di}_sse using SWI48 mode iterator.
      	(peephole2 to avoid vector decoded forms): Macroize peephole2
      	using MODEF mode iterator.  Use SWI48 mode iterator instead of SWI48x.
      
      2012-11-20  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/19398
      	* config/i386/i386.md
      	(peephole2 to shorten x87->SSE reload sequences): Remove peephole2.
      	* config/i386/i386.h (enum ix86_tune_indices)
      	<IX86_TUNE_SHORTEN_X87_SSE>: Remove.
      	* config/i386/i386.h (initial_ix86_tune_features): Update.
      
      2012-11-20  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/19398
      	* lra-constraints.c (process_alt_operands): Discourage reloads
      	through secodnary memory.
      
      testsuite/ChangeLog:
      
      2012-11-20  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/19398
      	* gcc.target/i386/pr19398.c: New test.
      
      From-SVN: r193671
      7100b561
    • Ian Lance Taylor's avatar
      * dwarf.c (read_attribute): Always clear val. · b20ade36
      Ian Lance Taylor authored
      From-SVN: r193670
      b20ade36
    • David Edelsohn's avatar
      rs6000.md (largetoc_low): Revert. · 03367cbb
      David Edelsohn authored
              * config/rs6000/rs6000.md (largetoc_low): Revert.
              (largetoc_low_aix<mode>): New.
      
      From-SVN: r193669
      03367cbb
    • Diego Novillo's avatar
      Fix dependencies for tlink.o. · bd12b9fc
      Diego Novillo authored
      Found while changing code in vec.h and doing incremental builds.
      
      2012-11-20  Diego Novillo  <dnovillo@google.com>
      
      	* Makefile.in (tlink.o): Add dependency on VEC_H.
      
      From-SVN: r193668
      bd12b9fc
    • Diego Novillo's avatar
      Convert vec<> into a POD. · 38f2ca32
      Diego Novillo authored
      This fixes PR 55398 by making vec<> a true POD.  I thought we could get
      away with having private fields, but we can't.  We fail to pass vec<>
      instances through varargs.
      
      The patch makes every field public and mangles the field names in the
      hope that no future patch will try to make use of them directly.  It's
      horrible, but I could not think of anything better.
      
      Tested with clang++ as the host compiler.
      
      2012-11-20  Diego Novillo  <dnovillo@google.com>
      
          PR middle-end/55398
          * vec.h (class vec_prefix): Make every field public.
          Rename field alloc_ to alloc_PRIVATE_.
          Rename field num_ to num_PRIVATE_.
          Update all users.
          (class vec<T, A, vl_embed>): Make every field public.
          Rename field pfx_ to pfx_PRIVATE_.
          Rename field data_ to data_PRIVATE_.
          Update all users.
          (class vec<T, A, vl_ptr>): Make every field public.
          Rename field vec_ to vec_PRIVATE_.
          Update all users.
      
      From-SVN: r193667
      38f2ca32
    • Kai Tietz's avatar
      re PR target/55268 (gcc4.8 mingw-w64 wrong stdcall import symbols generated after rev 193204) · 4a397c3e
      Kai Tietz authored
              PR target/55268
              * i386.c (ix86_mangle_decl_assembler_name): Use
              SUBTARGET_MANGLE_DECL_ASSEMBLER_NAME if defined.
              * cygming.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Rename
              to SUBTARGET_MANGLE_DECL_ASSEMBLER_NAME.
      
      From-SVN: r193666
      4a397c3e
    • Paolo Carlini's avatar
      re PR libstdc++/55413 ([LTO] hashtable.h:1648 '__bbegin_bkt' may be used... · 25caa91e
      Paolo Carlini authored
      re PR libstdc++/55413 ([LTO] hashtable.h:1648 '__bbegin_bkt' may be used uninitialized in this function [-Werror=maybe-uninitialized])
      
      2012-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/55413
      	* include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Initialize
      	__bbegin_bkt and __prev_bkt to avoid uninitialized warnings.
      	* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
      	dg-error line number.
      
      From-SVN: r193663
      25caa91e
    • Matthias Klose's avatar
      2012-11-20 Matthias Klose <doko@ubuntu.com> · 3263c9a3
      Matthias Klose authored
              * doc/doxygen/user.cfg.in (ALIASES). Escape sharp braces.
              * include/bits/allocator.h: Escape sharp braces in comment.
              * include/profile/impl/profiler_algos.h: Likewise.
      
      From-SVN: r193662
      3263c9a3
    • Nick Clifton's avatar
      v850.c (F): New function. · b84d824d
      Nick Clifton authored
      	* config/v850/v850.c (F): New function.  Mark the given insn as
      	being frame related.
      	(v850_all_frame_related): New function.  Mark the given push insn
      	as being frame related.
      	(v850_pass_by_reference): When using the RH850 ABI do not pass
      	arguments by reference.
      	(v850_strict_argument_naming): Delete function.
      	(v850_function_arg): Use word alignment with the RH850 ABI.
      	(v850_arg_partial_bytes): Likewise.
      	(v850_function_arg_advance): Likewise.
      	(v850_print_operand): Handle CONST_INT and CONST_DOUBLE.
      	(compute_register_save_size): Use df_regs_ever_live_p.
      	(increment_stack): Mark prologue adjustments as being frame
      	related.
      	(expand_prologue): Handle pretend args.  Mark insns generated as
      	being frame related.
      	(expand_epilogue): Likewise.
      	(v850_return_in_memory): When using the RH850 ABI return
      	aggregates in memory.
      	(v850_setup_incoming_varargs): Delete function.
      	(v850_option_override): New function.
      	(TARGET_DEBUG_UNWIND_INFO): Delete definition.
      	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
      	(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
      	(TARGET_OPTION_OVERRIDE): Define.
      	* config/v850/v850.h (ASM_SPEC): Pass 8byte-align and gcc-abi
      	options on to assembler.
      	(LINK_SPEC): Likewise.
      	(TARGET_CPU_CPP_BUILTINS): Define __V850_8BYTE_ALIGN__ and
      	__V850_GCC_ABI__.
      	(STACK_BOUNDARY): Set to BIGGEST_ALIGNMENT.
      	(FUNCTION_BOUNDARY): With the RH850 ABI always 32-bit alignment.
      	(BIGGEST_ALIGNMENT): With -8byte-align set to 64-bits.
      	(BIGGEST_FIELD_ALIGNMENT): Likewise.
      	(enum reg_class): Swap EVEN_REGS and GENERAL_REGS.
      	(REG_CLASS_NAMES): Likewise.
      	(REG_CLASS_CONTENTS): Likewise.
      	(struct cum_arg): Delete anonymous_args field.
      	(INIT_CUMULATIVE_ARGS): Update.
      	(PREFERRED_DEBUG): Set to DWARF2_DEBUG.
      	(DWARF2_FRAME_INFO): Define.
      	(DWARF2_UNWIND_INFO): Define.
      	(INCOMING_RETURN_ADDR_RTX): Define.
      	(DWARF_FRAME_RETURN_COLUMN): Define.
      	(TARGET_USE_FPU): Define.
      	* config/v850/v850.md: Replace TARGET_V850E2V3 in floating point
      	insns with TARGET_USE_FPU.
      	(fixuns_truncsfsi2): New pattern.
      	(fixuns_truncdfsi2): New pattern.
      	(fix_truncsfdi2): New pattern.
      	(fixuns_truncsfdi2): New pattern.
      	(fix_truncdfdi2): New pattern.
      	(fixuns_truncdfdi2): New pattern.
      	(unsfloatsisf2): New pattern.
      	(unsfloatsidf2): New pattern.
      	(floatdisf2): New pattern.
      	(unsfloatdisf2): New pattern.
      	(floatdidf2): New pattern.
      	(unsfloatdidf2): New pattern.
      	(fnmasf4): Fix RTl description.
      	(fnmssf4): Likewise.
      	* config/v850/v850.opt (mrelax): New option.
      	(mlong-jumps): Likewise.
      	(msoft-float): Likewise.
      	(mhard-float): Likewise.
      	(mrh850-abi): Likewise.
      	(mgcc-abi): Likewise.
      	(m8byte-align): Likewise.
      	* config/v850/t-v850 (MULTILIB_OPTIONS): Update multilib options.
      	(MULTILIB_DIRNAMES): Likewise.
      
      From-SVN: r193661
      b84d824d
    • Uros Bizjak's avatar
      i386.c (ix86_expand_call): Emit CLOBBERs in VOIDmode. · aef5ffaa
      Uros Bizjak authored
      	* config/i386/i386.c (ix86_expand_call): Emit CLOBBERs in VOIDmode.
      
      From-SVN: r193660
      aef5ffaa
    • Nick Clifton's avatar
      rx.c (rx_function_arg_boundary): When using the RX ABI align stack arguments... · 47c9ac72
      Nick Clifton authored
      rx.c (rx_function_arg_boundary): When using the RX ABI align stack arguments to their natural alignment.
      
      	* config/rx/rx.c (rx_function_arg_boundary): When using the RX ABI
      	align stack arguments to their natural alignment.
      	(rx_narrow_volatile_bitfield): New function.  Allows narrow
      	volatile bitfields.
      	(rx_ok_to_inline): New function.  Do not inline functions with
      	local variables into a naked caller.
      	(TARGET_NARROW_VOLATILE_BITFIELD): Define.
      	(TARGET_CAN_INLINE_P): Define.
      	* config/rx/rx.c (TARGET_CPU_CPP_BUILTINS): Define __RX_ABI__ or
      	__RX_GC_ABI__.
      	(ASM_SPEC): Pass -mgcc-abi on to the assembler.
      	(STRICT_ALIGNMENT): Set to false.
      	(CTORS_SECTION_ASM_OP): Add executable attribute.
      	(DTORS_SECTION_ASM_OP): Add executable attribute.
      	(INIT_ARRAY_SECTION_ASM_OP): Add executable attribute.
      	(FINI_ARRAY_SECTION_ASM_OP): Add executable attribute.
      	* config/rx/rx.md (subdi3): Don't allow MEMs as the third operand,
      	as it causes too much reload pressure.
      	* config/rx/rx.opt (mgcc-abi): New option.
      	(mrx-abi): New option.
      	* config/rx/t-rx (MULTILIB_OPTIONS): Show how to add an ABI
      	multilib.
      	(MULTILIB_DIRNAMES): Likewise.
      
      From-SVN: r193659
      47c9ac72
    • James Greenhalgh's avatar
      gcc/ · 342be7f7
      James Greenhalgh authored
      	* config/aarch64/aarch64-builtins.c
      	(aarch64_simd_builtin_type_bits): Rename to...
      	(aarch64_simd_builtin_type_mode): ...this, make sequential.
      	(aarch64_simd_builtin_datum): Refactor members.
      	(VAR1, VAR2, ..., VAR12): Update accordingly.
      	(aarch64_simd_builtin_data): Include from aarch64-simd-builtins.def.
      	(aarch64_builtins): Update accordingly.
      	(init_aarch64_simd_builtins): Refactor, rename to...
      	(aarch64_init_simd_builtins): ...this.
      	(aarch64_simd_builtin_compare): Remove.
      	(locate_simd_builtin_icode): Likewise.
      	* config/aarch64/aarch64-protos.h (aarch64_init_builtins): New.
      	(aarch64_expand_builtin): New.
      	* config/aarch64/aarch64-simd-builtins.def: New file.
      	* config/aarch64/aarch64.c (aarch64_init_builtins):
      	Move to aarch64-builtins.c.
      	(aarch64_expand_builtin): Likewise.
      	* config/aarch64/aarch64.h
      	(aarch64_builtins): Move to aarch64-builtins.c.
      
      
      Co-Authored-By: default avatarTejas Belagod <tejas.belagod@arm.com>
      
      From-SVN: r193658
      342be7f7
    • Martin Jambor's avatar
      re PR tree-optimization/55260 (ICE: in ipa_get_parm_lattices, at ipa-cp.c:263... · dffdd6e5
      Martin Jambor authored
      re PR tree-optimization/55260 (ICE: in ipa_get_parm_lattices, at ipa-cp.c:263 with -O2 -fno-inline -fipa-cp-clone)
      
      2012-11-20  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/55260
      	* ipa-cp.c (find_aggregate_values_for_callers_subset): Rename info to
      	dest_info, use caller_info instead of info when determining whether
      	callee is a clone.
      
      	* testsuite/g++.dg/torture/pr55260-1.C: New test.
      
      From-SVN: r193657
      dffdd6e5
Loading