[Bug c/101838] sizeof of struct with array of unspecified bound folded to constant

2021-08-14 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101838 Martin Uecker changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/101838] sizeof of struct with array of unspecified bound folded to constant

2021-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101838 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:d2ba65ab6010f0d507bf5512a0223692e6653b23 commit r12-2882-gd2ba65ab6010f0d507bf5512a0223692e6653b23 Author: Martin Uecker Date: T

[Bug c/101838] sizeof of struct with array of unspecified bound folded to constant

2021-08-10 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101838 --- Comment #1 from Martin Uecker --- Actually, the example before might have been fixed already, but these two are still wrong: int bar( struct f { int a[*]; } v, int (*b)[sizeof(struct f)] // folded to zero ); int foo(void)