Skip to content
Snippets Groups Projects
  1. Oct 31, 2018
    • Joseph Myers's avatar
      Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). · 22e05272
      Joseph Myers authored
      This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
      (That's not the latest automake version, but it's the one used by
      binutils-gdb, with which consistency is desirable, and in any case
      seems a useful incremental update that should make a future update to
      1.16.1 easier.)
      
      The changes are generally similar to the binutils-gdb ones, and are
      copied from there where shared files and directories are involved
      (there are some further changes to such shared directories, however,
      which I'd expect to apply to binutils-gdb once this patch is in GCC).
      Largely, obsolete AC_PREREQ calls are removed, while many
      AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
      autoconf.  Multilib support is no longer included in core automake,
      meaning that multilib.am needs copying from automake's contrib
      directory into the GCC source tree.  Autoconf 2.69 has Go support, so
      local copies of that support are removed.  I hope the D support will
      soon be submitted to upstream autoconf so the local copy of that can
      be removed in a future update.  Changes to how automake generates
      runtest calls mean quotes are removed from RUNTEST definitions in five
      lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
      libphobos, libvtv; some others have RUNTEST definitions without
      quotes, which are still OK); libgo and libphobos also get
      -Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
      do not generate automake warnings.
      
      Note that the regeneration did not include regeneration of
      fixincludes/config.h.in (attempting such regeneration resulted in all
      the USED_FOR_TARGET conditionals disappearing; and I don't see
      anything in the fixincludes/ directory that would result in such
      conditionals being generated, unlike in the gcc/ directory).  Also
      note that libvtv/testsuite/other-tests/Makefile.in was not
      regenerated; that directory is not listed as a subdirectory for which
      Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
      not sure how it's meant to be regenerated.
      
      While I mostly fixed warnings should running aclocal / automake /
      autoconf, there were various such warnings from automake in the
      libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
      directories that I did not fix, preferring to leave those to the
      relevant subsystem maintainers.  Specifically, most of those warnings
      were of the following form (example from libgfortran):
      
      Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
      Makefile.am:48: but option 'subdir-objects' is disabled
      automake: warning: possible forward-incompatibility.
      automake: At least a source file is in a subdirectory, but the 'subdir-objects'
      automake: automake option hasn't been enabled.  For now, the corresponding output
      automake: object file(s) will be placed in the top-level directory.  However,
      automake: this behaviour will change in future Automake versions: they
      will
      automake: unconditionally cause object files to be placed in the same subdirectory
      automake: of the corresponding sources.
      automake: You are advised to start using 'subdir-objects' option throughout your
      automake: project, to avoid future incompatibilities.
      
      I think it's best for the relevant maintainers to add subdir-objects
      and do any other associated Makefile.am changes needed.  In some cases
      the paths in the warnings involved ../; I don't know if that adds any
      extra complications to the use of subdir-objects.
      
      I've tested this with native, cross and Canadian cross builds.  The
      risk of any OS-specific issues should I hope be rather lower than if a
      libtool upgrade were included (we *should* do such an upgrade at some
      point, but it's more complicated - it involves identifying all our
      local libtool changes to see if any aren't included in the upstream
      version we update to, and reverting an upstream libtool patch that's
      inappropriate for use in GCC); I think it would be better to get this
      update into GCC so that people can test in different configurations
      and we can fix any issues found, rather than to try to get more and
      more testing done before it goes in.
      
      top level:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* multilib.am: New file.  From automake.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
      	* ar-lib: New file.
      	* test-driver: New file.
      	* configure: Re-generate.
      
      config:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* math.m4, tls.m4: Use AC_LANG_SOURCE.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
      
      fixincludes:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, configure: Regenerate.
      
      gcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use single
      	line for second argument of AC_DEFINE_UNQUOTED.
      	* doc/install.texi (Tools/packages necessary for modifying GCC):
      	Update to autoconf 2.69 and automake 1.15.1.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      gnattools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      gotools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* config/go.m4: Remove file.
      	* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
      	* configure.ac:  Remove AC_PREREQ.  Do not include config/go.m4.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      intl:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.h.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      libada:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      libatomic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* acinclude.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libbacktrace:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libcc1:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libcpp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      libdecnumber:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* aclocal.m4.
      
      libffi:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove doc/libffi.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
      	include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
      	Regenerate.
      
      libgcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* configure: Regenerate.
      
      libgfortran:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libgo [logically part of this change but omitted from the commit]:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* config/go.m4: Remove file.
      	* config/libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use
      	-Wno-override in AM_INIT_AUTOMAKE call.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libgomp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libgomp.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libhsail-rt:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libiberty:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      
      libitm:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libitm.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libobjc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, config.h.in, configure: Regenerate.
      
      liboffloadmic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* plugin/Makefile.am: Include multilib.am.
      	* plugin/configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
      	plugin/aclocal.m4, plugin/configure: Regenerate.
      
      libphobos:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use -Wno-override in
      	AM_INIT_AUTOMAKE call.
      	* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
      	* m4/druntime/os.m4: Use AC_LANG_SOURCE.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
      	src/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libquadmath:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
      	(all-local): Define outside conditional code.
      	(CLEANFILES): Remove libquadmath.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libsanitizer:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
      	interception/Makefile.in, libbacktrace/Makefile.in,
      	lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
      	ubsan/Makefile.in: Regenerate.
      
      libssp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.9.5.
      	* configure.ac: Remove AC_PREREQ.  Quote argument to
      	AC_RUN_IFELSE.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libstdc++-v3:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
      	include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
      	python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
      	src/c++17/Makefile.in, src/c++98/Makefile.in,
      	src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libvtv:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      lto-plugin:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      zlib:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      
      From-SVN: r265695
      22e05272
  2. Aug 27, 2018
  3. Apr 24, 2018
  4. Apr 19, 2018
    • Jakub Jelinek's avatar
      cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace --enable-cet=default... · a0e1df88
      Jakub Jelinek authored
      cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace --enable-cet=default with --enable-cet=auto.
      
      	* config/cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
      	--enable-cet=default with --enable-cet=auto.
      
      	* doc/install.texi: Document --disable-cet being the default and
      	--enable-cet=auto.
      
      	* configure: Regenerated.
      
      From-SVN: r259487
      a0e1df88
  5. Apr 18, 2018
  6. Feb 19, 2018
    • Igor Tsimbalist's avatar
      CET shouldn't be enabled in 32-bit run-time libraries by defualt · 14e335ed
      Igor Tsimbalist authored
      ENDBR32 and RDSSPD are multi-byte NOPs on x86-64 processors and
      newer x86 processors, starting Pentium Pro.  They are UD on older
      32-bit processors. Detect this at configure time and adjust the
      default value for enable_cet. GCC will enable CET in 32-bit run-time
      libraries in any case if --enable-cet is used to configure GCC.
      
      	PR target/84148
      	* config/cet.m4: Check if target support multi-byte NOPS (SSE).
      	* libatomic/configure: Regenerate.
      	* libbacktrace/configure: Likewise.
      	* libgcc/configure: Likewise.
      	* libgfortran/configure: Likewise.
      	* libgomp/configure: Likewise.
      	* libitm/configure: Likewise.
      	* libmpx/configure: Likewise.
      	* libobjc/configure: Likewise.
      	* libquadmath/configure: Likewise.
      	* libsanitizer/configure: Likewise.
      	* libssp/configure: Likewise.
      	* libstdc++-v3/configure: Likewise.
      	* libvtv/configure: Likewise.
      
      From-SVN: r257809
      14e335ed
  7. Jan 03, 2018
  8. Nov 23, 2017
  9. Nov 17, 2017
  10. Aug 30, 2017
    • Richard Sandiford's avatar
      [2/77] Add an E_ prefix to case statements · 4e10a5a7
      Richard Sandiford authored
      
      All case statements need to be updated to use the prefixed names,
      since the unprefixed names will eventually not be integer constant
      expressions.  This patch does a mechanical substitution over the whole
      codebase.
      
      2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
      	    Alan Hayward  <alan.hayward@arm.com>
      	    David Sherwood  <david.sherwood@arm.com>
      
      gcc/
      	* config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_std_type):
      	Prefix mode names with E_ in case statements.
      	* config/aarch64/aarch64-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/aarch64/aarch64.c (aarch64_split_simd_combine): Likewise.
      	(aarch64_split_simd_move): Likewise.
      	(aarch64_gen_storewb_pair): Likewise.
      	(aarch64_gen_loadwb_pair): Likewise.
      	(aarch64_gen_store_pair): Likewise.
      	(aarch64_gen_load_pair): Likewise.
      	(aarch64_get_condition_code_1): Likewise.
      	(aarch64_constant_pool_reload_icode): Likewise.
      	(get_rsqrte_type): Likewise.
      	(get_rsqrts_type): Likewise.
      	(get_recpe_type): Likewise.
      	(get_recps_type): Likewise.
      	(aarch64_gimplify_va_arg_expr): Likewise.
      	(aarch64_simd_container_mode): Likewise.
      	(aarch64_emit_load_exclusive): Likewise.
      	(aarch64_emit_store_exclusive): Likewise.
      	(aarch64_expand_compare_and_swap): Likewise.
      	(aarch64_gen_atomic_cas): Likewise.
      	(aarch64_emit_bic): Likewise.
      	(aarch64_emit_atomic_swap): Likewise.
      	(aarch64_emit_atomic_load_op): Likewise.
      	(aarch64_evpc_trn): Likewise.
      	(aarch64_evpc_uzp): Likewise.
      	(aarch64_evpc_zip): Likewise.
      	(aarch64_evpc_ext): Likewise.
      	(aarch64_evpc_rev): Likewise.
      	(aarch64_evpc_dup): Likewise.
      	(aarch64_gen_ccmp_first): Likewise.
      	(aarch64_gen_ccmp_next): Likewise.
      	* config/alpha/alpha.c (alpha_scalar_mode_supported_p): Likewise.
      	(alpha_emit_xfloating_libcall): Likewise.
      	(emit_insxl): Likewise.
      	(alpha_arg_type): Likewise.
      	* config/arc/arc.c (arc_vector_mode_supported_p): Likewise.
      	(arc_preferred_simd_mode): Likewise.
      	(arc_secondary_reload): Likewise.
      	(get_arc_condition_code): Likewise.
      	(arc_print_operand): Likewise.
      	(arc_legitimate_constant_p): Likewise.
      	* config/arc/arc.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/arc/arc.md (casesi_load): Likewise.
      	(casesi_compact_jump): Likewise.
      	* config/arc/predicates.md (proper_comparison_operator): Likewise.
      	(cc_use_register): Likewise.
      	* config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/arm/arm-builtins.c (arm_simd_builtin_std_type): Likewise.
      	(arm_init_iwmmxt_builtins): Likewise.
      	* config/arm/arm.c (thumb1_size_rtx_costs): Likewise.
      	(neon_expand_vector_init): Likewise.
      	(arm_attr_length_move_neon): Likewise.
      	(maybe_get_arm_condition_code): Likewise.
      	(arm_emit_vector_const): Likewise.
      	(arm_preferred_simd_mode): Likewise.
      	(arm_output_iwmmxt_tinsr): Likewise.
      	(thumb1_output_casesi): Likewise.
      	(thumb2_output_casesi): Likewise.
      	(arm_emit_load_exclusive): Likewise.
      	(arm_emit_store_exclusive): Likewise.
      	(arm_expand_compare_and_swap): Likewise.
      	(arm_evpc_neon_vuzp): Likewise.
      	(arm_evpc_neon_vzip): Likewise.
      	(arm_evpc_neon_vrev): Likewise.
      	(arm_evpc_neon_vtrn): Likewise.
      	(arm_evpc_neon_vext): Likewise.
      	(arm_validize_comparison): Likewise.
      	* config/arm/neon.md (neon_vc<cmp_op><mode>): Likewise.
      	* config/avr/avr-c.c (avr_resolve_overloaded_builtin): Likewise.
      	* config/avr/avr.c (avr_rtx_costs_1): Likewise.
      	* config/c6x/c6x.c (c6x_vector_mode_supported_p): Likewise.
      	(c6x_preferred_simd_mode): Likewise.
      	* config/epiphany/epiphany.c (get_epiphany_condition_code): Likewise.
      	(epiphany_rtx_costs): Likewise.
      	* config/epiphany/predicates.md (proper_comparison_operator):
      	Likewise.
      	* config/frv/frv.c (condexec_memory_operand): Likewise.
      	(frv_emit_move): Likewise.
      	(output_move_single): Likewise.
      	(output_condmove_single): Likewise.
      	(frv_hard_regno_mode_ok): Likewise.
      	(frv_matching_accg_mode): Likewise.
      	* config/h8300/h8300.c (split_adds_subs): Likewise.
      	(h8300_rtx_costs): Likewise.
      	(h8300_print_operand): Likewise.
      	(compute_mov_length): Likewise.
      	(output_logical_op): Likewise.
      	(compute_logical_op_length): Likewise.
      	(compute_logical_op_cc): Likewise.
      	(h8300_shift_needs_scratch_p): Likewise.
      	(output_a_shift): Likewise.
      	(compute_a_shift_length): Likewise.
      	(compute_a_shift_cc): Likewise.
      	(expand_a_rotate): Likewise.
      	(output_a_rotate): Likewise.
      	* config/i386/i386.c (classify_argument): Likewise.
      	(function_arg_advance_32): Likewise.
      	(function_arg_32): Likewise.
      	(function_arg_64): Likewise.
      	(function_value_64): Likewise.
      	(ix86_gimplify_va_arg): Likewise.
      	(ix86_legitimate_constant_p): Likewise.
      	(put_condition_code): Likewise.
      	(split_double_mode): Likewise.
      	(ix86_avx256_split_vector_move_misalign): Likewise.
      	(ix86_expand_vector_logical_operator): Likewise.
      	(ix86_split_idivmod): Likewise.
      	(ix86_expand_adjust_ufix_to_sfix_si): Likewise.
      	(ix86_build_const_vector): Likewise.
      	(ix86_build_signbit_mask): Likewise.
      	(ix86_match_ccmode): Likewise.
      	(ix86_cc_modes_compatible): Likewise.
      	(ix86_expand_branch): Likewise.
      	(ix86_expand_sse_cmp): Likewise.
      	(ix86_expand_sse_movcc): Likewise.
      	(ix86_expand_int_sse_cmp): Likewise.
      	(ix86_expand_vec_perm_vpermi2): Likewise.
      	(ix86_expand_vec_perm): Likewise.
      	(ix86_expand_sse_unpack): Likewise.
      	(ix86_expand_int_addcc): Likewise.
      	(ix86_split_to_parts): Likewise.
      	(ix86_vectorize_builtin_gather): Likewise.
      	(ix86_vectorize_builtin_scatter): Likewise.
      	(avx_vpermilp_parallel): Likewise.
      	(inline_memory_move_cost): Likewise.
      	(ix86_tieable_integer_mode_p): Likewise.
      	(x86_maybe_negate_const_int): Likewise.
      	(ix86_expand_vector_init_duplicate): Likewise.
      	(ix86_expand_vector_init_one_nonzero): Likewise.
      	(ix86_expand_vector_init_one_var): Likewise.
      	(ix86_expand_vector_init_concat): Likewise.
      	(ix86_expand_vector_init_interleave): Likewise.
      	(ix86_expand_vector_init_general): Likewise.
      	(ix86_expand_vector_set): Likewise.
      	(ix86_expand_vector_extract): Likewise.
      	(emit_reduc_half): Likewise.
      	(ix86_emit_i387_round): Likewise.
      	(ix86_mangle_type): Likewise.
      	(ix86_expand_round_sse4): Likewise.
      	(expand_vec_perm_blend): Likewise.
      	(canonicalize_vector_int_perm): Likewise.
      	(ix86_expand_vec_one_operand_perm_avx512): Likewise.
      	(expand_vec_perm_1): Likewise.
      	(expand_vec_perm_interleave3): Likewise.
      	(expand_vec_perm_even_odd_pack): Likewise.
      	(expand_vec_perm_even_odd_1): Likewise.
      	(expand_vec_perm_broadcast_1): Likewise.
      	(ix86_vectorize_vec_perm_const_ok): Likewise.
      	(ix86_expand_vecop_qihi): Likewise.
      	(ix86_expand_mul_widen_hilo): Likewise.
      	(ix86_expand_sse2_abs): Likewise.
      	(ix86_expand_pextr): Likewise.
      	(ix86_expand_pinsr): Likewise.
      	(ix86_preferred_simd_mode): Likewise.
      	(ix86_simd_clone_compute_vecsize_and_simdlen): Likewise.
      	* config/i386/sse.md (*andnot<mode>3): Likewise.
      	(<mask_codefor><code><mode>3<mask_name>): Likewise.
      	(*<code><mode>3): Likewise.
      	* config/ia64/ia64.c (ia64_expand_vecint_compare): Likewise.
      	(ia64_expand_atomic_op): Likewise.
      	(ia64_arg_type): Likewise.
      	(ia64_mode_to_int): Likewise.
      	(ia64_scalar_mode_supported_p): Likewise.
      	(ia64_vector_mode_supported_p): Likewise.
      	(expand_vec_perm_broadcast): Likewise.
      	* config/iq2000/iq2000.c (iq2000_move_1word): Likewise.
      	(iq2000_function_arg_advance): Likewise.
      	(iq2000_function_arg): Likewise.
      	* config/m32c/m32c.c (m32c_preferred_reload_class): Likewise.
      	* config/m68k/m68k.c (output_dbcc_and_branch): Likewise.
      	(m68k_libcall_value): Likewise.
      	(m68k_function_value): Likewise.
      	(sched_attr_op_type): Likewise.
      	* config/mcore/mcore.c (mcore_output_move): Likewise.
      	* config/microblaze/microblaze.c (microblaze_function_arg_advance):
      	Likewise.
      	(microblaze_function_arg): Likewise.
      	* config/mips/mips.c (mips16_build_call_stub): Likewise.
      	(mips_print_operand): Likewise.
      	(mips_mode_ok_for_mov_fmt_p): Likewise.
      	(mips_vector_mode_supported_p): Likewise.
      	(mips_preferred_simd_mode): Likewise.
      	(mips_expand_vpc_loongson_even_odd): Likewise.
      	(mips_expand_vec_unpack): Likewise.
      	(mips_expand_vi_broadcast): Likewise.
      	(mips_expand_vector_init): Likewise.
      	(mips_expand_vec_reduc): Likewise.
      	(mips_expand_msa_cmp): Likewise.
      	* config/mips/mips.md (casesi_internal_mips16_<mode>): Likewise.
      	* config/mn10300/mn10300.c (mn10300_print_operand): Likewise.
      	(cc_flags_for_mode): Likewise.
      	* config/msp430/msp430.c (msp430_print_operand): Likewise.
      	* config/nds32/nds32-md-auxiliary.c (nds32_mem_format): Likewise.
      	(nds32_output_casesi_pc_relative): Likewise.
      	* config/nds32/nds32.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/nvptx/nvptx.c (nvptx_ptx_type_from_mode): Likewise.
      	(nvptx_gen_unpack): Likewise.
      	(nvptx_gen_pack): Likewise.
      	(nvptx_gen_shuffle): Likewise.
      	(nvptx_gen_wcast): Likewise.
      	(nvptx_preferred_simd_mode): Likewise.
      	* config/pa/pa.c (pa_secondary_reload): Likewise.
      	* config/pa/predicates.md (base14_operand): Likewise.
      	* config/powerpcspe/powerpcspe-c.c
      	(altivec_resolve_overloaded_builtin): Likewise.
      	* config/powerpcspe/powerpcspe.c (rs6000_setup_reg_addr_masks):
      	Likewise.
      	(rs6000_preferred_simd_mode): Likewise.
      	(output_vec_const_move): Likewise.
      	(rs6000_expand_vector_extract): Likewise.
      	(rs6000_split_vec_extract_var): Likewise.
      	(reg_offset_addressing_ok_p): Likewise.
      	(rs6000_legitimate_offset_address_p): Likewise.
      	(rs6000_legitimize_address): Likewise.
      	(rs6000_emit_set_const): Likewise.
      	(rs6000_const_vec): Likewise.
      	(rs6000_emit_move): Likewise.
      	(spe_build_register_parallel): Likewise.
      	(rs6000_darwin64_record_arg_recurse): Likewise.
      	(swap_selector_for_mode): Likewise.
      	(spe_init_builtins): Likewise.
      	(paired_init_builtins): Likewise.
      	(altivec_init_builtins): Likewise.
      	(do_load_for_compare): Likewise.
      	(rs6000_generate_compare): Likewise.
      	(rs6000_expand_float128_convert): Likewise.
      	(emit_load_locked): Likewise.
      	(emit_store_conditional): Likewise.
      	(rs6000_output_function_epilogue): Likewise.
      	(rs6000_handle_altivec_attribute): Likewise.
      	(rs6000_function_value): Likewise.
      	(emit_fusion_gpr_load): Likewise.
      	(emit_fusion_p9_load): Likewise.
      	(emit_fusion_p9_store): Likewise.
      	* config/powerpcspe/predicates.md (easy_fp_constant): Likewise.
      	(fusion_gpr_mem_load): Likewise.
      	(fusion_addis_mem_combo_load): Likewise.
      	(fusion_addis_mem_combo_store): Likewise.
      	* config/rs6000/predicates.md (easy_fp_constant): Likewise.
      	(fusion_gpr_mem_load): Likewise.
      	(fusion_addis_mem_combo_load): Likewise.
      	(fusion_addis_mem_combo_store): Likewise.
      	* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
      	Likewise.
      	* config/rs6000/rs6000-string.c (do_load_for_compare): Likewise.
      	* config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Likewise.
      	(rs6000_preferred_simd_mode): Likewise.
      	(output_vec_const_move): Likewise.
      	(rs6000_expand_vector_extract): Likewise.
      	(rs6000_split_vec_extract_var): Likewise.
      	(reg_offset_addressing_ok_p): Likewise.
      	(rs6000_legitimate_offset_address_p): Likewise.
      	(rs6000_legitimize_address): Likewise.
      	(rs6000_emit_set_const): Likewise.
      	(rs6000_const_vec): Likewise.
      	(rs6000_emit_move): Likewise.
      	(rs6000_darwin64_record_arg_recurse): Likewise.
      	(swap_selector_for_mode): Likewise.
      	(paired_init_builtins): Likewise.
      	(altivec_init_builtins): Likewise.
      	(rs6000_expand_float128_convert): Likewise.
      	(emit_load_locked): Likewise.
      	(emit_store_conditional): Likewise.
      	(rs6000_output_function_epilogue): Likewise.
      	(rs6000_handle_altivec_attribute): Likewise.
      	(rs6000_function_value): Likewise.
      	(emit_fusion_gpr_load): Likewise.
      	(emit_fusion_p9_load): Likewise.
      	(emit_fusion_p9_store): Likewise.
      	* config/rx/rx.c (rx_gen_move_template): Likewise.
      	(flags_from_mode): Likewise.
      	* config/s390/predicates.md (s390_alc_comparison): Likewise.
      	(s390_slb_comparison): Likewise.
      	* config/s390/s390.c (s390_handle_vectorbool_attribute): Likewise.
      	(s390_vector_mode_supported_p): Likewise.
      	(s390_cc_modes_compatible): Likewise.
      	(s390_match_ccmode_set): Likewise.
      	(s390_canonicalize_comparison): Likewise.
      	(s390_emit_compare_and_swap): Likewise.
      	(s390_branch_condition_mask): Likewise.
      	(s390_rtx_costs): Likewise.
      	(s390_secondary_reload): Likewise.
      	(__SECONDARY_RELOAD_CASE): Likewise.
      	(s390_expand_cs): Likewise.
      	(s390_preferred_simd_mode): Likewise.
      	* config/s390/vx-builtins.md (vec_packsu_u<mode>): Likewise.
      	* config/sh/sh.c (sh_print_operand): Likewise.
      	(dump_table): Likewise.
      	(sh_secondary_reload): Likewise.
      	* config/sh/sh.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/sh/sh.md (casesi_worker_1): Likewise.
      	(casesi_worker_2): Likewise.
      	* config/sparc/predicates.md (icc_comparison_operator): Likewise.
      	(fcc_comparison_operator): Likewise.
      	* config/sparc/sparc.c (sparc_expand_move): Likewise.
      	(emit_soft_tfmode_cvt): Likewise.
      	(sparc_preferred_simd_mode): Likewise.
      	(output_cbranch): Likewise.
      	(sparc_print_operand): Likewise.
      	(sparc_expand_vec_perm_bmask): Likewise.
      	(vector_init_bshuffle): Likewise.
      	* config/spu/spu.c (spu_scalar_mode_supported_p): Likewise.
      	(spu_vector_mode_supported_p): Likewise.
      	(spu_expand_insv): Likewise.
      	(spu_emit_branch_or_set): Likewise.
      	(spu_handle_vector_attribute): Likewise.
      	(spu_builtin_splats): Likewise.
      	(spu_builtin_extract): Likewise.
      	(spu_builtin_promote): Likewise.
      	(spu_expand_sign_extend): Likewise.
      	* config/tilegx/tilegx.c (tilegx_scalar_mode_supported_p): Likewise.
      	(tilegx_simd_int): Likewise.
      	* config/tilepro/tilepro.c (tilepro_scalar_mode_supported_p): Likewise.
      	(tilepro_simd_int): Likewise.
      	* config/v850/v850.c (const_double_split): Likewise.
      	(v850_print_operand): Likewise.
      	(ep_memory_offset): Likewise.
      	* config/vax/vax.c (vax_rtx_costs): Likewise.
      	(vax_output_int_move): Likewise.
      	(vax_output_int_add): Likewise.
      	(vax_output_int_subtract): Likewise.
      	* config/visium/predicates.md (visium_branch_operator): Likewise.
      	* config/visium/visium.c (rtx_ok_for_offset_p): Likewise.
      	(visium_print_operand_address): Likewise.
      	* config/visium/visium.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/xtensa/xtensa.c (xtensa_mem_offset): Likewise.
      	(xtensa_expand_conditional_branch): Likewise.
      	(xtensa_copy_incoming_a7): Likewise.
      	(xtensa_output_literal): Likewise.
      	* dfp.c (decimal_real_maxval): Likewise.
      	* targhooks.c (default_libgcc_floating_mode_supported_p): Likewise.
      
      gcc/c-family/
      	* c-cppbuiltin.c (mode_has_fma): Prefix mode names with E_ in
      	case statements.
      
      gcc/objc/
      	* objc-encoding.c (encode_gnu_bitfield): Prefix mode names with E_ in
      	case statements.
      
      libobjc/
      	* encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
      	names with E_ in case statements.
      
      Co-Authored-By: default avatarAlan Hayward <alan.hayward@arm.com>
      Co-Authored-By: default avatarDavid Sherwood <david.sherwood@arm.com>
      
      From-SVN: r251453
      4e10a5a7
  11. Feb 07, 2017
    • Richard Biener's avatar
      re PR tree-optimization/79256 (FAIL: gcc.dg/vect/pr25413a.c execution test) · a4cf4b64
      Richard Biener authored
      2017-02-07  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/79256
      	PR middle-end/79278
      	* builtins.c (get_object_alignment_2): Use min_align_of_type
      	to extract alignment for MEM_REFs to honor BIGGEST_FIELD_ALIGNMENT
      	and ADJUST_FIELD_ALIGN.
      
      	* doc/tm.texi.in (ADJUST_FIELD_ALIGN): Adjust to take additional
      	type parameter.
      	* doc/tm.texi: Regenerate.
      	* stor-layout.c (layout_decl): Adjust.
      	(update_alignment_for_field): Likewise.
      	(place_field): Likewise.
      	(min_align_of_type): Likewise.
      	* config/arc/arc.h (ADJUST_FIELD_ALIGN): Adjust.
      	* config/epiphany/epiphany.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/epiphany/epiphany.c (epiphany_adjust_field_align): Likewise.
      	* config/frv/frv.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/frv/frv.c (frv_adjust_field_align): Likewise.
      	* config/i386/i386.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/i386/i386.c (x86_field_alignment): Likewise.
      	* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Likewise.
      	* config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
      	 Likewise.
      
      	go/
      	* go-backend.c (go_field_alignment): Adjust.
      
      	libobjc/
      	* encoding.c (objc_layout_structure_next_member): Adjust
      	ADJUST_FIELD_ALIGN usage.
      
      	Revert
      	2017-01-30  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/79256
      	* targhooks.c (default_builtin_vector_alignment_reachable): Honor
      	BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN to fix up bogus
      	alignment on TYPE.
      
      From-SVN: r245245
      a4cf4b64
  12. Jan 18, 2017
  13. Jan 17, 2017
    • Jakub Jelinek's avatar
      re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) · 3c36aa6b
      Jakub Jelinek authored
      	PR other/79046
      	* configure: Regenerated.
      config/
      	* acx.m4 (GCC_BASE_VER): New m4 function.
      	(ACX_TOOL_DIRS): Require GCC_BASE_VER, for
      	--with-gcc-major-version-only use just major number from BASE-VER.
      gcc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	(CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s).
      	(gcc.o): Depend on $(BASEVER).
      	* common.opt (dumpfullversion): New option.
      	* gcc.c (driver_handle_option): Handle OPT_dumpfullversion.
      	* doc/invoke.texi: Document -dumpfullversion.
      	* doc/install.texi: Document --with-gcc-major-version-only.
      	* configure: Regenerated.
      libatomic/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libgomp/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libgcc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	* configure: Regenerated.
      libssp/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      liboffloadmic/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libquadmath/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libmpx/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libada/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	* configure: Regenerated.
      lto-plugin/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libitm/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      fixincludes/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      libcilkrts/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libcc1/
      	* configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
      	use just major number from BASE-VER.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libobjc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      libstdc++-v3/
      	* configure.ac: Add GCC_BASE_VER.
      	* fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* po/Makefile.in: Regenerated.
      	* libsupc++/Makefile.in: Regenerated.
      	* testsuite/Makefile.in: Regenerated.
      	* src/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      	* include/Makefile.in: Regenerated.
      	* doc/Makefile.in: Regenerated.
      	* python/Makefile.in: Regenerated.
      	* src/c++11/Makefile.in: Regenerated.
      	* src/c++98/Makefile.in: Regenerated.
      	* src/filesystem/Makefile.in: Regenerated.
      libvtv/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libsanitizer/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* libbacktrace/Makefile.in: Regenerated.
      	* interception/Makefile.in: Regenerated.
      	* asan/Makefile.in: Regenerated.
      	* ubsan/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* sanitizer_common/Makefile.in: Regenerated.
      	* lsan/Makefile.in: Regenerated.
      	* Makefile.in: Regenerated.
      	* tsan/Makefile.in: Regenerated.
      libgfortran/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      
      From-SVN: r244521
      3c36aa6b
  14. Jan 01, 2017
  15. Dec 01, 2016
    • Matthias Klose's avatar
      configure.ac: Don't use pkg-config to check for bdw-gc. · 825fba52
      Matthias Klose authored
      <toplevel>
      
              * configure.ac: Don't use pkg-config to check for bdw-gc.
              * configure: Regenerate.
      
      config/
      
              * pkg.m4: Remove.
      
      libobjc/
      
              * configure.ac: Don't use pkg-config to check for bdw-gc.
              * configure: Regenerate.
      
      gcc/
      
              * doc/install.texi: Don't use pkg-config to check for bdw-gc.
      
      From-SVN: r243108
      825fba52
  16. Nov 30, 2016
    • Matthias Klose's avatar
      configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking for the existence of the... · de683d58
      Matthias Klose authored
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
              for the existence of the pkg-config modules.
              * Regenerate.
      
      From-SVN: r243037
      de683d58
    • Jakub Jelinek's avatar
      configure.ac (--enable-objc-gc): If not given, default to enable_objc_gc=no. · ac02e9a8
      Jakub Jelinek authored
      	* configure.ac (--enable-objc-gc): If not given, default to
      	enable_objc_gc=no.
      	* configure: Regenerated.
      
      From-SVN: r243010
      ac02e9a8
    • Matthias Klose's avatar
      Makefile.def: Remove reference to boehm-gc target module. · 114bf3f1
      Matthias Klose authored
      <toplevel>
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * Makefile.def: Remove reference to boehm-gc target module.
              * configure.ac: Include pkg.m4, check for --with-target-bdw-gc
              options and for the bdw-gc pkg-config module.
              * configure: Regenerate.
              * Makefile.in: Regenerate.
      
      gcc/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * doc/install.texi: Document configure options --enable-objc-gc
              and --with-target-bdw-gc.
      
      config/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * pkg.m4: New file.
      
      libobjc/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * configure.ac (--enable-objc-gc): Allow to configure with a
              system provided boehm-gc.
              * configure: Regenerate.
              * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
              * gc.c: Include system bdw-gc headers.
              * memory.c: Likewise
              * objects.c: Likewise
      
      boehm-gc/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              Remove
      
      From-SVN: r242985
      114bf3f1
  17. Nov 15, 2016
    • Matthias Klose's avatar
      config-ml.in: Remove references to GCJ. · 84c1b9d3
      Matthias Klose authored
      <toplevel>
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	* config-ml.in: Remove references to GCJ.
      	* configure.ac: Likewise.
      	* configure: Regenerate.
      
      config/
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	multi.m4: Don't set GCJ.
      
      gcc/
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	* doc/install.texi: Remove references to gcj/libjava.
      	* doc/invoke.texi: Likewise.
      
      */ (where necessary)
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	* configure: Regenerate.
      
      From-SVN: r242433
      84c1b9d3
  18. Jan 04, 2016
  19. Nov 07, 2015
    • Trevor Saunders's avatar
      replace BITS_PER_UNIT with __CHAR_BIT__ in target libs · a153644f
      Trevor Saunders authored
      libgcc/ChangeLog:
      
      2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config/visium/lib2funcs.c (__set_trampoline_parity): Use
      	__CHAR_BIT__ instead of BITS_PER_UNIT.
      	* fixed-bit.h: Likewise.
      	* fp-bit.h: Likewise.
      	* libgcc2.c (__popcountSI2): Likewise.
      	(__popcountDI2): Likewise.
      	* libgcc2.h: Likewise.
      	* libgcov.h: Likewise.
      
      libobjc/ChangeLog:
      
      2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	PR libobjc/24775
      	* encoding.c (_darwin_rs6000_special_round_type_align): Use
      	__CHAR_BIT__ instead of BITS_PER_UNIT.
      	(objc_sizeof_type): Likewise.
      	(objc_layout_structure): Likewise.
      	(objc_layout_structure_next_member): Likewise.
      	(objc_layout_finish_structure): Likewise.
      	(objc_layout_structure_get_info): Likewise.
      
      From-SVN: r229936
      a153644f
  20. Nov 03, 2015
    • Trevor Saunders's avatar
      remove usage of ROUND_TYPE_SIZE from encoding.c · 4ee6515e
      Trevor Saunders authored
      gcc got rid of this target macro in 2003, so it seems safe to assume the
      alternate path works fine on all targets.
      
      libobjc/ChangeLog:
      
      2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	PR libobjc/24775
      	* encoding.c (objc_layout_finish_structure): Remove usage of
      	ROUND_TYPE_SIZE.
      
      From-SVN: r229727
      4ee6515e
  21. Sep 12, 2015
    • Trevor Saunders's avatar
      stop including tm.h in sendmsg.c · df6c48ba
      Trevor Saunders authored
      libobjc/ChangeLog:
      
      2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	PR libobjc/24775
      	* sendmsg.c (tm.h): Remove include.
      
      From-SVN: r227712
      df6c48ba
    • Trevor Saunders's avatar
      remove unused defines from sendmsg.c · 5625cfc4
      Trevor Saunders authored
      libobjc/ChangeLog:
      
      2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	PR libobjc/24775
      	* sendmsg.c (gen_rtx): Remove macro.
      	(gen_rtx_MEM): Likewise.
      	(gen_rtx_REG): Likewise.
      	(rtx): Likewise.
      
      From-SVN: r227711
      5625cfc4
    • Trevor Saunders's avatar
      remove STRUCT_VALUE macro · 2f0c2a0c
      Trevor Saunders authored
      This macro was converted to the TARGET_STRUCT_VALUE_RTX hook many years
      ago, however there are still some lingering definitions, and a use in
      libobjc.  All the remaining definitions define the macro to 0, which
      libobjc treats the same as undefined, so it won't break anything else to
      have libobjc stop checking the macro.  However it may be that this part
      of libobjc has been broken for a long time on targets that only define
      the hook, but that is a separate issue.
      
      gcc/ChangeLog:
      
      2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config/arc/arc.h: Remove define of STRUCT_VALUE.
      	* config/lm32/lm32.h: Likewise.
      	* config/mep/mep.h: Likewise.
      	* config/visium/visium.h: Likewise.
      	* system.h: Poison STRUCT_VALUE macro.
      
      libobjc/ChangeLog:
      
      2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	PR libobjc/24775
      	* sendmsg.c: Remove check of STRUCT_VALUE macro.
      
      From-SVN: r227710
      2f0c2a0c
  22. Jul 24, 2015
    • Jeff Law's avatar
      re PR other/66259 (Combined gcc and binutils build from git-master fails, with... · 6b1786aa
      Jeff Law authored
      re PR other/66259 (Combined gcc and binutils build from git-master fails, with gas/as-new not existing)
      
      	PR other/66259
      	* config-ml.in: Reflects renaming of configure.in to configure.ac
      	* configure: Likewise
      	* configure.ac: Likewise
      
      boehm-gc/
      
      	PR other/66259
      	* Makefile.direct: Reflects renaming of configure.in to configure.ac
      	* Makefile.dist: Likewise
      	* version.h: Likewise
      	* doc/README: Likewise
      
      config/
      
      	PR other/66259
      	* gettext.m4: Reflects renaming of configure.in to configure.ac
      	* po.m4: Likewise
      	* stdint.m4: Likewise
      	* tcl.m4: Likewise
      
      gcc/
      
      	PR other/66259
      	* acinclude.m4: Reflects renaming of configure.in to configure.ac
      	* configure: Likewise
      	* configure.ac: Likewise
      	* doc/install.texi: Likewise
      	* doc/tm.texi: Likewise
      	* doc/tm.texi.in: Likewise
      
      gcc/ada/
      
      	PR other/66259
      	* prj-nmsc.adb: Reflects renaming of configure.in to configure.ac
      	* gcc-interface/Makefile.in: Likewise
      
      intl/
      
      	PR other/66259
      	* configure: Reflects renaming of configure.in to configure.ac
      
      libjava/
      
      	PR other/66259
      	* configure: Reflects renaming of configure.in to configure.ac
      
      libjava/classpath
      
      	PR other/66259
      	* INSTALL: Reflects renaming of configure.in to configure.ac
      	* ltconfig: Likewise
      	* missing: Likewise
      	* m4/ac_prog_javac.m4: Likewise
      	* m4/ac_prog/javac_works.m4: Likewise
      	* resource/META-INF/mimetypes.default: Likewise
      
      libjava/libltdl
      
      	PR other/66259
      	* THREADS: Reflects renaming of configure.in to configure.ac
      
      liboffloadmic/
      
      	PR other/66259
      	* configure: Reflects renaming of configure.in to configure.ac
      
      From-SVN: r226183
      6b1786aa
  23. May 13, 2015
    • Eric Botcazou's avatar
      sjlj.m4: New file. · 9b92a9f3
      Eric Botcazou authored
      config/
      	* sjlj.m4: New file.
      libgcc/
      	* configure.ac: Include config/sjlj.m4.
      	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
      	* config.in: Regenerate.
      	* configure: Likewise.
      	* config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
      libjava/
      	* configure.ac: Include config/sjlj.m4.
      	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
      	* include/config.h.in: Regenerate.
      	* configure: Likewise.
      	* exception.cc: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
      	* stacktrace.cc: Likewise.
      	* include/default-signal.h: Likewise.
      	* sysdep/i386/backtrace.h: Likewise.
      libobjc/
      	* configure.ac: Remove manual SJLJ check.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
      libstdc++-v3/
      	* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
      	* configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
      	__USING_SJLJ_EXCEPTIONS__.
      	* libsupc++/eh_throw.cc: Likewise.
      	* libsupc++/eh_ptr.cc: Likewise.
      	* doc/html/manual/appendix_porting.html: Remove
      	GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
      	* doc/xml/manual/build_hacking.xml: Likewise.
      	* doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
      	* doc/xml/manual/configure.xml: Likewise.
      
      From-SVN: r223181
      9b92a9f3
    • Michael Haubenwallner's avatar
      libobjc: Bump to automake 1.11.6 · 2394528d
      Michael Haubenwallner authored
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* aclocal.m4: Regenerated with automake-1.11.6.
      
      From-SVN: r223147
      2394528d
  24. May 05, 2015
    • Trevor Saunders's avatar
      Improve the test in bitfields.m4 · d6ed95fc
      Trevor Saunders authored
      Using a named bitfield with a width more than 0 means we won't hit
      weirdness caused by the bitfield not really needing to exist.  Changing
      int to long long means we won't have trouble with some arch where size
      of int is 1 or 2.
      
      libobjc/ChangeLog:
      
      2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* configure: Regenerate.
      
      config/ChangeLog:
      
      2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* bitfields.m4: Change int to long long, and use bitfields of
      	width 1 instead of 0.
      
      From-SVN: r222794
      d6ed95fc
  25. May 02, 2015
    • Trevor Saunders's avatar
      update ChangeLogs for previous commit · 4afeb6fc
      Trevor Saunders authored
      From-SVN: r222716
      4afeb6fc
    • Trevor Saunders's avatar
      fixup libobjc usage of PCC_BITFIELD_TYPE_MATTERS · 539280a8
      Trevor Saunders authored
      libobjc/ChangeLog:
      
      2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* acinclude.m4: Include bitfields.m4.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
      	* encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
      
      config/ChangeLog:
      
      2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* bitfields.m4: New file.
      
      From-SVN: r222715
      539280a8
  26. Apr 30, 2015
  27. Feb 05, 2015
  28. Jan 27, 2015
  29. Jan 09, 2015
  30. Jan 05, 2015
  31. Nov 21, 2014
    • H.J. Lu's avatar
      Always use PIC option with -shared in libtool · a699d672
      H.J. Lu authored
      Libtool needs to pass PIC option -shared when creating shared object to
      link regular object files with slim-lto archive.
      
      	PR bootstrap/63784
      	* libtool.m4: Add $pic_flag with -shared.
      
      boehm-gc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      gcc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libatomic/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libcilkrts/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libffi/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libjava/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libjava/classpath/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      From-SVN: r217937
      a699d672
  32. Nov 11, 2014
    • Francois-Xavier Coudert's avatar
      re PR target/63610 (Fixing the libtool bug for Yosemite (darwin14)) · ebf6d33b
      Francois-Xavier Coudert authored
      toplevel:
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* libtool.m4: Fix globbing of darwin versions.
      
      boehm-gc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      gcc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libatomic/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libbacktrace/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libcc1/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libcilkrts/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libffi/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libgfortran/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libgomp/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libitm/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libobjc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libquadmath/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libsanitizer/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libssp/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libstdc++-v3/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libvtv/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      lto-plugin/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libjava/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libjava/classpath/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      zlib/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      From-SVN: r217366
      ebf6d33b
  33. Nov 05, 2014
    • Rainer Orth's avatar
      Fix gnu11 fallout on Solaris 10+ · 8c768629
      Rainer Orth authored
      	libobjc:
      	* thr.c (_XOPEN_SOURCE): Define as 600.
      
      	libiberty:
      	* sigsetmask.c (_POSIX_SOURCE): Remove.
      
      	libgomp:
      	* config/posix/lock.c (_XOPEN_SOURCE) Define as 600.
      
      From-SVN: r217117
      8c768629
Loading