Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-07 Thread Michael Matz
Hi, On Sat, 7 Apr 2018, ra...@airmail.cc wrote: Thank you very much! Where may I find this patch? It has yet not shown up on http://repo.or.cz/tinycc.git/tree Ahem. I forgot to push the changes, they are there now. Ciao, Michael. ___ Tinycc-deve

Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-07 Thread rain1
On 2018-04-06 22:05, Michael Matz wrote: Hi, On Fri, 6 Apr 2018, ra...@airmail.cc wrote: I tried modifying my test program to use __attribute instead, in that case the code line 3345: case TOK_ALIGNED2: is being executed which is good. but again the output is not zeros. Perhaps a.aligned is b

Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-06 Thread Michael Matz
Hi, On Fri, 6 Apr 2018, ra...@airmail.cc wrote: I tried modifying my test program to use __attribute instead, in that case the code line 3345: case TOK_ALIGNED2: is being executed which is good. but again the output is not zeros. Perhaps a.aligned is being ignored for functions during codegen

Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-06 Thread rain1
On 2018-04-06 20:13, Michael Matz wrote: Hi, On Thu, 5 Apr 2018, ra...@airmail.cc wrote: I made this test program which I expect to print all 0's, but it doesn't. I noticed that after tcc -E the attributes have all disappeared. Any idea what is stopping this from working? the attribute is

Re: [Tinycc-devel] preprocessor makes attributes disappear

2018-04-06 Thread Michael Matz
Hi, On Thu, 5 Apr 2018, ra...@airmail.cc wrote: I made this test program which I expect to print all 0's, but it doesn't. I noticed that after tcc -E the attributes have all disappeared. Any idea what is stopping this from working? the attribute is documented and code gen seems to respect T

[Tinycc-devel] preprocessor makes attributes disappear

2018-04-04 Thread rain1
Hello! I made this test program which I expect to print all 0's, but it doesn't. I noticed that after tcc -E the attributes have all disappeared. Any idea what is stopping this from working? the attribute is documented and code gen seems to respect TOK_ALIGNED. I wasn't able to understand h