[Bug c/114873] Incorrect warning generated for [*] array when in atomic or typeof type specifier for a parameter declaration

2024-05-01 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114873 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #6

[Bug c/114873] Incorrect warning generated for [*] array when in atomic or typeof type specifier for a parameter declaration

2024-04-29 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114873 --- Comment #5 from Halalaluyafail3 --- (In reply to Joseph S. Myers from comment #4) > These are not meant to be valid C (although the relevant requirement isn't a > Constraint, so a diagnostic isn't required); see the discussion in DR#341. I

[Bug c/114873] Incorrect warning generated for [*] array when in atomic or typeof type specifier for a parameter declaration

2024-04-29 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114873 --- Comment #4 from Joseph S. Myers --- These are not meant to be valid C (although the relevant requirement isn't a Constraint, so a diagnostic isn't required); see the discussion in DR#341.

[Bug c/114873] Incorrect warning generated for [*] array when in atomic or typeof type specifier for a parameter declaration

2024-04-27 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114873 --- Comment #3 from Halalaluyafail3 --- (In reply to Andrew Pinski from comment #1) > clang errors out: > :3:24: error: star modifier used outside of function prototype > 3 | void bar(_Atomic(int(*)[*])(*)[*]); > |

[Bug c/114873] Incorrect warning generated for [*] array when in atomic or typeof type specifier for a parameter declaration

2024-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114873 --- Comment #2 from Andrew Pinski --- So does ICC (EDG): (3): error: variable length array with unspecified bound is not allowed void bar(_Atomic(int(*)[*])(*)[*]); ^

[Bug c/114873] Incorrect warning generated for [*] array when in atomic or typeof type specifier for a parameter declaration

2024-04-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114873 --- Comment #1 from Andrew Pinski --- clang errors out: :3:24: error: star modifier used outside of function prototype 3 | void bar(_Atomic(int(*)[*])(*)[*]); |^ :3:30: error: a type specifier is required for