tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [BUG] x86_64-tcc compiled by i386-tcc is wrong


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] [BUG] x86_64-tcc compiled by i386-tcc is wrong
Date: Fri, 20 Mar 2015 18:34:57 +0300

The above is wrong. A new test program:
#include <stdio.h>
#define NARGS 20000
int ARG[NARGS];
int *ARGSPACE = ARG;
int *ARGP = ARG - 1;
main()
{
  printf("%p %p %p\n", ARGSPACE, ARG - 1, ARGP);
}

Wrong result is only for ARGP.  Value for the ARG-1 is printed right.



reply via email to

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