[Bug c/112761] Using incomplete array types in function prototypes doesn't work

2025-05-07 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112761 --- Comment #5 from Joseph S. Myers --- The basic principle here was established in C90 DR#047: "there is nothing to suggest that a not-strictly-conforming array type can magically be transformed into a strictly conforming pointer parameter via

[Bug c/112761] Using incomplete array types in function prototypes doesn't work

2025-05-04 Thread nrk at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112761 --- Comment #4 from nrk at disroot dot org --- > 6.7.6.3#7 A declaration of a parameter as ''array of type'' shall be adjusted > to ''qualified pointer to type'' Though after a bit more thought I guess it makes sense that the adjustment happens

[Bug c/112761] Using incomplete array types in function prototypes doesn't work

2025-05-04 Thread nrk at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112761 nrk at disroot dot org changed: What|Removed |Added CC||nrk at disroot dot org --- Comm

[Bug c/112761] Using incomplete array types in function prototypes doesn't work

2025-05-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112761 Andrew Pinski changed: What|Removed |Added CC||izaberina at gmail dot com --- Comment

[Bug c/112761] Using incomplete array types in function prototypes doesn't work

2023-11-29 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112761 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---