Re: [PATCH] Compile pr79793-[12].c with -mtune=generic

2017-07-31 Thread Uros Bizjak
On Mon, Jul 31, 2017 at 3:47 PM, H.J. Lu wrote: > pr79793-1.c and pr79793-2.c are failed when GCC is configured with > --with-cpu=slm since lea is used to adjust stack, instead of sub/add. > This patch uses -mtune=generic to always generate sub and add. > > OK for trunk? OK. Thanks, Uros. > H.J

[PATCH] Compile pr79793-[12].c with -mtune=generic

2017-07-31 Thread H.J. Lu
pr79793-1.c and pr79793-2.c are failed when GCC is configured with --with-cpu=slm since lea is used to adjust stack, instead of sub/add. This patch uses -mtune=generic to always generate sub and add. OK for trunk? H.J. * gcc.target/i386/pr79793-1.c: Compile with -mtune=generic.