pgcc -E TERMINATED by signal 13 (SIGPIPE) on Windows SUA

testcpp.sh:

#!/bin/sh
CPP=“pgcc -E”
echo “#include <errno.h>” > nametmp.c
list=$CPP nametmp.c

$ uname -a
Interix droopy 5.2 SP-9.0.3790.4125 authenticamd AMD64_Family_15_Model_47_Stepping_2
$ ./testcpp.sh
pgcc-Fatal-/opt/pgi/sua64/7.2-1/bin/pgc TERMINATED by signal 13
Arguments to /opt/pgi/sua64/7.2-1/bin/pgc /opt/pgi/sua64/7.2-1/bin/pgc nametmp.c -opt 1 -terse 1 -inform warn -x 59 4 -x 19 0x400000 -x 119 0x40E10400 -x 59 4 -x 70 0x8000 -x 122 1 -x 122 0x40 -x 123 0x1000 -x 127 21 -tp k8-64e -y 80 0x4000000 -x 119 0x8000000 -astype 0 -stdinc /opt/pgi/sua64/7.2-1/include:/usr/local/include:/usr/include -def lp64 -def unix -def __unix -def __unix__ -def __INTERIX -def __inline__= -def __x86_64__ -def _M_AMD64 -def __NO_MATH_INLINES -def __amd64__ -def __extension__= -def __SSE__ -def __MMX__ -def __SSE2__ -def __SSE3__ -def __PGI_TOOLS9 -predicate '#machine(x86_64) #lint(off) #system(unix) #system(posix) #cpu(x86_64)' -cmdline '+pgcc nametmp.c -E' -x 123 4 -x 2 0x400 -x 123 0x80000000 -x 119 0x20 -alwaysinline /opt/pgi/sua64/7.2-1/lib/libintrinsics.il 4 -x 120 0x200000 -es -pp

The same command invoked in interactive mode work fine.
Is any fix exists?

PS: pgcpp -E works correct always
I use pgcpp -U__cplusplus -E command as temporary solution for GNU configure scripts.

Hi,

I have filed TPR#15051. We will let you know if/when there is a fix.

Thank you for reporting to us.
Hongyon

TPR 15051 - pgcc -E terminated by signal 13(SIGPIPE) on Windows SUA

has been corrected in the 7.2-4 release.

nice
but “1.0/-0.0 incorrect result” still presents :(