-
I just discovered a bug in hashmap.c, which I found quite surprising as I'd been using it for quite a while and on some pretty large codebases!
I think the logic for `TOMBSTONE` is incorrect which …
-
Hi there!
I'm adding a RISC-V backend to chibicc and have made some progress. Just in case anyone is interested, I would like to mention this work here. The commit history of this fork is (almost) …
-
bash-4.3$ ./chibicc -o hello-world hello-world.c
/usr/include/stdio.h:33: # include
^ stddef.h: cannot open file: No such file or directory
bash-4.3$ gcc --pr…
-
postgres execution failed with segmentation fault and sometimes --auth requires a value. Not sure yet, what is this segmentation fault and why when retrying with gdb instead of segmentation fault we r…
-
在commit 44 **处理代码块域**中, rvcc是不支持一个作用域中同名标识符声明的冲突检测的, 比如下列情况可以正常运行
```c
ASSERT(4, ({ int x=2; int x = 4;{ int x=3; } int y=4; x; }));
```
我往后看写一些(只看了一点), 没看到这个问题的解决
不过我想这个只需要在当前的`scope`中遍历下是否声…
-
program initdb produced by chibicc during postgres compile failed at running with segmentation fault
Program received signal SIGSEGV, Segmentation fault.
0x0000000001efd454 in MemoryChunkSetHdrMask …
-
The declaration of `main`[:74](https://github.com/drh/lcc/blob/9bd428949f53b34980d194b1b4a2be921a85b5b4/etc/lcc.c#L74) is missing a type entirely. I set this to `int` and proceeded.
Trying to run `…
-
While testing `xcc` with https://github.com/FransFaase/RawParser/blob/master/src/RawParser.c I noticed that it gives a different output than `gcc`:
```
./rawparser.gcc
OK: parsed white space
OK: p…
-
I was just testing out chibicc on a mac with
```
clang -g \
-fsanitize=address \
-fsanitize=undefined \
-Wno-switch -Wno-format *.c && \
./a.out -I *.c -S
```
and the address sanitiz…
-
# Bug report
### Bug description:
For a non-`gcc`/`clang` compiler, `_Py_TYPEOF` is not defined.
https://github.com/python/cpython/blob/c08a302249edba844a26e1a0231671afd92b973d/Include/pyport.h#L548…