1. 26 Sep, 2015 6 commits
    • dwarf2out.c (XCOFF_DEBUGGING_INFO): Default 0 definition. · 51fbbb92
              * dwarf2out.c (XCOFF_DEBUGGING_INFO): Default 0 definition.
              (HAVE_XCOFF_DWARF_EXTRAS): Default to 0 definition.
              (output_fde): Don't output length for debug_frame on AIX.
              (output_call_frame_info): Don't output length for debug_frame on AIX.
              (have_macinfo): Force to False for XCOFF_DEBUGGING_INFO and not
              HAVE_XCOFF_DWARF_EXTRAS.
              (add_AT_loc_list): Return early if XCOFF_DEBUGGING_INFO and not
              HAVE_XCOFF_DWARF_EXTRAS.
              (output_compilation_unit_header): Don't output length on AIX.
              (output_pubnames): Don't output length on AIX.
              (output_aranges): Delete argument. Compute length locally. Don't
              output length on AIX.
              (output_line_info): Don't output length on AIX.
              (dwarf2out_finish): Don't compute aranges_length.
              * dwarf2asm.c (XCOFF_DEBUGGING_INFO): Default 0 definition.
              (dw2_asm_output_nstring): Emit .byte not .ascii on AIX.
              * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): Emit correct
              symbol decoration for AIX.
              (rs6000_xcoff_debug_unwind_info): New.
              (rs6000_xcoff_asm_named_section): Emit .dwsect pseudo-op
              for SECTION_DEBUG.
              (rs6000_xcoff_declare_function_name): Emit different
              .function pseudo-op when DWARF2_DEBUG. Don't call
              xcoffout_declare_function for DWARF2_DEBUG.
              * config/rs6000/xcoff.h (TARGET_DEBUG_UNWIND_INFO):
              Redefine.
              * config/rs6000/aix71.h: New.
              * configure.ac (gcc_cv_as_aix_dwloc): Check AIX as for DWARF
              locations support.
              * configure: Regenerate.
              * config.gcc (powerpc-ibm-aix[789]+): New stanza for AIX 7.1+ with
              DWARF support.
      
      From-SVN: r228167
      David Edelsohn committed
    • [PATCH] Fix undefined behaviour in arc port · c419f71c
      	* config/arc/arc.c (arc_output_addsi): Fix left shift undefined
      	behaviour.
      	* config/arc/constraints.md (Cca, C2a): Fix left shift undefined
      	behaviour.
      
      From-SVN: r228166
      Jeff Law committed
    • [PATCH] Fix undefined behaviour in SH port · a0a65802
          [PATCH] Fix undefined behaviour in SH port
      	* config/sh/sh.h (CONST_OK_FOR_J16): Fix left shift undefined
      	behaviour
      
      From-SVN: r228165
      Jeff Law committed
    • [PATCH] Fix undefined behaviour in mips port · ddec87d9
      [PATCH] Fix undefined behaviour in mips port
      	* config/mips/mips.c (mips_compute_frame_info): Fix left shift
      	undefined behaviour.
      
      From-SVN: r228164
      Jeff Law committed
    • [PATCH] Fix undefined behaviour in cris port · c4362b60
      [PATCH] Fix undefined behaviour in cris port
      	* config/cris/cris.md (asrandb): Fix left shift undefined
      	behaviour.
      	(asrandw): Likewise.
      
      From-SVN: r228163
      Jeff Law committed
    • Daily bump. · 01a8b92d
      From-SVN: r228161
      GCC Administrator committed
  2. 25 Sep, 2015 20 commits
    • re PR fortran/67614 (ICE on using arithmetic if with null) · 2d2de608
      2015-09-25  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/67614
      	* resolve.c (gfc_resolve_code): Prevent ICE for invalid EXPR_NULL.
      
      2015-09-25  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/67614
      	* gfortran.dg/pr67614.f90: New test.
      
      From-SVN: r228156
      Steven G. Kargl committed
    • re PR fortran/67525 (ICE on select type with improper selector) · b15e7bdd
      2015-09-25  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/67525
      	* parse.c (match_deferred_characteristics): Remove an assert, which
      	allows an invalid SELECT TYPE selector to be detected.
      
       
      2015-09-25  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/67525
      	* gfortran.dg/pr67525.f90: New test.
      
      From-SVN: r228155
      Steven G. Kargl committed
    • Fix type in the changelog entry, · f7697f9c
      From-SVN: r228154
      Vladimir Makarov committed
    • re PR target/61578 (Code size increase for ARM thumb compared to 4.8.x when compiling with -Os) · c9561e7b
      2015-09-25  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/61578
      	* lra-constarints.c (match_reload): Check presence of the input pseudo
      	in the output pseudo.
      
      From-SVN: r228153
      Vladimir Makarov committed
    • Add PR fortran/55603 working test · d24a1f53
      gcc/testsuite/
      	PR fortran/55603
      	* gfortran.dg/allocatable_function_9.f90: New.
      
      From-SVN: r228151
      Mikael Morin committed
    • invoke.texi (-fsanitize): Minor wording tweak. · 9f85af26
      2015-09-25  Tobias Burnus  <burnus@net-b.de>
      
      	* doc/invoke.texi (-fsanitize): Minor wording tweak.
      
      From-SVN: r228148
      Tobias Burnus committed
    • invoke.texi (-fsanitize): Update URLs. · 66208ca4
      2015-09-25  Tobias Burnus  <burnus@net-b.de>
      
              * doc/invoke.texi (-fsanitize): Update URLs.
      
      From-SVN: r228144
      Tobias Burnus committed
    • * tr.po: Update. · 9e703070
      From-SVN: r228138
      Joseph Myers committed
    • This patch unsets -freorder-blocks-and-partition when -fprofile-use is not specified. · 66971048
      This patch unsets -freorder-blocks-and-partition when -fprofile-use
      is not specified. Function splitting was not actually being performed
      in that case, as probably_never_executed_bb_p does not distinguish
      any basic blocks as being cold vs hot when there is no profile data.
      Leaving it enabled, however, causes the assembly code generator to create
      (empty) cold sections and labels, leading to unnecessary size overhead.
      
      2015-09-25  Teresa Johnson  <tejohnson@google.com>
      
      	* opts.c (finish_options): Unset -freorder-blocks-and-partition
      	if not using profile.
      
      From-SVN: r228136
      Teresa Johnson committed
    • Avoid creating dangling references in case of nested tuples · 5e2f2cd5
      for tuple constructors that construct from other tuples.
      
      2015-09-25  Ville Voutilainen  <ville.voutilainen@gmail.com>
      
      	Avoid creating dangling references in case of nested tuples
      	for tuple constructors that construct from other tuples.
      	* include/std/tuple (_TC::_NonNestedTuple): New.
      	* include/std/tuple (tuple::_TNTC): New.
      	* include/std/tuple (tuple(const tuple<_UElements...>&),
      	tuple(tuple<_UElements...>&&): Use _TNTC.
      	* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: New.
      
      From-SVN: r228134
      Ville Voutilainen committed
    • PR pretty-print/67567 do not pass NULL as a string · 41d9f1e0
      Fortran passes NULL where a non-null string is expected by the pretty-printer,
      which causes a sanitizer warning. This could have been found earlier by using
      gcc_checking_assert. Even if the assertion is false, the result is just an
      incomplete diagnostic, thus it seems more user-friendly to assert only when
      checking. I do not have any idea how to properly fix the Fortran bug, thus this
      patch simply works-around it.
      
      gcc/fortran/ChangeLog:
      
      2015-09-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR pretty-print/67567
      	* resolve.c (resolve_fl_procedure): Work-around when iface->module
      	== NULL.
      
      gcc/ChangeLog:
      
      2015-09-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR pretty-print/67567
      	* pretty-print.c (pp_string): Add gcc_checking_assert.
      	* pretty-print.h (output_buffer_append_r): Likewise.
      
      From-SVN: r228131
      Manuel López-Ibáñez committed
    • re PR target/67675 ([SH] Improve __builtin_strcmp alignment test) · f700c7ca
      gcc/
      	PR target/67675
      	* config/sh/sh-mem.cc (sh_expand_cmpstr): Check alignment of addr1 and
      	addr2 individually.  Don't emit logical or insn if one is known to
      	be aligned approriately.
      	(sh_expand_cmpnstr): Likewise.
      
      gcc/testsuite/
      	PR target/67675
      	* gcc.target/sh/pr67675.c: New.
      
      From-SVN: r228118
      Oleg Endo committed
    • [AArch64] Force __builtin_aarch64_fp[sc]r argument into a REG · e6cf8d65
      The testcase triggered an ICE because the builtin expansion
      code passed the output of expand_normal directly to the SET_FP[SC]R
      generator, without forcing it into a register first.
      
      gcc/
      	* config/aarch64/aarch64-builtins.c (aarch64_expand_builtin): Force
      	__builtin_aarch64_fp[sc]r arguments into a register.
      
      gcc/testsuite/
      	* gcc.target/aarch64/fpcr_fpsr_1.c: New file.
      
      From-SVN: r228116
      Richard Sandiford committed
    • Rename IA MCU processor lakemount to lakemont · 2d6b2e28
      IA MCU processor name is lakemont, not lakemount.
      
      gcc/
      
      	* config.gcc (x86_archs): Replace lakemount with lakemont.
      	(with_cpu): Likewise.
      	(with_arch): Likewise.
      	* config/i386/i386-c.c (ix86_target_macros_internal): Replace
      	PROCESSOR_LAKEMOUNT with PROCESSOR_LAKEMONT.  Replace
      	__tune_lakemount__ with __tune_lakemont__.
      	* config/i386/i386.c (lakemount_cost): Renamed to ...
      	(lakemont_cost): This.
      	(m_LAKEMOUNT): Renamed to ...
      	(m_LAKEMONT): This.
      	(initial_ix86_arch_features): Replace m_LAKEMOUNT with m_LAKEMONT.
      	(processor_target_table): Replace "lakemount" with "lakemont".
      	(processor_alias_table): Likewise.
      	(ix86_issue_rate): Replace PROCESSOR_LAKEMOUNT with
      	PROCESSOR_LAKEMONT.
      	(ix86_adjust_cost): Likewise.
      	(ia32_multipass_dfa_lookahead): Likewise.
      	* config/i386/i386.h (processor_type): Likewise.
      	* config/i386/x86-tune.def: Replace m_LAKEMOUNT with m_LAKEMONT.
      	* doc/invoke.texi: Replace lakemount with lakemont.  Replace
      	Lakemount with Lakemont.
      
      gcc/testsuite/
      
      	* gcc.target/i386/pr66749.c (dg-options): Replace
      	-mtune=lakemount with -mtune=lakemont.
      	* gcc.target/i386/pr66821.c (dg-options): Likewise.
      	* gcc.target/i386/pr67329.c (dg-options): Likewise.
      
      From-SVN: r228115
      H.J. Lu committed
    • c-ubsan.c (ubsan_instrument_division): Remove unnecessary code. · 974348ee
      	* c-ubsan.c (ubsan_instrument_division): Remove unnecessary code.
      	(ubsan_instrument_shift): Likewise.
      
      	* c-c++-common/ubsan/bounds-11.c: New test.
      	* c-c++-common/ubsan/bounds-12.c: New test.
      
      From-SVN: r228114
      Marek Polacek committed
    • re PR sanitizer/64906 (-fsanitize=integer-divide-by-zero creates false… · 15dbc1a6
      re PR sanitizer/64906 (-fsanitize=integer-divide-by-zero creates false -Wmaybe-uninitialized warning)
      
      	PR sanitizer/64906
      	* c-ubsan.c (ubsan_instrument_division): Also pre-evaluate OP1.
      
      	* c-c++-common/ubsan/pr64906.c: New test.
      
      From-SVN: r228112
      Marek Polacek committed
    • Change IA MCU processor from iamcu to lakemount · 89e5941d
      The first IA MCU processor will be Lakemount.  This patch changes IA MCU
      processor name from iamcu to lakemount.
      
      gcc/
      
      	* config.gcc (x86_archs): Replace iamcu with lakemount.
      	(with_cpu): Likewise.
      	(with_arch): Likewise.
      	* doc/invoke.texi: Likewise.
      	* config/i386/i386-c.c (ix86_target_macros_internal): Replace
      	PROCESSOR_IAMCU with PROCESSOR_LAKEMOUNT.  Replace
      	__tune_iamcu__ with __tune_lakemount__.
      	* config/i386/i386.c (iamcu_cost): Renamed to ...
      	(lakemount_cost): This.
      	(m_IAMCU): Renamed to ...
      	(m_LAKEMOUNT): This.
      	(initial_ix86_arch_features): Replace m_IAMCU with m_LAKEMOUNT.
      	(processor_target_table): Replace "iamcu" with "lakemount".
      	(processor_alias_table): Likewise.
      	(ix86_issue_rate): Replace PROCESSOR_IAMCU with
      	PROCESSOR_LAKEMOUNT.
      	(ix86_adjust_cost): Likewise.
      	(ia32_multipass_dfa_lookahead): Likewise.
      	* config/i386/i386.h (processor_type): Likewise.
      	* config/i386/x86-tune.def: Replace m_IAMCU with m_LAKEMOUNT.
      
      gcc/testsuite/
      
      	* gcc.target/i386/pr66749.c (dg-options): Replace -mtune=iamcu
      	with -mtune=lakemount.
      	* gcc.target/i386/pr66821.c (dg-options): Likewise.
      	* gcc.target/i386/pr67329.c (dg-options): Likewise.
      
      From-SVN: r228109
      H.J. Lu committed
    • Daily bump. · 925f700a
      From-SVN: r228108
      GCC Administrator committed
    • pa-linux.h (HAVE_sync_compare_and_swapdi): Define. · 7e7c9d40
      	* config/pa/pa-linux.h (HAVE_sync_compare_and_swapdi): Define.
      	* config/pa/pa-protos.h (pa_maybe_emit_compare_and_swap_exchange_loop):
      	Declare.
      	* config/pa/pa.c (pa_init_libfuncs): Init sync libfuncs up to 8 bytes.
      	(pa_expand_compare_and_swap_loop): New.
      	(pa_maybe_emit_compare_and_swap_exchange_loop): New.
      	* config/pa/pa.md (atomic_storeqi, atomic_storehi, atomic_storesi,
      	atomic_storesf, atomic_loaddf, atomic_storedf): New expanders.
      	(atomic_loaddf_1, atomic_storedf_1): New insn patterns.
      	(atomic_loaddi, atomic_loaddi_1, atomic_storedi, atomic_storedi_1):
      	Revise.
      
      From-SVN: r228104
      John David Anglin committed
  3. 24 Sep, 2015 14 commits