Michael, I had time to investigate further.
I first added this trace around core dump:
/* Allocate strings for section names and decide if an unallocated section
should be output.
NOTE: the strsec section comes last, so its size is also correct ! */
static int
When running TCC on Android, it will work when running with -run. It doesn't
work when creating an executable. Running the executable gives this error:
"./test": error: Android 5.0 and later only support position-independent
executables (-fPIE).
The program was:
#include
int main() {
Hello,
With both the most current git commit (b082659) and version 0.9.27, on Ubuntu
16.04 on x86-64, when compiling the provided input addrof_addrof.i, TCC stops
abruptly with the message below:
$ cat addrof_addrof.i
void f(void) {
int i;
char *p;
p + &[i];
}
$ ./tcc addrof_addrof.i
Hello,
> On 06 Mar 2019, at 18:56, uso ewin wrote:
>
> I've just push a patch that should fix this issue,
Many thanks for looking into this!
> I hope I didn't add a now bug
All the bugs I have so far are in syntactically incorrect inputs, so it would
be a valid choice not to risk
On Thu, Feb 7, 2019 at 2:45 PM Vad Rulezz wrote:
>
> Hi,
>
> On 06.02.2019 15:59, Pascal Cuoq wrote:
> > as a side-product of working on something else, I found that TCC 0.9.27
> > (x86_64 Linux) crashes for me on the following program:
> [...]
> > However crash.i is close enough to a program