Commit Graph

1113 Commits

Author SHA1 Message Date
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
GCC Administrator 629d04d35d Daily bump. 2022-10-07 00:17:52 +00:00
Martin Liska ed7278d98e git_update_version: add robust logging
contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Use logging module
	and provide robust debugging output.
2022-10-06 11:15:49 +02:00
GCC Administrator 966010b2eb Daily bump. 2022-10-06 00:17:24 +00:00
Martin Liska 5911046790 contrib: run fetch before pushing Daily bump
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: 4249a65c81
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-10-05 20:42:43 +02:00
GCC Administrator 5e4f5c25d6 Daily bump. 2022-09-21 00:19:14 +00:00
Martin Liska 63e3cc294d contrib: skip new egrep warning
contrib/ChangeLog:

	* filter-clang-warnings.py: Skip egrep: warning: egrep is
	  obsolescent; using grep -E.
2022-09-20 10:16:47 +02:00
GCC Administrator 542c60c4fb Daily bump. 2022-09-01 00:17:39 +00:00
Martin Liska dc832fb39f 32-bit PA-RISC with HP-UX: remove deprecated ports
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-31 22:14:34 +02:00
GCC Administrator 3de9fb3235 Daily bump. 2022-08-31 00:16:45 +00:00
Ulrich Drepper 0c92f895e0
Change get_std_name_hint to use generated hash table
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-30 16:33:51 +02:00
Martin Liska 1ddf31af2f m32c-rtems: remove obsoleted port
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-30 15:48:03 +02:00
GCC Administrator 6b226ef735 Daily bump. 2022-08-28 00:16:28 +00:00
Xi Ruoyao 1528957695
contrib: modernize gen_autofdo_event.py
Python 2 has been EOL'ed for two years.  egrep has been deprecated
for many years and the next grep release will start to print warning if
it is used.

-E option may be unsupported by some non-POSIX grep implementations, but
gcc-auto-profile won't work on non-Linux systems anyway.

contrib/ChangeLog:

	* gen_autofdo_event.py: Port to Python 3, and use grep -E
	instead of egrep.

gcc/ChangeLog:

	* config/i386/gcc-auto-profile: Regenerate.
2022-08-27 11:44:13 +08:00
GCC Administrator 16f542d6b8 Daily bump. 2022-08-27 00:17:09 +00:00
Martin Liska eb6358247a cr16: remove obsoleted port
contrib/ChangeLog:

	* config-list.mk: Remove cr16.

gcc/ChangeLog:

	* doc/extend.texi: Remove cr16 related stuff.
	* doc/install.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/md.texi: Likewise.
	* function-tests.cc (test_expansion_to_rtl): Likewise.
	* common/config/cr16/cr16-common.cc: Removed.
	* config/cr16/constraints.md: Removed.
	* config/cr16/cr16-protos.h: Removed.
	* config/cr16/cr16.cc: Removed.
	* config/cr16/cr16.h: Removed.
	* config/cr16/cr16.md: Removed.
	* config/cr16/cr16.opt: Removed.
	* config/cr16/predicates.md: Removed.
	* config/cr16/t-cr16: Removed.

libgcc/ChangeLog:

	* config.host: Remove cr16 related stuff.
	* config/cr16/crti.S: Removed.
	* config/cr16/crtlibid.S: Removed.
	* config/cr16/crtn.S: Removed.
	* config/cr16/divmodhi3.c: Removed.
	* config/cr16/lib1funcs.S: Removed.
	* config/cr16/t-cr16: Removed.
	* config/cr16/t-crtlibid: Removed.
	* config/cr16/unwind-cr16.c: Removed.
	* config/cr16/unwind-dw2.h: Removed.

gcc/testsuite/ChangeLog:

	* lib/target-supports.exp: Remove cr16 related stuff.
2022-08-26 08:19:38 +02:00
GCC Administrator 613e9e16b8 Daily bump. 2022-08-20 00:16:26 +00:00
Stefan Schulze Frielinghaus 81e20a6eb9 Add further FOR_EACH_ macros
contrib/ChangeLog:

	* clang-format: Add further FOR_EACH_ macros.
2022-08-19 09:33:13 +02:00
GCC Administrator 30afe5e763 Daily bump. 2022-08-19 00:16:27 +00:00
Andrea Corallo 5b0d054292 contrib: Fix a typo in contrib/git-fetch-vendor.sh
2022-08-18  Andrea Corallo  <andrea.corallo@arm.com>

	* git-fetch-vendor.sh : Fix typo.
2022-08-18 17:34:58 +02:00
GCC Administrator 969a989d2b Daily bump. 2022-08-03 00:16:48 +00:00
Martin Liska c2d0742938 gcc-changelog: do not run extra deduction
Do not deduce changelog for root ChangeLog ('').

contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Do not deduce changelog for root ChangeLog.
2022-08-02 10:50:07 +02:00
GCC Administrator b563a8dd3f Daily bump. 2022-07-23 00:16:27 +00:00
Martin Liska 18ef76d3a1 Allow space in git commit-mklog args
contrib/ChangeLog:

	* git-commit-mklog.py: Do not parse -b argument.
	Pass mklog_args as json environment variable.
	* mklog.py: Parse GCC_MKLOG_ARGS and append it to sys.argv.
	* prepare-commit-msg: Do not append GCC_MKLOG_ARGS to args.
