tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] bug introduced by the latest changes


From: Vincent Lefevre
Subject: [Tinycc-devel] bug introduced by the latest changes
Date: Fri, 10 Jan 2014 17:17:53 +0100
User-agent: Mutt/1.5.21-6305-vl-r59709 (2013-04-16)

After the latest changes in the mob branch, the following program
segfaults on Linux/x86_64:

#include <stdio.h>
#include <stdlib.h>

static char *val[] = { "address@hidden" };

int main (void)
{
  printf ("%s\n", val[0]);
  return 0;
}

Removing the "#include <stdlib.h>" line makes the bug disappear.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



reply via email to

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