Arsen Arsenović
e70380f454
contrib: Add dg-out-generator.pl
...
This script is a helper used to generate dg-output lines from an existing
program output conveniently. It takes care of escaping Tcl and ARE stuff.
contrib/ChangeLog:
* dg-out-generator.pl: New file.
2022-12-22 19:44:07 -05:00
GCC Administrator
de282a2012
Daily bump.
2022-12-22 00:17:29 +00:00
Martin Liska
af49fd41ab
contrib: simplify filter-clang-warnings.py
...
contrib/ChangeLog:
* filter-clang-warnings.py: Simplify.
2022-12-21 09:10:34 +01:00
Martin Liska
0d1b5446bf
contrib: filter out more unrelated warnings
...
contrib/ChangeLog:
* filter-clang-warnings.py: Skip Makefile and libffi warnings.
2022-12-21 09:08:24 +01:00
GCC Administrator
d2ef2327bb
Daily bump.
2022-12-20 00:17:00 +00:00
Martin Liska
a9f6a2b7f5
gcc-changelog: support digits in PR's component in subject
...
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Support digits in PR's
component in subject.
2022-12-19 14:55:39 +01:00
Martin Liska
7e9ec734f9
gcc-changelog: allow digit in component name
...
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Allow digit in component name.
contrib/ChangeLog:
* gcc-changelog/test_email.py: Add new test.
* gcc-changelog/test_patches.txt: Add new patch.
2022-12-19 14:39:25 +01:00
Tobias Burnus
2b2cec58ff
gcc-changelog: Add warning for auto-added files
...
git_email.py prints now a warning for files added automatically.
git_check_commit.py does likewise but only with --verbose.
It prints one line per ChangeLog file, either stating the file
or if more than one the number of files.
contrib/ChangeLog:
* gcc-changelog/git_check_commit.py (__main__): With -v print a
warning for the auto-added files.
* gcc-changelog/git_commit.py (GitCommit.__init__): Add self.warnings.
(GitCommit.check_mentioned_files): Add warning for auto-added files.
(GitCommit.print_warnings): New function.
* gcc-changelog/git_email.py (__main__): Remove bogus argument to
GitEmail constructor; print auto-added-files warning.
* gcc-changelog/test_email.py (test_auto_add_file_1,
test_auto_add_file_2): New tests.
* gcc-changelog/test_patches.txt: Add two test cases.
2022-12-19 12:12:16 +01:00
Martin Liska
17b41a2839
gcc-changelog: stop using --flake8
...
The flake8 pytest plug-in is broken and we should not use it.
contrib/ChangeLog:
* gcc-changelog/setup.cfg: Do not use flake8 pytest plug-in.
2022-12-19 10:02:38 +01:00
GCC Administrator
5fb1e67453
Daily bump.
2022-12-17 00:17:56 +00:00
Martin Liska
d386d39920
contrib: make warnings unique in filter-clang-warnings.py
...
contrib/ChangeLog:
* filter-clang-warnings.py: Print each warning only one time.
2022-12-16 13:07:27 +01:00
Martin Liska
66c2f03d4c
gcc-changelog: do not use PatchSet.from_filename
...
Use rather PatchSet constructor where we can pass
properly opened file with newline='\n'.
contrib/ChangeLog:
* gcc-changelog/git_email.py: Use PatchSet constructor
as newline argument is not supported with older unidiff
library.
2022-12-16 12:21:59 +01:00
Tobias Burnus
8f2a8be579
gcc-changelog/git_email.py: Support older unidiff.PatchSet
...
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-16 11:02:24 +01:00
GCC Administrator
26f4aefaeb
Daily bump.
2022-12-15 00:17:29 +00:00
Martin Liska
81f86cb969
contrib: add copyright for my scripts
...
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-14 14:06:58 +01:00
Martin Liska
e165214777
mklog: do not depend on recent unidiff version
...
contrib/ChangeLog:
* mklog.py: Check for number of hunks and not if a modified
file is binary.
2022-12-14 11:33:25 +01:00
GCC Administrator
1728c537b4
Daily bump.
2022-12-13 00:18:07 +00:00
Martin Liska
14d0f82cab
mklog: do not parse binary file for PR entry
...
contrib/ChangeLog:
* mklog.py: Do not search PR entry in a file that is binary.
2022-12-12 13:24:25 +01:00
GCC Administrator
324e995340
Daily bump.
2022-12-12 00:22:21 +00:00
Martin Liska
b045179973
unidiff: use newline='\n' argument
...
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-11 17:22:25 +01:00
GCC Administrator
c6b12b802c
Daily bump.
2022-12-11 00:17:43 +00:00
Thomas Schwinge
325529e21e
Prepare 'contrib/gcc-changelog/git_commit.py' for GCC/Rust
...
contrib/
* gcc-changelog/git_commit.py (default_changelog_locations): Add
'gcc/rust'.
(bug_components): Add 'rust'.
2022-12-10 07:29:22 +01:00
Gaius Mulley
7e4aa71043
Add ChangeLog directories for modula2 into git_commit.py.
...
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-10 02:21:53 +00:00
GCC Administrator
3fe66f7f9f
Daily bump.
2022-12-07 00:18:44 +00:00
David Malcolm
fa19bfbb0a
contrib: doxygen: add gcc/analyzer subdirectory to INPUT
...
contrib/ChangeLog:
* gcc.doxy (INPUT): Add gcc/analyzer subdirectory.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-12-06 13:26:56 -05:00
GCC Administrator
d769c50408
Daily bump.
2022-11-26 00:17:08 +00:00
Martin Liska
f9e9a15bb2
Revert "gcc-changelog: temporarily disable check_line_start"
...
This reverts commit a5878983d5
.
2022-11-25 11:06:15 +01:00
GCC Administrator
9a1b4f1d3d
Daily bump.
2022-11-25 10:03:24 +00:00
Martin Liska
a5878983d5
gcc-changelog: temporarily disable check_line_start
...
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Temporarily disable
check_line.start.
2022-11-25 11:01:00 +01:00
GCC Administrator
8b7fee1de9
Daily bump.
2022-11-22 00:17:49 +00:00
Martin Liska
3d3b561fc3
changelog: Fix extra space after tab.
2022-11-21 10:13:44 +01:00
Martin Liska
454a823dc9
Revert "gcc-changelog: temporarily disable check_line_start"
...
This reverts commit 0275ff2070
.
2022-11-21 09:16:27 +01:00
GCC Administrator
fb98ede8ca
Daily bump.
2022-11-21 00:16:46 +00:00
Martin Liska
0275ff2070
gcc-changelog: temporarily disable check_line_start
...
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Temporarily disable
check_line.start.
2022-11-20 12:58:22 +01:00
GCC Administrator
add8984069
Daily bump.
2022-11-18 18:09:19 +00:00
Jakub Jelinek
f003fdff96
Add another commit to ignore
...
We can't handle r13-4128-g1957bedf29a1b2cc231972aba680fe80199d5498
* gcc-changelog/git_update_version.py: Add
1957bedf29
to ignored commits.
2022-11-18 19:05:46 +01:00
GCC Administrator
cdc34229c1
Daily bump.
2022-11-16 00:17:09 +00:00
Martin Liska
9a4129f5c5
gcc-changelog: revert temporary rule relaxation
...
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Revert temporary rule
relaxation.
2022-11-15 09:34:50 +01:00
GCC Administrator
83d400bded
Daily bump.
2022-11-15 08:32:29 +00:00
Martin Liska
5f2ce01a21
gcc-changelog: temporarily disable check_line_start
...
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Temporarily disable
check_line.start.
2022-11-14 03:52:14 +01:00
GCC Administrator
5b6ce16ade
Daily bump.
2022-11-12 00:17:25 +00:00
Martin Liska
999c14cf24
changelog: check for space after tab
...
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-11 09:52:22 +01:00
Jakub Jelinek
89d0a14a1f
Manually add ChangeLog entries from 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-06 12:12:47 +01:00
GCC Administrator
05788e9b95
Daily bump.
2022-11-06 11:05:22 +00:00
Jakub Jelinek
2175b3976f
Add another commit to ignore
...
We can't handle r13-3652-ge4cba49413ca429dc82f6aa2e88129ecb3fdd943
* gcc-changelog/git_update_version.py: Add
e4cba49413
to ignored commits.
2022-11-06 12:03:14 +01:00
Thomas Schwinge
e4cba49413
Remove support for Intel MIC offloading
...
... 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-11-04 10:51:01 +01:00
GCC Administrator
47a6ae5658
Daily bump.
2022-10-21 00:17:52 +00:00
Ulrich Drepper
a2e2838935
Add C++ library interface data
...
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-20 10:56:29 +02:00
GCC Administrator
9ff6c33e2e
Daily bump.
2022-10-08 00:17:29 +00:00
Martin Liska
fce601fd07
contrib: remove extra fetch from git_update_version
...
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-07 11:35:32 +02:00