[Bug c/45528] New: Variable length array cause repeated alloca() in a loop

2010-09-03 Thread k_satoda at f2 dot dion dot ne dot jp
th array cause repeated alloca() in a loop Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: k_satoda at f2 dot dion dot ne dot

[Bug c/45528] Variable length array cause repeated alloca() in a loop

2010-09-03 Thread k_satoda at f2 dot dion dot ne dot jp
--- Comment #1 from k_satoda at f2 dot dion dot ne dot jp 2010-09-03 20:22 --- Sorry, I made a wrong test case. Will try another one. -- k_satoda at f2 dot dion dot ne dot jp changed: What|Removed |Added

[Bug c/45529] New: VLA in a loop with a const size causes wrong optimization

2010-09-03 Thread k_satoda at f2 dot dion dot ne dot jp
f2 dot dion dot ne dot jp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45529

[Bug c/45528] Variable length array cause repeated alloca() in a loop

2010-09-03 Thread k_satoda at f2 dot dion dot ne dot jp
--- Comment #2 from k_satoda at f2 dot dion dot ne dot jp 2010-09-03 21:38 --- This was a wrong analysis of my stack overflow. Repeated alloca() is not the problem since esp is restored with ebx as shown in the assembly output I put. I reported another Bug 45528 as the real problem

[Bug c/45528] Variable length array cause repeated alloca() in a loop

2010-09-03 Thread k_satoda at f2 dot dion dot ne dot jp
--- Comment #3 from k_satoda at f2 dot dion dot ne dot jp 2010-09-03 21:40 --- > I reported another Bug 45528 as the real problem. It's Bug 45529. Sorry again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45528