1. 27 May, 2015 2 commits
  2. 13 May, 2015 1 commit
    • sjlj.m4: New file. · 9b92a9f3
      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
      Eric Botcazou committed
  3. 05 May, 2015 1 commit
    • Improve the test in bitfields.m4 · d6ed95fc
      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
      Trevor Saunders committed
  4. 02 May, 2015 2 commits
  5. 14 Apr, 2015 2 commits
  6. 10 Apr, 2015 1 commit
    • re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin;… · cacf1f59
      re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.)
      
      	PR target/65351
      config/
      	* mh-darwin: Only apply -mdynamic-no-pic for m32 Darwin when the compiler in
      	use supports -mno-dynamic-no-pic.
      	* picflag.m4: Only append -mno-dynamic-no-pic for Darwin when -mdynamic-no-pic
      	is present in CFLAGS.
      
      libiberty/
      	* configure: Regenerate.
      libada/
      	* configure: Regenerate.
      libgcc/
      	* configure: Regenerate.
      gcc/
      	* configure: Regenerate.
      
      
      Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
      
      From-SVN: r221967
      Jakub Jelinek committed
  7. 07 Apr, 2015 1 commit
  8. 27 Mar, 2015 1 commit
  9. 25 Mar, 2015 1 commit
  10. 16 Mar, 2015 1 commit
  11. 25 Feb, 2015 1 commit
    • Revert: · 76fabbf4
      	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/47230
      	* configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
      	* configure: Regenerate.
      
      /config
      
      	Revert:
      	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/47230
      	* mh-alpha-linux: New file.
      
      /gcc
      
      	PR target/47230
      	* doc/install.texi (Specific, alpha*-*-*): Document that binutils 2.25
      	or newer are required.
      
      From-SVN: r220990
      Uros Bizjak committed
  12. 18 Feb, 2015 1 commit
  13. 04 Dec, 2014 1 commit
  14. 26 Nov, 2014 2 commits
  15. 18 Nov, 2014 1 commit
  16. 17 Nov, 2014 1 commit
  17. 13 Nov, 2014 1 commit
    • [PATCH 2/4] OpenMP 4.0 offloading to Intel MIC: liboffloadmic. · 5f520819
      	* Makefile.def: Add liboffloadmic to target_modules.  Make
      	liboffloadmic depend on libgomp's configure, libstdc++ and libgcc.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* configure.ac: Add liboffloadmic to target binaries.
      	Restrict liboffloadmic for POSIX and i*86, and x86_64 architectures.
      	Add liboffloadmic to noconfig list when C++ is not supported.
      
      config/
      	* target-posix: New file.
      
      libcilkrts/
      	* configure.tgt: Use config/target-posix.
      
      liboffloadmic/
      	Initial commit.  Imported from upstream:
      	https://www.openmprtl.org/sites/default/files/liboffload_oss.tgz
      	* Makefile.am: New file.
      	* Makefile.in: New file, generated by automake.
      	* aclocal.m4: New file, generated by aclocal.
      	* configure: New file, generated by autoconf.
      	* configure.ac: New file.
      	* configure.tgt: Ditto.
      	* doc/doxygen/config: Ditto.
      	* doc/doxygen/header.tex: Ditto.
      	* include/coi/common/COIEngine_common.h: Ditto.
      	* include/coi/common/COIMacros_common.h: Ditto.
      	* include/coi/common/COIPerf_common.h : Ditto.
      	* include/coi/common/COIResult_common.h : Ditto.
      	* include/coi/common/COITypes_common.h: Ditto.
      	* include/coi/sink/COIBuffer_sink.h: Ditto.
      	* include/coi/sink/COIPipeline_sink.h: Ditto.
      	* include/coi/sink/COIProcess_sink.h: Ditto.
      	* include/coi/source/COIBuffer_source.h: Ditto.
      	* include/coi/source/COIEngine_source.h: Ditto.
      	* include/coi/source/COIEvent_source.h: Ditto.
      	* include/coi/source/COIPipeline_source.h: Ditto.
      	* include/coi/source/COIProcess_source.h: Ditto.
      	* include/myo/myo.h: Ditto.
      	* include/myo/myoimpl.h: Ditto.
      	* include/myo/myotypes.h: Ditto.
      	* liboffloadmic_host.spec.in: Ditto.
      	* liboffloadmic_target.spec.in: Ditto.
      	* runtime/cean_util.cpp: Ditto.
      	* runtime/cean_util.h: Ditto.
      	* runtime/coi/coi_client.cpp: Ditto.
      	* runtime/coi/coi_client.h: Ditto.
      	* runtime/coi/coi_server.cpp: Ditto.
      	* runtime/coi/coi_server.h: Ditto.
      	* runtime/compiler_if_host.cpp: Ditto.
      	* runtime/compiler_if_host.h: Ditto.
      	* runtime/compiler_if_target.cpp: Ditto.
      	* runtime/compiler_if_target.h: Ditto.
      	* runtime/dv_util.cpp: Ditto.
      	* runtime/dv_util.h: Ditto.
      	* runtime/emulator/coi_common.h: Ditto.
      	* runtime/emulator/coi_device.cpp: Ditto.
      	* runtime/emulator/coi_device.h: Ditto.
      	* runtime/emulator/coi_host.cpp: Ditto.
      	* runtime/emulator/coi_host.h: Ditto.
      	* runtime/emulator/coi_version_asm.h: Ditto.
      	* runtime/emulator/coi_version_linker_script.map: Ditto.
      	* runtime/emulator/myo_client.cpp: Ditto.
      	* runtime/emulator/myo_service.cpp: Ditto.
      	* runtime/emulator/myo_service.h: Ditto.
      	* runtime/emulator/myo_version_asm.h: Ditto.
      	* runtime/emulator/myo_version_linker_script.map: Ditto.
      	* runtime/liboffload_error.c: Ditto.
      	* runtime/liboffload_error_codes.h: Ditto.
      	* runtime/liboffload_msg.c: Ditto.
      	* runtime/liboffload_msg.h: Ditto.
      	* runtime/mic_lib.f90: Ditto.
      	* runtime/offload.h: Ditto.
      	* runtime/offload_common.cpp: Ditto.
      	* runtime/offload_common.h: Ditto.
      	* runtime/offload_engine.cpp: Ditto.
      	* runtime/offload_engine.h: Ditto.
      	* runtime/offload_env.cpp: Ditto.
      	* runtime/offload_env.h: Ditto.
      	* runtime/offload_host.cpp: Ditto.
      	* runtime/offload_host.h: Ditto.
      	* runtime/offload_myo_host.cpp: Ditto.
      	* runtime/offload_myo_host.h: Ditto.
      	* runtime/offload_myo_target.cpp: Ditto.
      	* runtime/offload_myo_target.h: Ditto.
      	* runtime/offload_omp_host.cpp: Ditto.
      	* runtime/offload_omp_target.cpp: Ditto.
      	* runtime/offload_orsl.cpp: Ditto.
      	* runtime/offload_orsl.h: Ditto.
      	* runtime/offload_table.cpp: Ditto.
      	* runtime/offload_table.h: Ditto.
      	* runtime/offload_target.cpp: Ditto.
      	* runtime/offload_target.h: Ditto.
      	* runtime/offload_target_main.cpp: Ditto.
      	* runtime/offload_timer.h: Ditto.
      	* runtime/offload_timer_host.cpp: Ditto.
      	* runtime/offload_timer_target.cpp: Ditto.
      	* runtime/offload_trace.cpp: Ditto.
      	* runtime/offload_trace.h: Ditto.
      	* runtime/offload_util.cpp: Ditto.
      	* runtime/offload_util.h: Ditto.
      	* runtime/ofldbegin.cpp: Ditto.
      	* runtime/ofldend.cpp: Ditto.
      	* runtime/orsl-lite/include/orsl-lite.h: Ditto.
      	* runtime/orsl-lite/lib/orsl-lite.c: Ditto.
      	* runtime/orsl-lite/version.txt: Ditto.
      	* runtime/use_mpss2.txt: Ditto.
      
      From-SVN: r217498
      Kirill Yukhin committed
  18. 11 Nov, 2014 1 commit
    • cloog.m4: Remove. · 4a9bb2aa
      2014-11-11  Tobias Burnus  <burnus@net-b.de>
      
              * config/cloog.m4: Remove.
              * Makefile.def: Remove CLooG.
              * Makefile.tpl: Ditto.
              * configure.ac: Ditto.
              * configure: Regenerate.
              * Makefile.in: Ditto.
      
      From-SVN: r217364
      Tobias Burnus committed
  19. 27 Oct, 2014 1 commit
    • Let GDB reuse GCC's parser. · ddc8de03
      2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
      	    Jan Kratochvil  <jan.kratochvil@redhat.com>
      	    Tom Tromey  <tromey@redhat.com>
      
      	* aclocal.m4: New file.
      	* callbacks.cc: New file.
      	* callbacks.hh: New file.
      	* cc1plugin-config.h.in: New file.
      	* configure: New file.
      	* configure.ac: New file.
      	* connection.cc: New file.
      	* connection.hh: New file.
      	* findcomp.cc: New file.
      	* findcomp.hh: New file.
      	* libcc1.cc: New file.
      	* libcc1plugin.sym: New file.
      	* libcc1.sym: New file.
      	* Makefile.am: New file.
      	* Makefile.in: New file.
      	* marshall.cc: New file.
      	* marshall.hh: New file.
      	* names.cc: New file.
      	* names.hh: New file.
      	* plugin.cc: New file.
      	* rpc.hh: New file.
      	* status.hh: New file.
      
      2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
      	    Jan Kratochvil  <jan.kratochvil@redhat.com>
      	    Tom Tromey  <tromey@redhat.com>
      
      	* gcc-c-fe.def: New file.
      	* gcc-c-interface.h: New file.
      	* gcc-interface.h: New file.
      
      2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
      	    Tom Tromey  <tromey@redhat.com>
      
      	* c-tree.h (enum c_oracle_request): New.
      	(c_binding_oracle_function): New typedef.
      	(c_binding_oracle, c_pushtag, c_bind): Declare.
      	* c-decl.c (c_binding_oracle): New global.
      	(I_SYMBOL_CHECKED): New macro.
      	(i_symbol_binding): New function.
      	(I_SYMBOL_BINDING, I_SYMBOL_DECL): Redefine.
      	(I_TAG_CHECKED): New macro.
      	(i_tag_binding): New function.
      	(I_TAG_BINDING, I_TAG_DECL): Redefine.
      	(I_LABEL_CHECKED): New macro.
      	(i_label_binding): New function.
      	(I_LABEL_BINDING, I_LABEL_DECL): Redefine.
      	(c_print_identifier): Save and restore c_binding_oracle.
      	(c_pushtag, c_bind): New functions.
      
      2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
      	    Tom Tromey  <tromey@redhat.com>
      
      	* aclocal.m4, configure: Rebuild.
      	* Makefile.in (aclocal_deps): Add gcc-plugin.m4.
      	* configure.ac: Use GCC_ENABLE_PLUGINS.
      	* stor-layout.c (finish_bitfield_layout): Now public.  Change
      	argument type to 'tree'.
      	(finish_record_layout): Update.
      	* stor-layout.h (finish_bitfield_layout): Declare.
      
      2014-10-27  Tom Tromey  <tromey@redhat.com>
      
      	* gcc-plugin.m4: New file.
      
      2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
      	    Tom Tromey  <tromey@redhat.com>
      
      	* Makefile.def: Add libcc1 to host_modules.
      	* configure.ac (host_tools): Add libcc1.
      	* Makefile.in, configure: Rebuild.
      
      From-SVN: r216748
      Phil Muldoon committed
  20. 01 Sep, 2014 1 commit
    • Support slim LTO bootstrap · e04733ee
      Change the bootstrap-lto config file to use slim (non fat) LTO..
      Speeds up the LTO bootstrap by ~18% on a 4 core system.
      
      This requires using gcc-ar/ranlib in post stage 1 builds, so these
      are passed to all sub builds.
      
      config/:
      
      2014-09-01  Andi Kleen  <ak@linux.intel.com>
      
      	* bootstrap-lto.mk: Implement slim bootstrap.
      
      /:
      2014-09-01  Andi Kleen  <ak@linux.intel.com>
      
      	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add LTO_EXPORTS.
      	POSTSTAGE1_FLAGS_TO_PASS):  Add LTO_FLAGS_TO_PASS.
      	* Makefile.in: Regenerate.
      
      From-SVN: r214801
      Andi Kleen committed
  21. 28 Aug, 2014 1 commit
    • check functionality of isl version 0.12 · e0c0c325
      	* config/isl.m4 (_ISL_CHECK_CT_PROG): Removed.
      	(ISL_CHECK_VERSION): Check for functionality added to ISL 0.12 instead
      	of checking for version number.
      	* configure: Regenerated.
      	* configure.ac (ISL_CHECK_VERSION): Do not use ISL version number.
      
      From-SVN: r214683
      Sebastian Pop committed
  22. 21 Aug, 2014 1 commit
  23. 18 Aug, 2014 1 commit
    • configure.ac: Eliminate ClooG installation dependency. · eae1a5d4
      	* configure.ac: Eliminate ClooG installation dependency.
      	* configure: Regenerate.
      	* Makefile.tpl: Add definition of ISLLIBS and HOST_ISLLIBS.
      	* Makefile.in: Regenerate.
      
      [config/]
      
      	* cloog.m4: Remove the path to isllibs from clooglibs.
      	* isl.m4: Add paths to islinc, isllibs.
      
      [gcc/]
      
      	* Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
      	* config.in: Add undef of HAVE_isl.
      	* configure: Regenerate.
      	* configure.ac: Add definition of HAVE_isl.
      	* graphite-blocking.c: Add checking of HAVE_isl.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-isl-ast-to-gimple.c: Likewise.
      	* graphite-optimize-isl.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* toplev.c: Replace the checking of HAVE_cloog with the checking
      	of HAVE_isl.
      
      From-SVN: r214106
      Roman Gareev committed
  24. 26 Jul, 2014 1 commit
  25. 25 Jul, 2014 1 commit
  26. 24 Jul, 2014 2 commits
  27. 23 Jun, 2014 1 commit
    • Fix include path for in-tree cloog. · c41f1c42
      2014-06-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              Fix include path for in-tree cloog.
              * config/cloog.m4 (CLOOG_INIT_FLAGS): Remove bogus include path.
              * configure: Regenerate.
      
      P.S: moved a few ChangeLog entries to gcc/ChangeLog
      
      From-SVN: r211913
      Bernd Edlinger committed
  28. 14 May, 2014 1 commit
  29. 25 Apr, 2014 1 commit
  30. 29 Nov, 2013 3 commits
  31. 19 Nov, 2013 2 commits
    • * config/bootstrap-lto.mk: Use -ffat-lto-objects. · 0ab6c9a9
      From-SVN: r205064
      Jan Hubicka committed
    • bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. · b9a55b13
      config/
      	* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl.
      gcc/c-family/
      	* c-ubsan.c (ubsan_instrument_division): Adjust ubsan_create_data
      	call.
      	(ubsan_instrument_shift): Likewise.
      	(ubsan_instrument_vla): Likewise.
      gcc/
      	* opts.c (common_handle_option): Add -fsanitize=null option.
      	Turn off -fdelete-null-pointer-checks option when doing the
      	NULL pointer checking.
      	* sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH): Add.
      	* tree-pass.h (make_pass_ubsan): Declare.
      	(make_pass_sanopt): Declare.
      	* timevar.def (TV_TREE_UBSAN): New timevar.
      	* passes.def: Add pass_sanopt and pass_ubsan.
      	* ubsan.h (ubsan_null_ckind): New enum.
      	(ubsan_mismatch_data): New struct.
      	(ubsan_expand_null_ifn): Declare.
      	(ubsan_create_data): Adjust declaration.
      	(ubsan_type_descriptor): Likewise.
      	* asan.c: Include "ubsan.h".
      	(pass_data_sanopt): New pass.
      	(execute_sanopt): New function.
      	(gate_sanopt): Likewise.
      	(make_pass_sanopt): Likewise.
      	(class pass_sanopt): New class.
      	* ubsan.c: Include tree-pass.h, gimple-ssa.h, gimple-walk.h,
      	gimple-iterator.h and cfgloop.h. 
      	(PROB_VERY_UNLIKELY): Define.
      	(tree_type_map_hash): New function.
      	(ubsan_type_descriptor): Add new parameter.
      	Improve type name generation.
      	(ubsan_create_data): Add new parameter.  Add pointer data into
      	ubsan structure.
      	(ubsan_expand_null_ifn): New function.
      	(instrument_member_call): Likewise.
      	(instrument_mem_ref): Likewise.
      	(instrument_null): Likewise.
      	(ubsan_pass): Likewise.
      	(gate_ubsan): Likewise.
      	(make_pass_ubsan): Likewise.
      	(ubsan_instrument_unreachable): Adjust ubsan_create_data call.
      	(class pass_ubsan): New class.
      	(pass_data_ubsan): New pass.
      	* flag-types.h (enum sanitize_code): Add SANITIZE_NULL.
      	* internal-fn.c (expand_UBSAN_NULL): New function.
      	* cgraphunit.c (varpool_finalize_decl): Call varpool_assemble_decl
      	even when !flag_toplevel_reorder.
      	* internal-fn.def (UBSAN_NULL): New.
      gcc/testsuite/
      	* c-c++-common/ubsan/null-1.c: New test.
      	* c-c++-common/ubsan/null-2.c: New test.
      	* c-c++-common/ubsan/null-3.c: New test.
      	* c-c++-common/ubsan/null-4.c: New test.
      	* c-c++-common/ubsan/null-5.c: New test.
      	* c-c++-common/ubsan/null-6.c: New test.
      	* c-c++-common/ubsan/null-7.c: New test.
      	* c-c++-common/ubsan/null-8.c: New test.
      	* c-c++-common/ubsan/null-9.c: New test.
      	* c-c++-common/ubsan/null-10.c: New test.
      	* c-c++-common/ubsan/null-11.c: New test.
      	* gcc.dg/ubsan/c99-shift-2.c: Adjust dg-output.
      	* c-c++-common/ubsan/shift-1.c: Likewise.
      	* c-c++-common/ubsan/div-by-zero-3.c: Likewise.
      
      From-SVN: r205021
      Marek Polacek committed
  32. 15 Nov, 2013 1 commit