public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/68107] Non-VLA type whose size is half or more of the address space constructed via a pointer [not found] <bug-68107-4@http.gcc.gnu.org/bugzilla/> @ 2015-10-27 0:11 ` joseph at codesourcery dot com 2015-10-27 9:52 ` rguenth at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: joseph at codesourcery dot com @ 2015-10-27 0:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68107 --- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- grokdeclarator seems to check the declared size of an array (when processing an array declarator) - that is, the size counted in array elements - and then has a separate check for the size in bytes only when the final type of the full declarator is an array type. I think the check on the size in bytes needs moving up to check every non-VLA complete array type constructed in the course of processing the declarator. ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/68107] Non-VLA type whose size is half or more of the address space constructed via a pointer [not found] <bug-68107-4@http.gcc.gnu.org/bugzilla/> 2015-10-27 0:11 ` [Bug c/68107] Non-VLA type whose size is half or more of the address space constructed via a pointer joseph at codesourcery dot com @ 2015-10-27 9:52 ` rguenth at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: rguenth at gcc dot gnu.org @ 2015-10-27 9:52 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68107 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-10-27 Ever confirmed|0 |1 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-27 9:52 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-68107-4@http.gcc.gnu.org/bugzilla/> 2015-10-27 0:11 ` [Bug c/68107] Non-VLA type whose size is half or more of the address space constructed via a pointer joseph at codesourcery dot com 2015-10-27 9:52 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).