Michael Matz wrote:
Thanks. While it doesn't crash for me on x86-64 (with rev aa561d70, i.e. before your memset patch) I do see the wrong vset flowing into init_putv; it's unary(), case TOK_LAND, which does

        vset(&s->type, VT_CONST | VT_SYM, 0);
        vtop->sym = s;

Using
         vpushsym(&s->type, s);
instead of the two lines above seems to fix it.

Also I renamed the CValue member "void *ptr" to "addr_t ptr_offset"
and started to use that in some obvious places.  This could help
avoiding target size confusions.

Also: __attribute__ ((noreturn)): gnuism

http://repo.or.cz/w/tinycc.git/commitdiff/5879c854fb94f722a7ffdd4e895c9ce418548959

Thanks,

--- grischka

Ciao,
Michael.


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to