[Bug c/48504] New: Add Variable Length Array (VLA) support for -fstack-protector(-all)

joe.bassis at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 7 19:40:00 GMT 2011


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];



More information about the Gcc-bugs mailing list