Re: AW: AW: [Tinycc-devel] Memory allocation and initialization of arrayswithdimension % 2 = 0

2009-02-02 Thread Joshua Phillips
It is possible to flatten the commits into one, if nobody has fetched your new commits yet. On Monday 02 February 2009 14:55:43 Alexander Egorenkov wrote: OK, i checked in my changes into mob branch. Sorry, i did actually 2 commits because i am a GIT newby :-) Alex. Regards.

AW: AW: AW: [Tinycc-devel] Memory allocation and initialization ofarrayswithdimension % 2 = 0

2009-02-02 Thread Alexander Egorenkov
How do i do it ? -Ursprüngliche Nachricht- Von: tinycc-devel-bounces+alexander.egorenkov=samtec...@nongnu.org [mailto:tinycc-devel-bounces+alexander.egorenkov=samtec...@nongnu.org] Im Auftrag von Joshua Phillips Gesendet: Montag, 2. Februar 2009 16:51 An: tinycc-devel@nongnu.org

AW: AW: [Tinycc-devel] Memory allocation and initialization of arrayswithdimension % 2 = 0

2009-02-02 Thread Alexander Egorenkov
OK, i checked in my changes into mob branch. Sorry, i did actually 2 commits because i am a GIT newby :-) Alex. Regards. -Ursprüngliche Nachricht- Von: tinycc-devel-bounces+alexander.egorenkov=samtec...@nongnu.org [mailto:tinycc-devel-bounces+alexander.egorenkov=samtec...@nongnu.org]

Re: AW: [Tinycc-devel] Memory allocation and initialization of arrays withdimension % 2 = 0

2009-02-02 Thread grischka
Alexander Egorenkov wrote: Here is the correct patch. Thanks. If you happen to have GIT around please feel free to push your patch on our mob branch: git push ssh://m...@repo.or.cz/srv/git/tinycc.git mypatch:mob --- grischka

AW: [Tinycc-devel] Memory allocation and initialization of arrays withdimension % 2 = 0

2009-02-02 Thread Alexander Egorenkov
Sorry, i did a mistake. Here is the correct patch. --- --- tcc.c.old Mon Feb 2 11:18:15 2009 +++ tcc.c.new Mon Feb 2 11:22:31 2009 @@ -6130,8 +6130,15 @@ return s-c; } else if (bt == VT_PTR) { if

[Tinycc-devel] Memory allocation and initialization of arrays with dimension % 2 = 0

2009-02-02 Thread Alexander Egorenkov
Hi TCC developers, i think, found a bug with memory allocation and initialization of arrays with dimensions 2, 4, 6 etc. Example (x86, linux, tinycc 0.9.24): #include stdio.h int main(int argc, char **argv) { int a[] = { 1, 2, 3, 4