I've opened an upstream report and I had to figure out how it was affecting gcc-10. I didn't realize you guys were so sharp on backports! :D So I guess this fix also results in a bad parse on some code: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 So might want to add to #gcc-10 tracker.
If our backport causes bad parsing we'll need to drop the backport. It was supposed to only fix ICE-on-invalid.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7adab39a82fd07085f600603bdc5c440aa1c142a commit 7adab39a82fd07085f600603bdc5c440aa1c142a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-29 09:51:52 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-29 09:51:52 +0000 10.2.0: revert PR95820 backporting The backport breaks parsing as seen in https://gcc.gnu.org/PR98441 Bug: https://gcc.gnu.org/PR95820 Bug: https://bugs.gentoo.org/730406 Reported-by: Daniel Santos Bug: https://gcc.gnu.org/PR98441 Bug: https://bugs.gentoo.org/762382 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch | 25 ------------------------- 10.2.0/gentoo/README.history | 3 +++ 2 files changed, 3 insertions(+), 25 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=3779ee05e8c035d435c62198f3b761516e63fdf0 commit 3779ee05e8c035d435c62198f3b761516e63fdf0 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-29 10:05:50 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-29 10:05:50 +0000 10.2.0: cut 6 patchset Single dropped patch: - 34_all_fundecl-ICE-PR95820.patch: revert PR95820 backporting Bug: https://gcc.gnu.org/PR95820 Bug: https://bugs.gentoo.org/730406 Reported-by: Daniel Santos Bug: https://gcc.gnu.org/PR98441 Bug: https://bugs.gentoo.org/762382 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 10.2.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8667621e1a1fb7684b9b8d112255f33f8d5ec978 commit 8667621e1a1fb7684b9b8d112255f33f8d5ec978 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-29 10:11:31 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-29 10:14:44 +0000 sys-devel/gcc: 10.2.0: cut 6 patchset Single dropped patch: - 34_all_fundecl-ICE-PR95820.patch: revert PR95820 backporting Bug: https://gcc.gnu.org/PR95820 Bug: https://bugs.gentoo.org/730406 Reported-by: Daniel Santos Bug: https://gcc.gnu.org/PR98441 Closes: https://bugs.gentoo.org/762382 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-10.2.0-r5.ebuild | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+)
Wow, fast resolution! I'll keep an eye on the upstream bug and let you know when there's an updated patch.