tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] 0.9.19 reliable crash (with code :)


From: Joel VanderWerf
Subject: Re: [Tinycc-devel] 0.9.19 reliable crash (with code :)
Date: Wed, 02 Jul 2003 09:20:13 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030617

Tom Morton wrote:
Hello. I can crash tcc 0.9.19 with the following code:

Here's another one that segfaults in 0.9.19. Should be a compile error, if anything.

#! /usr/local/bin/tcc -run
#include <tcclib.h>

int main()
{
    printf("Hello World\n");
    return 0;
}

//int foo(int x) // this is OK
int foo(int)     // this causes segfault
{
    return 0;
}

--
Joel VanderWerf                          California PATH, UC Berkeley
mailto:address@hidden                     Ph. (510) 231-9446
http://www.path.berkeley.edu                       FAX (510) 231-9565





reply via email to

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