2022-07-22 13:19:24 +02:00
Martin Liska 03c0b06420 mklog: fill-up subject prefix only for a single PR
contrib/ChangeLog:

	* mklog.py: Use component: [PR xyz] only when one PR is used.
2022-07-22 11:41:15 +02:00
GCC Administrator 8467574d8d Daily bump. 2022-07-05 00:16:36 +00:00
Martin Liska 88b9d090aa gcc-descr: by default show revision for HEAD
I've made the mistake multiple times while doing a bisection.
One would expect that gcc-descr w/o an argument would print
revision for the current HEAD and not master.
Thus change it.

contrib/ChangeLog:

	* git-descr.sh: By default print revision for HEAD.
2022-07-04 12:27:43 +02:00
GCC Administrator fb29fdea9c Daily bump. 2022-06-29 00:17:00 +00:00
Lewis Hyatt 4fda776a2f libcpp: Update ucnid.h to Unicode 14
This patch updates ucnid.h from Unicode 13 to Unicode 14.  Additionally, the
procedure detailed in contrib/unicode/README, which updates
generated_wcwidth.h, has been expanded with instructions for updating this
file as well, so that both may be done at the same time conveniently.  Two
additional Unicode data files which are needed to create ucnid.h are also
added to source control in contrib/unicode.

contrib/ChangeLog:

	* unicode/README: Added instructions for updating ucnid.h.
	* unicode/DerivedCoreProperties.txt: New file added to source
	control from Unicode 14.0 release.
	* unicode/DerivedNormalizationProps.txt: Likewise.

libcpp/ChangeLog:

	* ucnid.h: Regenerated for Unicode 14.0.
2022-06-28 17:33:37 -04:00
GCC Administrator b2b72757b2 Daily bump. 2022-06-27 00:16:20 +00:00
Lewis Hyatt 57988cbe73 libcpp: Update cpp_wcwidth() to Unicode 14.0.0
The procedure detailed in contrib/unicode/README was followed with nothing
notable coming up. The glibc scripts did not require any update, so the
only change was retrieving new versions of the Unicode data files and
rerunning gen_wcwidth.py.

contrib/ChangeLog:

	* unicode/EastAsianWidth.txt: Update to Unicode 14.0.0.
	* unicode/PropList.txt: Likewise.
	* unicode/README: Likewise.
	* unicode/UnicodeData.txt: Likewise.

libcpp/ChangeLog:

	* generated_cpp_wcwidth.h: Generated from updated Unicode data files.
2022-06-26 14:13:26 -04:00
GCC Administrator 8750978184 Daily bump. 2022-06-26 00:16:33 +00:00
Jeff Law fc259b522c Remove long deprecated tilegx and tilepro ports
/
	* MAINTAINERS: Remove tilegx and tilepro entries.
	* configure.ac: Remove tilegx and tilepro stanzas.
	* configure: Rebuilt.

contrib/
	* config-list.mk: Remove tilegx and tilepro entries.
	* gcc_update: Remove tilegx and tilepro entries.

gcc/
	* common/config/tilegx/tilegx-common.cc: Removed.
	* common/config/tilepro/tilepro-common.cc: Removed.
	* config.gcc: Remove tilegx and tilepro entries.
	* config/tilegx/constraints.md: Removed.
	* config/tilegx/feedback.h: Removed.
	* config/tilegx/linux.h: Removed.
	* config/tilegx/mul-tables.cc: Removed.
	* config/tilegx/predicates.md: Removed.
	* config/tilegx/sync.md: Removed.
	* config/tilegx/t-tilegx: Removed.
	* config/tilegx/tilegx-builtins.h: Removed.
	* config/tilegx/tilegx-c.cc: Removed.
	* config/tilegx/tilegx-generic.md: Removed.
	* config/tilegx/tilegx-modes.def: Removed.
	* config/tilegx/tilegx-multiply.h: Removed.
	* config/tilegx/tilegx-opts.h: Removed.
	* config/tilegx/tilegx-protos.h: Removed.
	* config/tilegx/tilegx.cc: Removed.
	* config/tilegx/tilegx.h: Removed.
	* config/tilegx/tilegx.md: Removed.
	* config/tilegx/tilegx.opt: Removed.
	* config/tilepro/constraints.md: Removed.
	* config/tilepro/feedback.h: Removed.
	* config/tilepro/gen-mul-tables.cc: Removed.
	* config/tilepro/linux.h: Removed.
	* config/tilepro/mul-tables.cc: Removed.
	* config/tilepro/predicates.md: Removed.
	* config/tilepro/t-tilepro: Removed.
	* config/tilepro/tilepro-builtins.h: Removed.
	* config/tilepro/tilepro-c.cc: Removed.
	* config/tilepro/tilepro-generic.md: Removed.
	* config/tilepro/tilepro-modes.def: Removed.
	* config/tilepro/tilepro-multiply.h: Removed.
	* config/tilepro/tilepro-protos.h: Removed.
	* config/tilepro/tilepro.cc: Removed.
	* config/tilepro/tilepro.h: Removed.
	* config/tilepro/tilepro.md: Removed.
	* config/tilepro/tilepro.opt: Removed.
	* configure.ac: Remove tilegx and tilepro entries.
	* configure: Rebuilt.
	* doc/extend.texi: Remove tilegx and tilepro entries.
	* doc/install.texi: Remove tilegx and tilepro entries.
	* doc/invoke.texi: Remove tilegx and tilepro entries.
	* doc/md.texi: Remove tilegx and tilepro entries.

