Bug 48504 - Add Variable Length Array (VLA) support for -fstack-protector(-all)
Summary: Add Variable Length Array (VLA) support for -fstack-protector(-all)
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 19:40 UTC by joe.bassis
Modified: 2011-04-07 19:46 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joe.bassis 2011-04-07 19:40:19 UTC
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];