tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Segfault on arm64 when making a function call with ma


From: grischka
Subject: Re: [Tinycc-devel] Segfault on arm64 when making a function call with many arguments
Date: Sun, 20 Jun 2021 01:18:49 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Christian Jullien wrote:
All parameters go to the right arguments. So patch looks good

What happens if the first condition is false (A = 0) ?

-- gr

  void main() {

    int A = 1;

    int B = 2;

    map_add(10, 20, 30, 40, 50, 60, 70, 80, A && B);

  }



$  tcc foo.c -o foo && ./foo;echo

10 20 30 40 50 60 70 80 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]