public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48504] New: Add Variable Length Array (VLA) support for -fstack-protector(-all)
@ 2011-04-07 19:40 joe.bassis at gmail dot com
2024-02-16 5:33 ` [Bug middle-end/48504] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: joe.bassis at gmail dot com @ 2011-04-07 19:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48504
Summary: Add Variable Length Array (VLA) support for
-fstack-protector(-all)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: joe.bassis@gmail.com
Currently, -fstack-protector(-all) is only available for normal arrays. Please
add support for VLAs as well.
Currently:
char str[13] = "Hello World!";
Wishlist:
char str[variablelength];
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/48504] Add Variable Length Array (VLA) support for -fstack-protector(-all)
2011-04-07 19:40 [Bug c/48504] New: Add Variable Length Array (VLA) support for -fstack-protector(-all) joe.bassis at gmail dot com
@ 2024-02-16 5:33 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-16 5:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48504
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fstack-protector has worked for VLA since at least GCC 4.1.2 (which was
released in 2007). So closing as works for me.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-16 5:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-07 19:40 [Bug c/48504] New: Add Variable Length Array (VLA) support for -fstack-protector(-all) joe.bassis at gmail dot com
2024-02-16 5:33 ` [Bug middle-end/48504] " pinskia 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).