[Bug middle-end/48592] New: alloca () calls are not DCEd

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 13 13:25:00 GMT 2011


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: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org


We should DCE alloca () calls.  Testcase:

void foo (int i)
{
  int a[i];
}



More information about the Gcc-bugs mailing list