http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48592
Summary: alloca () calls are not DCEd
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
We should DCE alloca () calls. Testcase:
void foo (int i)
{
int a[i];
}
