I've ported gcc to a 16 bit CPU and have all torture tests
passing bar one, pr52286.c
The offending lines of code are
long a, b = 0;
asm ("" : "=r" (a) : "0" (0));
which should cause zero to be assigned to the "a" SI sized variable.
Inspecting the generated code revealed that zero was on
Allan Sandfeld Jensen writes:
>
> Yeah. That is just more problematic in practice. Though I do believe we have
> support for it. It is good to know it will automatically upgrade
> optimizations
> like that. I just wish there was a way to distribute pre-generated arch-
> independent training dat
Snapshot gcc-8-20170827 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/8-20170827/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 8 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision