aboutsummaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2022-12-16gcc-changelog/git_email.py: Support older unidiff.PatchSetTobias Burnus1-1/+5
Commit "unidiff: use newline='\n' argument", r13-4603-gb045179973161115c7ea029b2788f5156fc55cda, added support CR on a line, but that broke support for older unidiff.PatchSet. This patch uses a fallback for git_email.py (drop argument) if not available (TypeError exception) but keeps using it in test_email.py unconditionally. contrib/ChangeLog: * gcc-changelog/git_email.py (GitEmail:__init__): Support older unidiff.PatchSet that do not have a newline= argument of from_filename.
2022-12-15Daily bump.GCC Administrator1-0/+21
2022-12-14contrib: add copyright for my scriptsMartin Liska13-0/+26
contrib/ChangeLog: * analyze_brprob.py: Add copyright header. * analyze_brprob_spec.py: Likewise. * check-params-in-docs.py: Likewise. * check_GNU_style.py: Likewise. * check_GNU_style_lib.py: Likewise. * filter-clang-warnings.py: Likewise. * gcc-changelog/git_check_commit.py: Likewise. * gcc-changelog/git_commit.py: Likewise. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/git_update_version.py: Likewise. * gcc-changelog/test_email.py: Likewise. * mark_spam.py: Likewise.
2022-12-14mklog: do not depend on recent unidiff versionMartin Liska1-2/+3
contrib/ChangeLog: * mklog.py: Check for number of hunks and not if a modified file is binary.
2022-12-13Daily bump.GCC Administrator1-0/+4
2022-12-12mklog: do not parse binary file for PR entryMartin Liska1-16/+18
contrib/ChangeLog: * mklog.py: Do not search PR entry in a file that is binary.
2022-12-12Daily bump.GCC Administrator1-0/+11
2022-12-11unidiff: use newline='\n' argumentMartin Liska7-13/+44
In order to support CR on a line, we need to open files with newline='\n' as our line endings supposed to be of UNIX style. contrib/ChangeLog: * check_GNU_style.py: Use newline=\n. * check_GNU_style_lib.py: Simplify. * gcc-changelog/git_commit.py: Fix issues seen Rust patchset. * gcc-changelog/git_email.py: Use newline argument. * gcc-changelog/test_email.py: New test. * gcc-changelog/test_patches.txt: New test. * mklog.py: Use newline argument.
2022-12-11Daily bump.GCC Administrator1-0/+11
2022-12-10Prepare 'contrib/gcc-changelog/git_commit.py' for GCC/RustThomas Schwinge1-0/+2
contrib/ * gcc-changelog/git_commit.py (default_changelog_locations): Add 'gcc/rust'. (bug_components): Add 'rust'.
2022-12-10Add ChangeLog directories for modula2 into git_commit.py.Gaius Mulley1-0/+2
Prepare to add changelogs for the Modula2 front end by changing the contrib git_commit.py script. contrib/ChangeLog: * gcc-changelog/git_commit.py (default_changelog_locations): New entry for gcc/m2. New entry for libgm2. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2022-12-07Daily bump.GCC Administrator1-0/+4
2022-12-06contrib: doxygen: add gcc/analyzer subdirectory to INPUTDavid Malcolm1-1/+1
contrib/ChangeLog: * gcc.doxy (INPUT): Add gcc/analyzer subdirectory. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-11-26Daily bump.GCC Administrator1-0/+8
2022-11-25Revert "gcc-changelog: temporarily disable check_line_start"Martin Liska1-2/+0
This reverts commit a5878983d53db7513edb0e6bd99250dbb0c7d147.
2022-11-25Daily bump.GCC Administrator1-0/+5
2022-11-25gcc-changelog: temporarily disable check_line_startMartin Liska1-0/+2
contrib/ChangeLog: * gcc-changelog/git_commit.py: Temporarily disable check_line.start.
2022-11-22Daily bump.GCC Administrator1-0/+8
2022-11-21changelog: Fix extra space after tab.Martin Liska1-7/+7
2022-11-21Revert "gcc-changelog: temporarily disable check_line_start"Martin Liska1-2/+0
This reverts commit 0275ff207027954d16e873ccdbd92f9881a14e72.
2022-11-21Daily bump.GCC Administrator1-0/+5
2022-11-20gcc-changelog: temporarily disable check_line_startMartin Liska1-0/+2
contrib/ChangeLog: * gcc-changelog/git_commit.py: Temporarily disable check_line.start.
2022-11-18Daily bump.GCC Administrator1-0/+5
2022-11-18Add another commit to ignoreJakub Jelinek1-1/+2
We can't handle r13-4128-g1957bedf29a1b2cc231972aba680fe80199d5498 * gcc-changelog/git_update_version.py: Add 1957bedf29a1b2cc231972aba680fe80199d5498 to ignored commits.
2022-11-16Daily bump.GCC Administrator1-0/+5
2022-11-15gcc-changelog: revert temporary rule relaxationMartin Liska1-2/+0
contrib/ChangeLog: * gcc-changelog/git_commit.py: Revert temporary rule relaxation.
2022-11-15Daily bump.GCC Administrator1-0/+5
2022-11-14gcc-changelog: temporarily disable check_line_startMartin Liska1-0/+2
contrib/ChangeLog: * gcc-changelog/git_commit.py: Temporarily disable check_line.start.
2022-11-12Daily bump.GCC Administrator1-0/+7
2022-11-11changelog: check for space after tabMartin Liska3-0/+51
contrib/ChangeLog: * gcc-changelog/git_commit.py: Check for a space after leading tab. * gcc-changelog/test_email.py: Likewise. * gcc-changelog/test_patches.txt: Likewise.
2022-11-06Manually add ChangeLog entries from ↵Jakub Jelinek1-0/+9
r13-3652-ge4cba49413ca429dc82f6aa2e88129ecb3fdd943 This commit caused failure of update_version_git due to the removal of liboffloadmic with ChangeLog in it, so I had to blacklist that commit and here I'm adding ChangeLog entries manually.
2022-11-06Daily bump.GCC Administrator1-0/+5
2022-11-06Add another commit to ignoreJakub Jelinek1-1/+2
We can't handle r13-3652-ge4cba49413ca429dc82f6aa2e88129ecb3fdd943 * gcc-changelog/git_update_version.py: Add e4cba49413ca429dc82f6aa2e88129ecb3fdd943 to ignored commits.
2022-11-04Remove support for Intel MIC offloadingThomas Schwinge3-8/+0
... after its deprecation in GCC 12. * Makefile.def: Remove module 'liboffloadmic'. * Makefile.in: Regenerate. * configure.ac: Remove 'liboffloadmic' handling. * configure: Regenerate. contrib/ * gcc-changelog/git_commit.py (default_changelog_locations): Remove 'liboffloadmic'. * gcc_update (files_and_dependencies): Remove 'liboffloadmic' files. * update-copyright.py (GCCCmdLine): Remove 'liboffloadmic' comment. gcc/ * config.gcc [target *-intelmic-* | *-intelmicemul-*]: Remove. * config/i386/i386-options.cc (ix86_omp_device_kind_arch_isa) [ACCEL_COMPILER]: Remove. * config/i386/intelmic-mkoffload.cc: Remove. * config/i386/intelmic-offload.h: Likewise. * config/i386/t-intelmic: Likewise. * config/i386/t-omp-device: Likewise. * configure.ac [target *-intelmic-* | *-intelmicemul-*]: Remove. * configure: Regenerate. * doc/install.texi (--enable-offload-targets=[...]): Update. * doc/sourcebuild.texi: Remove 'liboffloadmic' documentation. include/ * gomp-constants.h (GOMP_DEVICE_INTEL_MIC): Comment out. (GOMP_VERSION_INTEL_MIC): Remove. libgomp/ * libgomp-plugin.h (OFFLOAD_TARGET_TYPE_INTEL_MIC): Remove. * libgomp.texi (OpenMP Context Selectors): Remove Intel MIC documentation. * plugin/configfrag.ac <enable_offload_targets> [*-intelmic-* | *-intelmicemul-*]: Remove. * configure: Regenerate. * testsuite/lib/libgomp.exp (libgomp_init): Remove 'liboffloadmic' handling. (offload_target_to_openacc_device_type) [$offload_target = *-intelmic*]: Remove. (check_effective_target_offload_device_intel_mic) (check_effective_target_offload_device_any_intel_mic): Remove. * testsuite/libgomp.c-c++-common/on_device_arch.h (device_arch_intel_mic, on_device_arch_intel_mic, any_device_arch) (any_device_arch_intel_mic): Remove. * testsuite/libgomp.c-c++-common/target-45.c: Remove 'offload_device_any_intel_mic' XFAIL. * testsuite/libgomp.fortran/target10.f90: Likewise. liboffloadmic/ * ChangeLog: Remove. * Makefile.am: Likewise. * Makefile.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise. * configure.ac: Likewise. * configure.tgt: Likewise. * doc/doxygen/config: Likewise. * doc/doxygen/header.tex: Likewise. * include/coi/common/COIEngine_common.h: Likewise. * include/coi/common/COIEvent_common.h: Likewise. * include/coi/common/COIMacros_common.h: Likewise. * include/coi/common/COIPerf_common.h: Likewise. * include/coi/common/COIResult_common.h: Likewise. * include/coi/common/COISysInfo_common.h: Likewise. * include/coi/common/COITypes_common.h: Likewise. * include/coi/sink/COIBuffer_sink.h: Likewise. * include/coi/sink/COIPipeline_sink.h: Likewise. * include/coi/sink/COIProcess_sink.h: Likewise. * include/coi/source/COIBuffer_source.h: Likewise. * include/coi/source/COIEngine_source.h: Likewise. * include/coi/source/COIEvent_source.h: Likewise. * include/coi/source/COIPipeline_source.h: Likewise. * include/coi/source/COIProcess_source.h: Likewise. * liboffloadmic_host.spec.in: Likewise. * liboffloadmic_target.spec.in: Likewise. * plugin/Makefile.am: Likewise. * plugin/Makefile.in: Likewise. * plugin/aclocal.m4: Likewise. * plugin/configure: Likewise. * plugin/configure.ac: Likewise. * plugin/libgomp-plugin-intelmic.cpp: Likewise. * plugin/offload_target_main.cpp: Likewise. * runtime/cean_util.cpp: Likewise. * runtime/cean_util.h: Likewise. * runtime/coi/coi_client.cpp: Likewise. * runtime/coi/coi_client.h: Likewise. * runtime/coi/coi_server.cpp: Likewise. * runtime/coi/coi_server.h: Likewise. * runtime/compiler_if_host.cpp: Likewise. * runtime/compiler_if_host.h: Likewise. * runtime/compiler_if_target.cpp: Likewise. * runtime/compiler_if_target.h: Likewise. * runtime/dv_util.cpp: Likewise. * runtime/dv_util.h: Likewise. * runtime/emulator/coi_common.h: Likewise. * runtime/emulator/coi_device.cpp: Likewise. * runtime/emulator/coi_device.h: Likewise. * runtime/emulator/coi_host.cpp: Likewise. * runtime/emulator/coi_host.h: Likewise. * runtime/emulator/coi_version_asm.h: Likewise. * runtime/emulator/coi_version_linker_script.map: Likewise. * runtime/liboffload_error.c: Likewise. * runtime/liboffload_error_codes.h: Likewise. * runtime/liboffload_msg.c: Likewise. * runtime/liboffload_msg.h: Likewise. * runtime/mic_lib.f90: Likewise. * runtime/offload.h: Likewise. * runtime/offload_common.cpp: Likewise. * runtime/offload_common.h: Likewise. * runtime/offload_engine.cpp: Likewise. * runtime/offload_engine.h: Likewise. * runtime/offload_env.cpp: Likewise. * runtime/offload_env.h: Likewise. * runtime/offload_host.cpp: Likewise. * runtime/offload_host.h: Likewise. * runtime/offload_iterator.h: Likewise. * runtime/offload_omp_host.cpp: Likewise. * runtime/offload_omp_target.cpp: Likewise. * runtime/offload_orsl.cpp: Likewise. * runtime/offload_orsl.h: Likewise. * runtime/offload_table.cpp: Likewise. * runtime/offload_table.h: Likewise. * runtime/offload_target.cpp: Likewise. * runtime/offload_target.h: Likewise. * runtime/offload_target_main.cpp: Likewise. * runtime/offload_timer.h: Likewise. * runtime/offload_timer_host.cpp: Likewise. * runtime/offload_timer_target.cpp: Likewise. * runtime/offload_trace.cpp: Likewise. * runtime/offload_trace.h: Likewise. * runtime/offload_util.cpp: Likewise. * runtime/offload_util.h: Likewise. * runtime/ofldbegin.cpp: Likewise. * runtime/ofldend.cpp: Likewise. * runtime/orsl-lite/include/orsl-lite.h: Likewise. * runtime/orsl-lite/lib/orsl-lite.c: Likewise. * runtime/orsl-lite/version.txt: Likewise.
2022-10-21Daily bump.GCC Administrator1-0/+5
2022-10-20Add C++ library interface dataUlrich Drepper1-0/+1
This patch adds a CSV file with information about the API of the standard C++ library. This information can be used in multiple ways. So far there are two use cases: - to generate the module export list for the standard C++ library - to create the name hints to compiler emits when symbols in the std namespace are not found Adding more uses can be easily done by potentially adding more columns to the CSV file and adding to the Python script which generates the output file. contrib/ 2022-10-18 Jonathan Wakely <jwakely@redhat.com> Ulrich Drepper <drepper@redhat.com> * gcc_update: Add rule for gcc/cp/std-name-hint.gperf. gcc/cp/ 2022-10-18 Jonathan Wakely <jwakely@redhat.com> Ulrich Drepper <drepper@redhat.com> * Make-lang.in: Add rules to generate std-name-hint.gperf. Adjust rule to generate std-name-hint.h to allow chain rule. * std-name-hint.h: Regenerated. * std-name-hint.gperf: This file is now generated. * cxxapi-data.csv: New file. CSV file with C++ API data. * gen-cxxapi-file.py: New file. Generate std-name-hint.gperf and module export source (in future).
2022-10-08Daily bump.GCC Administrator1-0/+4
2022-10-07contrib: remove extra fetch from git_update_versionMartin Liska1-1/+1
Remove extra fetch call that didn't help with the issue we had (missing object). contrib/ChangeLog: * gcc-changelog/git_update_version.py: Remove extra fetch.
2022-10-07Daily bump.GCC Administrator1-0/+5
2022-10-06git_update_version: add robust loggingMartin Liska1-12/+24
contrib/ChangeLog: * gcc-changelog/git_update_version.py: Use logging module and provide robust debugging output.
2022-10-06Daily bump.GCC Administrator1-0/+4
2022-10-05contrib: run fetch before pushing Daily bumpMartin Liska1-1/+2
As seen from recent days, the script fails when it pushes a branch while another revision was pushed by a user. Prevent that by doing fetch right before the pull. The error message example: cmdline: git push origin releases/gcc-11 stderr: 'fatal: unable to parse object: 4249a65c814287af667aa78789436d3fc618e80a error: remote unpack failed: eof before pack header was fully read contrib/ChangeLog: * gcc-changelog/git_update_version.py: Do fetch before a push.
2022-09-21Daily bump.GCC Administrator1-0/+5
2022-09-20contrib: skip new egrep warningMartin Liska1-3/+3
contrib/ChangeLog: * filter-clang-warnings.py: Skip egrep: warning: egrep is obsolescent; using grep -E.
2022-09-01Daily bump.GCC Administrator2-0/+9
2022-08-3132-bit PA-RISC with HP-UX: remove deprecated portsMartin Liska3-4/+2
ChangeLog: * configure: Regenerate. * configure.ac: Delete hpux9 and hpux10. config/ChangeLog: * mh-pa-hpux10: Removed. contrib/ChangeLog: * config-list.mk: Remove deprecated ports. contrib/header-tools/ChangeLog: * README: Remove deprecated ports. * reduce-headers: Likewise. gcc/ChangeLog: * config.build: Remove deprecated ports. * config.gcc: Likewise. * config.host: Likewise. * configure.ac: Likewise. * configure: Regenerate. * config/pa/pa-hpux10.h: Removed. * config/pa/pa-hpux10.opt: Removed. * config/pa/t-dce-thr: Removed. gnattools/ChangeLog: * configure.ac: Remove deprecated ports. * configure: Regenerate. libstdc++-v3/ChangeLog: * configure: Regenerate. * crossconfig.m4: Remove deprecated ports. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/lambda/lambda-conv.C: Remove useless test. * gcc.c-torture/execute/ieee/hugeval.x: Likewise. * gcc.dg/torture/pr47917.c: Likewise. * lib/target-supports.exp: Likewise. libgcc/ChangeLog: * config.host: Remove hppa. libitm/ChangeLog: * configure: Regenerate. fixincludes/ChangeLog: * configure: Regenerate.
2022-08-31Daily bump.GCC Administrator1-0/+9
2022-08-30Change get_std_name_hint to use generated hash tableUlrich Drepper1-0/+1
The get_std_name_hint function so far uses linear search to locate matching entries. After adding more hint entries this might not be appropriate anymore. Therefore this patch also replaces the linear array with a gperf-generated hash table. contrib/ChangeLog * gcc_update (files_and_dependencies): Add rule for gcc/cp/std-name-hint.h. gcc/cp/ChangeLog * Make-lang.in: Add rule to rebuild std-name-hint.h from std-name-hint.gperf. * name-lookup.cc (get_std_name_hint): Remove hints array. Use gperf-generated class std_name_hint_lookup. Include "std-name-hint.h". * std-name-hint.gperf: New file. * std-name-hint.h: New file. Generated from the .gperf file.
2022-08-30m32c-rtems: remove obsoleted portMartin Liska1-1/+1
contrib/ChangeLog: * config-list.mk: Remove the port. gcc/ChangeLog: * config.gcc: Remove the port. * config/m32c/rtems.h: Removed. libgcc/ChangeLog: * config.host: Remove the port.
2022-08-28Daily bump.GCC Administrator1-0/+5