tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] tcc segfault when using -g and -fcommon


From: noneofyourbusiness
Subject: [Tinycc-devel] tcc segfault when using -g and -fcommon
Date: Sun, 11 Dec 2022 09:53:16 +0100

on linux [glibc|musl] tcc segfaults at tccdbg.c:1961 when compiling

int foo;
void bar(void) {}

with -c -fcommon -g:

tcc -c -fcommon -g test.c

I have no idea why s1->sections[sh_num] is NULL in this case. s1->sections[0] 
is also NULL, sh_num is 10




reply via email to

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