Re: Calculating array sizes in C - was: Re: Build regressions/improvements in v6.2-rc1
Hello! Can someone please file a GCC PR? With reduced testcase preferably. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 There you are. Kind regars, Michael Karcher
Re: Calculating array sizes in C - was: Re: Build regressions/improvements in v6.2-rc1
Isn't this supposed to be caught by this check: a, __same_type(a, NULL) ? Yeah, but gcc thinks it is smarter than us... Probably it drops the test, assuming UB cannot happen. Hmm, sounds like a GGC bug to me then. Not sure how to fix this then. I don't see a clear bug at this poi