Re: [Tinycc-devel] zero length last member

2021-02-24 Thread Michael Matz
Hello, On Wed, 24 Feb 2021, Yakov wrote: Thanks for checking. I just tried again and I found that it only crashes with `-run`. Actually I had `-run` misbehaving many times. Just today strcpy() was SIGSEGV i.e.:. int main() { char *c = malloc(6); strcpy(c, "hello"); } That still leaves

Re: [Tinycc-devel] zero length last member

2021-02-23 Thread Yakov
Thanks for checking. I just tried again and I found that it only crashes with `-run`. Actually I had `-run` misbehaving many times. Just today strcpy() was SIGSEGV i.e.:. int main() { char *c = malloc(6); strcpy(c, "hello"); } вт, 23 февр. 2021 г. в 12:50, Elijah Stone : > > Are you

Re: [Tinycc-devel] zero length last member

2021-02-22 Thread Elijah Stone
Are you running the latest version? What architecture are you on? Your code compiles and runs without issue on my machine (amd64 linux, latest git). On Tue, 23 Feb 2021, Yakov wrote: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html I have tried the last zero length member extension in