I had several issues in 2010 with with PGI pgcc being overly picky about type mismatches. Attached are my e-mails from that time. I was working on NetCDF and OpenMPI. In the OpenMPI report (17 Aug 2010), I found problems in conditional expressions. The last e-mail in the thread from PGI said they fixed the bugs in the 12.10 release. But, that e-mail (14 Dec 2012) only cites TPRs 17185 and 17186, not my earlier TPR 17139. I have not revisited these issues since then, so I don't know if that old bug is still around and is what is biting you.
On 17 Jan 2014, at 8:56 AM, Ralph Castain wrote: