[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1f9c7242332fb7821db3aea4073402d41779e189 commit r13-10198-g1f9c7242332fb7821db3aea4073402d41779e189 Author: Jakub Jelinek Date: Thu Feb 5 15:17:56 2026 +0100 testsuite: Add testcase for PR [PR123882] I've reverted the PR101312 changes in order to fix this PR. Here I'm just adding new testcase. 2026-02-05 Jakub Jelinek PR c/123882 * gcc.dg/pr123882.c: New test. (cherry picked from commit ce8a84ba6719a71365b611a94cc2454dd157f3b2)
[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:841300d6e56332dc18caab8379d107387ca9aec3 commit r14-12405-g841300d6e56332dc18caab8379d107387ca9aec3 Author: Jakub Jelinek Date: Thu Feb 5 15:17:56 2026 +0100 testsuite: Add testcase for PR [PR123882] I've reverted the PR101312 changes in order to fix this PR. Here I'm just adding new testcase. 2026-02-05 Jakub Jelinek PR c/123882 * gcc.dg/pr123882.c: New test. (cherry picked from commit ce8a84ba6719a71365b611a94cc2454dd157f3b2)
[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:acc29d633b9da17627b96856e022944b24a7c279 commit r15-10897-gacc29d633b9da17627b96856e022944b24a7c279 Author: Jakub Jelinek Date: Thu Feb 5 15:17:56 2026 +0100 testsuite: Add testcase for PR [PR123882] I've reverted the PR101312 changes in order to fix this PR. Here I'm just adding new testcase. 2026-02-05 Jakub Jelinek PR c/123882 * gcc.dg/pr123882.c: New test. (cherry picked from commit ce8a84ba6719a71365b611a94cc2454dd157f3b2)
[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed.
[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ce8a84ba6719a71365b611a94cc2454dd157f3b2 commit r16-7331-gce8a84ba6719a71365b611a94cc2454dd157f3b2 Author: Jakub Jelinek Date: Thu Feb 5 15:17:56 2026 +0100 testsuite: Add testcase for PR [PR123882] I've reverted the PR101312 changes in order to fix this PR. Here I'm just adding new testcase. 2026-02-05 Jakub Jelinek PR c/123882 * gcc.dg/pr123882.c: New test.
[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9f03e1f3d510e3e42fb85b5269d009f990d1f301 commit r16-7328-g9f03e1f3d510e3e42fb85b5269d009f990d1f301 Author: Jakub Jelinek Date: Thu Feb 5 14:59:12 2026 +0100 Revert c, c++: Use c*_build_qualified_type instead of build_qualified_type from within build_type_attribute As seen in PR123882, this broke more than it fixed, a lot of build_type_attribute_qual_variant including build_type_attribute_variant just pass in TYPE_QUALS (type) as the last argument and for C/C++ when the code pushes the quals to the element type, it will effectively make those unqualified. The PR123882 ICE is then on the array_as_string terrible hack if the FE calls get_aka_type on that, it wants to create qualified attribute variant of that and errors on the restrict qual. So, to fix both PR c/123882 and other unknown regressions caused by PR c/101312 I'm reverting it now. This reverts commit 3d2a91a3767982dde5a37abf45c12c08d4fdbf41.
[Bug c/123882] [16 Regression] build failure of wlroots-0.19.2: invalid use of 'restrict' since r16-7102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123882 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Ever confirmed|0 |1 Priority|P3 |P1 Last reconfirmed||2026-01-29 Keywords|needs-bisection | Status|UNCONFIRMED |NEW Summary|[16 Regression] build |[16 Regression] build |failure of wlroots-0.19.2: |failure of wlroots-0.19.2: |invalid use of 'restrict' |invalid use of 'restrict' ||since r16-7102 --- Comment #1 from Jakub Jelinek --- Started with my r16-7102-g3d2a91a3767982dde5a37abf45c12c08d4fdbf41 Will have a look tomorrow^H^H^H^Htoday.
