1. 10 Mar, 2015 30 commits
    • * gcc.dg/ipa/PR64550.c: Update template. · 1574ecc0
      From-SVN: r221331
      Jan Hubicka committed
    • re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the… · 84839a51
      re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the sub_match::matched is false)
      
      	PR libstdc++/64441
      	* include/bits/regex.h (match_results<>::size,
      	match_results<>::position, match_results<>::str,
      	match_results<>::operator[], match_results<>::prefix,
      	match_results<>::suffix, match_results<>::end,
      	match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
      	match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
      	global __unmatched_sub. Add unmatched submatch as part of
      	match_results.
      	* include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
      	regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
      	* testsuite/28_regex/match_results/out_of_range_submatches.cc:
      	New testcases.
      
      From-SVN: r221330
      Tim Shen committed
    • trans.h (caf_sync_memory): New function decl tree. · 9315dff0
      2015-03-10  Alessandro Fanfarillo  <fanfarillo.gcc@gmail.com>
                  Tobias Burnus  <burnus@net-b.de>
      
              * trans.h (caf_sync_memory): New function decl tree.
              * trans-decl.c (gfc_build_builtin_function_decls): Define it.
              (create_main_function): Don't call sync_synchronize and leave
              it to the CAF library.
              * trans-stmt.c (gfc_trans_stop): Ditto.
              (gfc_trans_sync): Ditto; add call library call for sync memory.
      
              * gfortran.dg/coarray_sync_memory.f90: New.
      
              * caf/libcaf.h (_gfortran_caf_sync_memory): New prototype.
              * caf/single.c (_gfortran_caf_sync_memory): Implement.
              (_gfortran_caf_sync_all, _gfortran_caf_sync_image): Add
              __asm__ __volatile___ ("":::"memory").
      
      
      Co-Authored-By: Tobias Burnus <burnus@net-b.de>
      
      From-SVN: r221329
      Alessandro Fanfarillo committed
    • re PR c++/65333 (error: incomplete type used in nested name specifier) · a4d66d7d
      	PR c++/65333
      	DR 1558
      	* pt.c (dependent_type_p_r): Check both class and alias template args.
      
      From-SVN: r221328
      Jason Merrill committed
    • ipa-icf.c (sem_function::equals_wpa): Move here some checks from ... · c4234544
      	* ipa-icf.c (sem_function::equals_wpa): Move here some checks
      	from ...
      	(sem_function::equals_wpa): ... here.
      
      From-SVN: r221327
      Jan Hubicka committed
    • re PR bootstrap/25672 (cross build's libgcc picks up CFLAGS) · fc30054e
      	PR bootstrap/25672
      	* configure.ac: Do not initialize CFLAGS_FOR_TARGET from CFLAGS if
      	cross-compiling.  Similarly for CXX_FOR_TARGET.
      	* configure: Regenerate.
      
      From-SVN: r221326
      Aldy Hernandez committed
    • re PR sanitizer/65367 (indefinite loop occurs with sanitize enabled and certain… · 0757674c
      re PR sanitizer/65367 (indefinite loop occurs with sanitize enabled and certain optimization options)
      
      	PR sanitizer/65367
      	* ubsan.c (ubsan_expand_objsize_ifn): Update GSI instead of GSI_ORIG
      	when only removing the statement.  Handle expanding UBSAN_OBJECT_SIZE
      	separately.
      
      	* c-c++-common/ubsan/pr65367.c: New test.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r221325
      Marek Polacek committed
    • re PR target/65286 (When building on powerpc64le-unknown-linux-gnu,… · dac2639d
      re PR target/65286 (When building on powerpc64le-unknown-linux-gnu, --disable-multilib must be used)
      
      	PR target/65286
      	* config/rs6000/t-linux: For powerpc64* target set
      	MULTILIB_OSDIRNAMES instead of MULTIARCH_DIRNAME.
      
      From-SVN: r221322
      Jakub Jelinek committed
    • re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions) · c6927859
      2015-03-09  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/44563
      	* tree-inline.c (copy_cfg_body): Skip block mapped to entry/exit
      	for redirect_all_calls.
      
      From-SVN: r221321
      Richard Biener committed
    • * gdbinit.in (pcfun): Define and document. · 2e1a9cdb
      From-SVN: r221320
      Marek Polacek committed
    • Fix search path in intelmic-mkoffload for empty COLLECT_GCC. · 30094344
      gcc/
      	* config/i386/intelmic-mkoffload.c: Include intelmic-offload.h instead
      	of libgomp-plugin.h.
      	(find_target_compiler): Support a case when the path to gcc is specified
      	in the PATH env var, so COLLECT_GCC doesn't contain a path.
      	(generate_host_descr_file): Use GOMP_DEVICE_INTEL_MIC from
      	intelmic-offload.h instead of OFFLOAD_TARGET_TYPE_INTEL_MIC from
      	libgomp-plugin.h.
      	(main): Use GCC_INSTALL_NAME as target_driver_name.
      	* config/i386/t-intelmic (CFLAGS-mkoffload.o): Add GCC_INSTALL_NAME
      	define.
      	(mkoffload.o): Remove obsolete include path and defines.
      	(mkoffload$(exeext)): Use $(LINKER) instead of $(COMPILER).
      
      From-SVN: r221319
      Ilya Verbin committed
    • re PR middle-end/63155 (memory hog) · a563c286
      2015-03-10  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/63155
      	* tree-ssa-coalesce.h (verify_ssa_coalescing): Declare.
      	* tree-ssa-coalesce.c: Include timevar.h.
      	(attempt_coalesce): Handle graph being NULL.
      	(coalesce_partitions): Call verify_ssa_coalescing if ENABLE_CHECKING.
      	Split out abnormal coalescing to ...
      	(perform_abnormal_coalescing): ... this function.
      	(coalesce_ssa_name): Perform abnormal coalescing without computing
      	live/conflict.
      	(verify_ssa_coalescing_worker): New function.
      	(verify_ssa_coalescing): Likewise.
      
      From-SVN: r221318
      Richard Biener committed
    • Typo · 77d68d97
      From-SVN: r221317
      Georg-Johann Lay committed
    • re PR target/65296 ([avr] fix various issues with specs file generation) · 4a2caf6c
      	PR target/65296
      	* config.gcc (extra_options) [avr]: Remove.
      	(extra_gcc_objs) [avr]: Use driver-avr.o, avr-devices.o.
      	(tm_file) [avr]: Add avr/specs.h after avr/avr.h.
      	(tm_defines) [avr-*-rtems*]: Add WITH_RTEMS.
      	* config/avr/avr.opt (config/avr/avr-arch.h): Remove include.
      	(-mmcu=): Add Var and MissingArgError properties.
      	(-march=): Remove.
      	* config/avr/genmultilib.awk: Use -mmcu= instead of -march=.
      	* config/avr/t-multilib: Regenerate.
      	* config/avr/specs.h: New file.
      	* config/avr/driver-avr.c: New file.
      	* config/avr/genopt.sh: Remove file.
      	* config/avr/avr-tables.opt: Remove file.
      	* config/avr/predicates.md (avr_current_arch): Rename to avr_arch.
      	* config/avr/avr-c.c: Same.
      	* avr-arch.h: Same.
      	(avr_current_device): Remove proto.
      	* config/avr/avr.h (avr_current_arch): Rename to avr_arch.
      	(AVR_HAVE_8BIT_SP): Don't depend on avr_current_device.
      	(EXTRA_SPEC_FUNCTIONS): Define.
      	(avr_devicespecs_file): New specs function proto.
      	(DRIVER_SELF_SPECS): Use device-specs-file spec function.
      	* config/avr/avr.c (avr_current_arch): Rename to avr_arch.
      	(avr_current_device): Remove definition and usage.
      	(avr_set_core_architecture): New static function.
      	(avr_option_override): Use it.
      	* config/avr/avr-devices.c (diagnostic.h, avr-arch.h): Include them.
      	(mcu_name): New static array.
      	(comparator, avr_archs_str, avr_mcus_str): New static functions.
      	(avr_inform_devices, avr_inform_core_architectures): New functions.
      	* config/avr/gen-avr-mmcu-specs.c (avr-arch.h, specs.h): Include.
      	(avrlibc.h) [WITH_AVRLIBC]: Include.
      	(../rtems.h, rtems.h) [WITH_RTEMS]: Include.
      	(print_mcu): Rewrite from scratch.
      	* config/avr/avrlibc.h (LIB_SPEC, LIBGCC_SPEC, STARTFILE_SPEC):
      	Forward to avr-specific specs defined in device-specs file.
      	* config/avr/t-avr (driver-avr.o): New rule.
      	(avr-devices.o): Depend on avr-arch.h.
      	(avr-mcus): No more depend on avr-tables.opt.
      	(avr-tables.opt): Remove rule.
      	(install-device-specs): Use INSTALL_DATA, not INSTALL_PROGRAM.
      
      From-SVN: r221316
      Georg-Johann Lay committed
    • mpx-dg.exp (mpx_link_flags): Set path to wrappers library. · 768fbdd4
      	* lib/mpx-dg.exp (mpx_link_flags): Set path to wrappers library.
      	* gcc.target/i386/mpx/calloc-1-lbv.c: New.
      	* gcc.target/i386/mpx/calloc-1-ubv.c: New.
      	* gcc.target/i386/mpx/calloc-1-nov.c: New.
      	* gcc.target/i386/mpx/malloc-1-lbv.c: New.
      	* gcc.target/i386/mpx/malloc-1-nov.c: New.
      	* gcc.target/i386/mpx/malloc-1-ubv.c: New.
      	* gcc.target/i386/mpx/realloc-1-lbv.c: New.
      	* gcc.target/i386/mpx/realloc-1-nov.c: New.
      	* gcc.target/i386/mpx/realloc-1-ubv.c: New.
      	* gcc.target/i386/mpx/realloc-2-lbv.c: New.
      	* gcc.target/i386/mpx/realloc-2-nov.c: New.
      	* gcc.target/i386/mpx/realloc-2-ubv.c: New.
      
      From-SVN: r221315
      Ilya Enkovich committed
    • c.opt (fchkp-use-wrappers): New. · 226d62d2
      	* c-family/c.opt (fchkp-use-wrappers): New.
      	* ipa-chkp.c (CHKP_WRAPPER_SYMBOL_PREFIX): New.
      	(chkp_wrap_function): New.
      	(chkp_build_instrumented_fndecl): Support wrapped
      	functions.
      	* doc/invoke.texi (-fcheck-pointer-bounds): New.
      	(-fchkp-check-incomplete-type): New.
      	(-fchkp-first-field-has-own-bounds): New.
      	(-fchkp-narrow-bounds): New.
      	(-fchkp-narrow-to-innermost-array): New.
      	(-fchkp-optimize): New.
      	(-fchkp-use-fast-string-functions): New.
      	(-fchkp-use-nochk-string-functions): New.
      	(-fchkp-use-static-bounds): New.
      	(-fchkp-use-static-const-bounds): New.
      	(-fchkp-treat-zero-dynamic-size-as-infinite): New.
      	(-fchkp-check-read): New.
      	(-fchkp-check-write): New.
      	(-fchkp-store-bounds): New.
      	(-fchkp-instrument-calls): New.
      	(-fchkp-instrument-marked-only): New.
      	(-fchkp-use-wrappers): New.
      	(-static-libmpx): New.
      	(-static-libmpxwrappers): New.
      
      From-SVN: r221314
      Ilya Enkovich committed
    • linux-common.h (LIBMPX_WRAPPERSSPEC): New. · d2d7e672
      gcc/
      
      	* config/i386/linux-common.h (LIBMPX_WRAPPERSSPEC): New.
      	(CHKP_SPEC): Add wrappers library.
      	* c-family/c.opt (static-libmpxwrappers): New.
      
      libmpx/
      
      	* Makefile.am (SUBDIRS): Add mpxwrap when used
      	AS supports MPX.
      	(MAKEOVERRIDES): New.
      	* Makefile.in: Regenerate.
      	* configure.ac: Check AS supports MPX.  Add
      	mpxintr/Makefile to config files.
      	* configure: Regenerate.
      	* mpxwrap/Makefile.am: New.
      	* mpxwrap/Makefile.in: New.
      	* mpxwrap/libtool-version: New.
      	* mpxwrap/mpx_wrappers.cc: New.
      	* mpxwrap/libmpxwrappers.map: New.
      
      From-SVN: r221313
      Ilya Enkovich committed
    • mpx-dg.exp (mpx_link_flags): New. · ee8f136a
      gcc/testsuites/
      
      	* gcc/testsuite/lib/mpx-dg.exp (mpx_link_flags): New.
      	(mpx_init): New.
      	(mpx_finish): New.
      	* gcc.target/i386/mpx/alloca-1-lbv.c: New.
      	* gcc.target/i386/mpx/alloca-1-nov.c: New.
      	* gcc.target/i386/mpx/alloca-1-ubv.c: New.
      	* gcc.target/i386/mpx/arg-addr-1-lbv.c: New.
      	* gcc.target/i386/mpx/arg-addr-1-nov.c: New.
      	* gcc.target/i386/mpx/arg-addr-1-ubv.c: New.
      	* gcc.target/i386/mpx/bitfields-1-lbv.c: New.
      	* gcc.target/i386/mpx/bitfields-1-nov.c: New.
      	* gcc.target/i386/mpx/bitfields-1-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-bounds-1-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-bounds-1-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-bounds-1-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-bounds-2.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-lbounds-1-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-lbounds-1-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-lbounds-2.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-ubounds-1-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-ubounds-1-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-chk-ptr-ubounds-2.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-copy-ptr-bounds-1.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-copy-ptr-bounds-2-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-copy-ptr-bounds-2-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-copy-ptr-bounds-2-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-copy-ptr-bounds-3.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-get-ptr-lbound-1.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-get-ptr-lbound-2.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-get-ptr-ubound-1.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-get-ptr-ubound-2.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-init-ptr-bounds-1.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-init-ptr-bounds-2-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-init-ptr-bounds-3.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-1.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-3-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-3-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-3-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-4.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-null-ptr-bounds-1-bbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-1.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-2-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-2-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-2-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-3.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-lbv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-ubv.c: New.
      	* gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c: New.
      	* gcc.target/i386/mpx/fastcall-1-lbv.c: New.
      	* gcc.target/i386/mpx/fastcall-1-nov.c: New.
      	* gcc.target/i386/mpx/fastcall-1-ubv.c: New.
      	* gcc.target/i386/mpx/fastcall-2-lbv.c: New.
      	* gcc.target/i386/mpx/fastcall-2-nov.c: New.
      	* gcc.target/i386/mpx/fastcall-2-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-1-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-1-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-1-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-10-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-10-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-10-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-2-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-2-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-2-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-3-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-3-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-3-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-4-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-4-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-4-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-5-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-5-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-5-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-6-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-6-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-6-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-7-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-7-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-7-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-8-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-8-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-8-ubv.c: New.
      	* gcc.target/i386/mpx/field-addr-9-lbv.c: New.
      	* gcc.target/i386/mpx/field-addr-9-nov.c: New.
      	* gcc.target/i386/mpx/field-addr-9-ubv.c: New.
      	* gcc.target/i386/mpx/frame-address-1-nov.c: New.
      	* gcc.target/i386/mpx/hard-reg-1-nov.c: New.
      	* gcc.target/i386/mpx/if-stmt-1-lbv.c: New.
      	* gcc.target/i386/mpx/if-stmt-1-nov.c: New.
      	* gcc.target/i386/mpx/if-stmt-1-ubv.c: New.
      	* gcc.target/i386/mpx/if-stmt-2-lbv.c: New.
      	* gcc.target/i386/mpx/if-stmt-2-nov.c: New.
      	* gcc.target/i386/mpx/if-stmt-2-ubv.c: New.
      	* gcc.target/i386/mpx/label-address-1.c: New.
      	* gcc.target/i386/mpx/legacy-1-nov.c: New.
      	* gcc.target/i386/mpx/macro.c: New.
      	* gcc.target/i386/mpx/mpx-check.h: New.
      	* gcc.target/i386/mpx/mpx.exp: New.
      	* gcc.target/i386/mpx/nested-function-1-lbv.c: New.
      	* gcc.target/i386/mpx/nested-function-1-nov.c: New.
      	* gcc.target/i386/mpx/nested-function-1-ubv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-1-lbv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-1-nov.c: New.
      	* gcc.target/i386/mpx/pointer-arg-1-ubv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-2-lbv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-2-nov.c: New.
      	* gcc.target/i386/mpx/pointer-arg-2-ubv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-3-lbv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-3-nov.c: New.
      	* gcc.target/i386/mpx/pointer-arg-3-ubv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-4-lbv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-4-nov.c: New.
      	* gcc.target/i386/mpx/pointer-arg-4-ubv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-5-lbv.c: New.
      	* gcc.target/i386/mpx/pointer-arg-5-nov.c: New.
      	* gcc.target/i386/mpx/pointer-arg-5-ubv.c: New.
      	* gcc.target/i386/mpx/pointer-store-1-lbv.c: New.
      	* gcc.target/i386/mpx/pointer-store-1-nov.c: New.
      	* gcc.target/i386/mpx/pointer-store-1-ubv.c: New.
      	* gcc.target/i386/mpx/reference-1-lbv.c: New.
      	* gcc.target/i386/mpx/reference-1-nov.c: New.
      	* gcc.target/i386/mpx/reference-1-ubv.c: New.
      	* gcc.target/i386/mpx/reference-2-lbv.c: New.
      	* gcc.target/i386/mpx/reference-2-nov.c: New.
      	* gcc.target/i386/mpx/reference-2-ubv.c: New.
      	* gcc.target/i386/mpx/reference-3-lbv.c: New.
      	* gcc.target/i386/mpx/reference-3-nov.c: New.
      	* gcc.target/i386/mpx/reference-3-ubv.c: New.
      	* gcc.target/i386/mpx/reference-4-lbv.c: New.
      	* gcc.target/i386/mpx/reference-4-nov.c: New.
      	* gcc.target/i386/mpx/reference-4-ubv.c: New.
      	* gcc.target/i386/mpx/return-pointer-1-lbv.c: New.
      	* gcc.target/i386/mpx/return-pointer-1-nov.c: New.
      	* gcc.target/i386/mpx/return-pointer-1-ubv.c: New.
      	* gcc.target/i386/mpx/return-struct-1-lbv.c: New.
      	* gcc.target/i386/mpx/return-struct-1-nov.c: New.
      	* gcc.target/i386/mpx/return-struct-1-ubv.c: New.
      	* gcc.target/i386/mpx/return-struct-2-lbv.c: New.
      	* gcc.target/i386/mpx/return-struct-2-nov.c: New.
      	* gcc.target/i386/mpx/return-struct-2-ubv.c: New.
      	* gcc.target/i386/mpx/return-struct-3-lbv.c: New.
      	* gcc.target/i386/mpx/return-struct-3-nov.c: New.
      	* gcc.target/i386/mpx/return-struct-3-ubv.c: New.
      	* gcc.target/i386/mpx/return-struct-4-lbv.c: New.
      	* gcc.target/i386/mpx/return-struct-4-nov.c: New.
      	* gcc.target/i386/mpx/return-struct-4-ubv.c: New.
      	* gcc.target/i386/mpx/return-struct-5-lbv.c: New.
      	* gcc.target/i386/mpx/return-struct-5-nov.c: New.
      	* gcc.target/i386/mpx/return-struct-5-ubv.c: New.
      	* gcc.target/i386/mpx/return-struct-6-lbv.c: New.
      	* gcc.target/i386/mpx/return-struct-6-nov.c: New.
      	* gcc.target/i386/mpx/return-struct-6-ubv.c: New.
      	* gcc.target/i386/mpx/sincos-1-nov.c: New.
      	* gcc.target/i386/mpx/static-array-1-lbv.c: New.
      	* gcc.target/i386/mpx/static-array-1-nov.c: New.
      	* gcc.target/i386/mpx/static-array-1-ubv.c: New.
      	* gcc.target/i386/mpx/static-init-1-lbv.c: New.
      	* gcc.target/i386/mpx/static-init-1-nov.c: New.
      	* gcc.target/i386/mpx/static-init-1-ubv.c: New.
      	* gcc.target/i386/mpx/static-init-2-lbv.c: New.
      	* gcc.target/i386/mpx/static-init-2-nov.c: New.
      	* gcc.target/i386/mpx/static-init-2-ubv.c: New.
      	* gcc.target/i386/mpx/static-init-3-lbv.c: New.
      	* gcc.target/i386/mpx/static-init-3-nov.c: New.
      	* gcc.target/i386/mpx/static-init-3-ubv.c: New.
      	* gcc.target/i386/mpx/static-init-4-lbv.c: New.
      	* gcc.target/i386/mpx/static-init-4-nov.c: New.
      	* gcc.target/i386/mpx/static-init-4-ubv.c: New.
      	* gcc.target/i386/mpx/static-init-5-lbv.c: New.
      	* gcc.target/i386/mpx/static-init-5-nov.c: New.
      	* gcc.target/i386/mpx/static-init-5-ubv.c: New.
      	* gcc.target/i386/mpx/static-init-6-lbv.c: New.
      	* gcc.target/i386/mpx/static-init-6-nov.c: New.
      	* gcc.target/i386/mpx/static-init-6-ubv.c: New.
      	* gcc.target/i386/mpx/static-string-1-lbv.c: New.
      	* gcc.target/i386/mpx/static-string-1-nov.c: New.
      	* gcc.target/i386/mpx/static-string-1-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-1-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-1-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-1-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-10-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-10-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-10-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-2-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-2-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-2-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-3-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-3-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-3-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-4-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-4-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-4-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-5-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-5-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-5-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-6-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-6-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-6-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-7-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-7-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-7-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-8-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-8-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-8-ubv.c: New.
      	* gcc.target/i386/mpx/struct-arg-9-lbv.c: New.
      	* gcc.target/i386/mpx/struct-arg-9-nov.c: New.
      	* gcc.target/i386/mpx/struct-arg-9-ubv.c: New.
      	* gcc.target/i386/mpx/struct-copy-1-lbv.c: New.
      	* gcc.target/i386/mpx/struct-copy-1-nov.c: New.
      	* gcc.target/i386/mpx/struct-copy-1-ubv.c: New.
      	* gcc.target/i386/mpx/struct-copy-2-lbv.c: New.
      	* gcc.target/i386/mpx/struct-copy-2-nov.c: New.
      	* gcc.target/i386/mpx/struct-copy-2-ubv.c: New.
      	* gcc.target/i386/mpx/thread-local-var-1-lbv.c: New.
      	* gcc.target/i386/mpx/thread-local-var-1-nov.c: New.
      	* gcc.target/i386/mpx/thread-local-var-1-ubv.c: New.
      	* gcc.target/i386/mpx/union-arg-1-lbv.c: New.
      	* gcc.target/i386/mpx/union-arg-1-nov.c: New.
      	* gcc.target/i386/mpx/union-arg-1-ubv.c: New.
      	* gcc.target/i386/mpx/va-arg-pack-1-lbv.c: New.
      	* gcc.target/i386/mpx/va-arg-pack-1-nov.c: New.
      	* gcc.target/i386/mpx/va-arg-pack-1-ubv.c: New.
      	* gcc.target/i386/mpx/va-arg-pack-2-lbv.c: New.
      	* gcc.target/i386/mpx/va-arg-pack-2-nov.c: New.
      	* gcc.target/i386/mpx/va-arg-pack-2-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-1-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-1-nov.c: New.
      	* gcc.target/i386/mpx/vararg-1-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-2-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-2-nov.c: New.
      	* gcc.target/i386/mpx/vararg-2-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-3-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-3-nov.c: New.
      	* gcc.target/i386/mpx/vararg-3-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-4-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-4-nov.c: New.
      	* gcc.target/i386/mpx/vararg-4-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-5-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-5-nov.c: New.
      	* gcc.target/i386/mpx/vararg-5-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-6-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-6-nov.c: New.
      	* gcc.target/i386/mpx/vararg-6-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-7-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-7-nov.c: New.
      	* gcc.target/i386/mpx/vararg-7-ubv.c: New.
      	* gcc.target/i386/mpx/vararg-8-lbv.c: New.
      	* gcc.target/i386/mpx/vararg-8-nov.c: New.
      	* gcc.target/i386/mpx/vararg-8-ubv.c: New.
      	* gcc.target/i386/mpx/vla-1-lbv.c: New.
      	* gcc.target/i386/mpx/vla-1-nov.c: New.
      	* gcc.target/i386/mpx/vla-1-ubv.c: New.
      	* gcc.target/i386/mpx/vla-2-lbv.c: New.
      	* gcc.target/i386/mpx/vla-2-nov.c: New.
      	* gcc.target/i386/mpx/vla-2-ubv.c: New.
      
      From-SVN: r221312
      Ilya Enkovich committed
    • Makefile.def: Add libmpx. · 5373cd33
      	* Makefile.def: Add libmpx.
      	* configure.ac: Add libmpx.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      gcc/
      
      	* config/i386/linux-common.h (LIBMPX_LIBS): New.
      	(LIBMPX_SPEC): New.
      	(CHKP_SPEC): New.
      	* gcc.c (CHKP_SPEC): New.
      	(LINK_COMMAND_SPEC): Add CHKP_SPEC.
      	* c-family/c.opt (static-libmpx): New.
      
      libmpx/
      
      	Initial commit.
      
      From-SVN: r221311
      Ilya Enkovich committed
    • [Patch testsuite] Further reduce the alignment in gcc.dg/vect/pr65310.c · 5a434178
      gcc/testsuite/
      
      	* gcc.dg/vect/pr65310.c (c): Reduce alignment to 4-bytes.
      
      From-SVN: r221310
      James Greenhalgh committed
    • pr54680.c: Add -fno-ipa-icf option. · fe7ac503
      gcc/testsuite:
      	* gcc.target/sh/pr54680.c: Add -fno-ipa-icf option.
      
      From-SVN: r221309
      Oleg Endo committed
    • re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions) · 40ff1364
      2015-03-10  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/44563
      	* cgraph.h (struct cgraph_edge_hasher): Add hash overload
      	for compare_type.
      	* cgraph.c (cgraph_edge_hasher::hash): Inline htab_hash_pointer.
      	(cgraph_update_edge_in_call_site_hash): Use cgraph_edge_hasher::hash.
      	(cgraph_add_edge_to_call_site_hash): Likewise.
      	(cgraph_node::get_edge): Likewise.
      	(cgraph_edge::set_call_stmt): Likewise.
      	(cgraph_edge::remove_caller): Likewise.
      
      From-SVN: r221308
      Richard Biener committed
    • [NDS32] Rename some variables so that we can clearly identify they represent… · c457f751
      [NDS32] Rename some variables so that we can clearly identify they represent general purpose registers.
      
      gcc/
      	* config/nds32/nds32.h (callee_saved_regs_size): Rename to ...
      	(callee_saved_gpr_regs_size): ... this.
      	(callee_saved_regs_first_regno): Rename to ...
      	(callee_saved_first_gpr_regno): ... this.
      	(callee_saved_regs_last_regno) Rename to ...
      	(callee_saved_last_gpr_regno): ... this.
      	* config/nds32/nds32.c (nds32_compute_stack_frame): Adjust renamed
      	variables.
      	(nds32_initial_elimination_offset): Likewise.
      	(nds32_expand_prologue): Likewise.
      	(nds32_expand_epilogue): Likewise.
      	(nds32_expand_prologue_v3push): Likewise.
      	(nds32_expand_epilogue_v3pop): Likewise.
      	* config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
      	Adjust renamed variables.
      	(nds32_output_stack_pop): Likewise.
      
      From-SVN: r221306
      Chung-Ju Wu committed
    • ipa-icf-36.c (dg-final): Cleanup icf ipa dump. · 6cf6683f
      	* gcc.dg/ipa/ipa-icf-36.c (dg-final): Cleanup icf ipa dump.
      	* gcc.dg/ipa/ipa-icf-37.c (dg-final): Ditto.
      
      From-SVN: r221304
      Uros Bizjak committed
    • dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B code in comment. · 048f1a9c
      2015-03-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          * dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B
          code in comment.
      
      From-SVN: r221303
      Thomas Preud'homme committed
    • re PR c/65120 (Wlogical-not-parentheses should not warn about double exclamation !!) · 7ccb1a11
      	PR c/65120
      	* c-common.c (warn_logical_not_parentheses): Don't warn for
      	!x == 0 or !x != 0.
      
      	* c-typeck.c (parser_build_binary_op): Check for tcc_comparison
      	before preparing arguments to warn_logical_not_parentheses.
      
      	* parser.c (cp_parser_binary_expression): Check for tcc_comparison
      	before preparing arguments to warn_logical_not_parentheses.
      	Use maybe_constant_value on rhs.
      
      	* c-c++-common/pr49706.c (fn2): Don't expect warning if enumerator
      	on rhs is 0.
      	(fn4): New test.
      	* c-c++-common/pr65120.c: New test.
      
      From-SVN: r221299
      Jakub Jelinek committed
    • re PR rtl-optimization/65321 (ICE on valid code at -O2 and -O3 with -g enabled… · 26d83bcc
      re PR rtl-optimization/65321 (ICE on valid code at -O2 and -O3 with -g enabled in decompose, at rtl.h:2007)
      
      	PR rtl-optimization/65321
      	* cfgexpand.c (expand_debug_expr): Ensure shift amount isn't wider
      	than shift mode.
      	* var-tracking.c (use_narrower_mode): Likewise.
      
      	* gcc.dg/pr65321.c: New test.
      
      From-SVN: r221298
      Jakub Jelinek committed
    • re PR tree-optimization/65355 (vectorizer increase alignment of symbols already placed in anchors) · caf2df93
      
      	PR tree-optimization/65355
      	* varasm.c (notice_global_symbol): Do not produce RTL.
      	* symtab.c (symtab_node::can_increase_alignment_p): Check for section
      	anchor.
      	* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Do not
      	check for section anchors.
      	* gcc.dg/vect/section-anchors-vect-69.c: Update template.
      
      From-SVN: r221297
      Jan Hubicka committed
    • Daily bump. · 57ace19f
      From-SVN: r221296
      GCC Administrator committed
    • re PR go/65353 (unknown ptrSize for $GOARCH "arm64" on aarch64-linux-gnu) · 1c1f0c59
      	PR go/65353.
      cmd/cgo: Add all gccgo GOARCH values to size maps.
      
      From-SVN: r221293
      Ian Lance Taylor committed
  2. 09 Mar, 2015 10 commits