M4 tests fail when built with PGI compilers

2017-01-30 Thread Stewart, Adam James
I'm trying to build and install M4 1.4.18 with PGI 16.5, but `make check` crashes for me. I'm seeing thousands of lines that look like: PGC-W-0116-Constant value out of range for signed short or char (/blues/gpfs/home/software/spack-0.10.0/var/spack/stage/m4-1.4.18-zwtcbe4z66lx36aq7iuwsqbmz35a76

Re: M4 tests fail when built with PGI compilers

2017-01-30 Thread Eric Blake
[adding gnulib] On 01/30/2017 03:48 PM, Stewart, Adam James wrote: > I'm trying to build and install M4 1.4.18 with PGI 16.5, but `make check` > crashes for me. I'm seeing thousands of lines that look like: > > PGC-W-0116-Constant value out of range for signed short or char > (/blues/gpfs/home/

Re: M4 tests fail when built with PGI compilers

2017-01-30 Thread Paul Eggert
On 01/30/2017 02:39 PM, Eric Blake wrote: I don't think test-intprops.c is compatible with the PGI compilers. Yes, test-intprops.c runs afoul of a problem in the PGI compiler. I can reproduce the problem in PGI 16.10 x86-64 by compiling this one-line program: short bar = -32768 <= 1