tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Broken inline assembly syntax on the mob


From: Yuxi Hao
Subject: [Tinycc-devel] Broken inline assembly syntax on the mob
Date: Sat, 29 Jun 2019 10:00:47 +0800

Dear there,

 

Since https://repo.or.cz/tinycc.git/commit/587e1f5598f2b0c35c7772bde486d47aa9a0cbbc,

this is observed by my test, using my personal mod of MinGW-w64

headers (https://github.com/lifenjoiner/MinGW-w64-tcc).

 

error:

 

`error: string constant expected`

 

One example from `_mingw.h`:

 

```

#include <stdio.h>

 

void __cdecl __debugbreak(void)

{

  __asm__ __volatile__("int {$}3":);

}

 

int main() {

    printf("1\n");

    return 0;

}

```

 

There are much more inline assembly in:

https://github.com/mirror/mingw-w64/blob/master/mingw-w64-headers/include/psdk_inc/intrin-impl.h

 

 

Best Regards,

YX Hao

 

Attachment: test_inline_asm.c
Description: Binary data

Attachment: Broken inline assembly syntax.md
Description: Binary data


reply via email to

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