gcc/testsuite/
	* gcc.dg/lower-subreg-1.c: Remove tilegx and tilepro entries.
	* gcc.misc-tests/linkage.exp: Remove tilegx and
	tilepro entries.

libgcc/
	* config.host: Removed tilegx and tilepro entries.
	* config/tilegx/sfp-machine.h: Removed.
	* config/tilegx/sfp-machine32.h: Removed.
	* config/tilegx/sfp-machine64.h: Removed.
	* config/tilegx/t-crtstuff: Removed.
	* config/tilegx/t-softfp: Removed.
	* config/tilegx/t-tilegx: Removed.
	* config/tilepro/atomic.c: Removed.
	* config/tilepro/atomic.h: Removed.
	* config/tilepro/linux-unwind.h: Removed.
	* config/tilepro/sfp-machine.h: Removed.
	* config/tilepro/softdivide.c: Removed.
	* config/tilepro/softmpy.S: Removed.
	* config/tilepro/t-crtstuff: Removed.
	* config/tilepro/t-tilepro: Removed.
2022-06-25 13:55:21 -04:00
GCC Administrator d9176e643f Daily bump. 2022-05-28 00:16:40 +00:00
Richard Biener c62643579d Close gcc-9 branch
This removes gcc-9 from getting DATESTAMP updates.

gcc/contrib/
	* gcc-changelog/git_update_version.py (active_refs): Remove
	releases/gcc-9.
2022-05-27 09:05:39 +02:00
GCC Administrator ea3fbfda60 Daily bump. 2022-05-07 00:16:26 +00:00
Jakub Jelinek 8025f29fbd Update gennews for GCC 12.
2022-05-06  Jakub Jelinek  <jakub@redhat.com>

	* gennews (files): Add files for GCC 12.
2022-05-06 08:44:43 +02:00
GCC Administrator 6b6f53d8af Daily bump. 2022-04-29 00:16:26 +00:00
Jakub Jelinek 12cc2b3299 Update crontab and git_update_version.py
2022-04-28  Jakub Jelinek  <jakub@redhat.com>

maintainer-scripts/
	* crontab: Snapshots from trunk are now GCC 13 related.
	Add GCC 12 snapshots from the respective branch.
contrib/
	* gcc-changelog/git_update_version.py (active_refs): Add
	releases/gcc-12.
2022-04-28 16:22:42 +02:00
GCC Administrator 98de0da603 Daily bump. 2022-04-26 00:16:51 +00:00
Martin Liska 68fd1c9f22 contrib: filter out a new Clang warning
Filter out:
libcpp/lex.cc:1289:7: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-attribute-extensions]

contrib/ChangeLog:

	* filter-clang-warnings.py: Filter out
	-Wc++20-attribute-extensions in lex.cc.
2022-04-25 22:26:55 +02:00
Martin Liska 46cd445fc0 contrib: filter out a new Clang warning
contrib/ChangeLog:

	* filter-clang-warnings.py: Filter out
	-Wbitwise-instead-of-logical.
2022-04-25 15:42:09 +02:00
GCC Administrator 8af4270d3f Daily bump. 2022-04-04 08:00:40 +00:00
Martin Liska 865e36a08b gcc-changelog: ignore one more revision
Ignore:

Checking 86d8e0c0652ef5236a460b75c25e4f7093cc0651: FAILED
ERR: line should start with a tab: "This reverts commits r12-7804 and r12-7929."
ERR: could not deduce ChangeLog file

contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Ignore the revision.
2022-04-04 09:37:15 +02:00
GCC Administrator 57ad4462de Daily bump. 2022-04-01 00:16:41 +00:00
Jakub Jelinek 562d014efa contrib: Fix up spelling of loongarch-str.h dependency [PR105114]
As found by Joseph, the dependency of
gcc/config/loongarch/loongarch-str.h is spelled incorrectly,
it should be
gcc/config/loongarch/genopts/loongarch-strings
but was using
gcc/config/loongarch/genopts/loongarch-string

2022-03-31  Jakub Jelinek  <jakub@redhat.com>
	    Joseph Myers  <joseph@codesourcery.com>

	PR other/105114
	* gcc_update: Fix up spelling of
	gcc/config/loongarch/genopts/loongarch-strings dependency.
2022-03-31 19:23:53 +02:00
GCC Administrator 9f774626c0 Daily bump. 2022-03-30 00:16:49 +00:00