Re: PCH test errors

2020-05-29 Thread Andrew Stubbs
On 29/05/2020 01:00, Alexandre Oliva wrote: I understand the problem, and I'm tempted to say it was a latent preexisting problem. gcn-hsa.h defines -mlocal-symbol-id=%b in CC1_SPEC. This is a target option not marked as pch_ignore, so option_affects_pch_p returns true for it, and default_pch_va

Re: PCH test errors

2020-05-28 Thread Alexandre Oliva
On May 28, 2020, Andrew Stubbs wrote: > On 27/05/2020 15:46, Andrew Stubbs wrote: >> I'm testing amdgcn-amdhsa, and I get lot of PCH test failures with >> errors like this: >> >> gcc.dg/pch/common-1.c:1:22: error: one or more PCH files were found, >> but they were invalid >> gcc.dg/pch/common-1.

Re: PCH test errors

2020-05-28 Thread Andrew Stubbs
On 27/05/2020 15:46, Andrew Stubbs wrote: I'm testing amdgcn-amdhsa, and I get lot of PCH test failures with errors like this: gcc.dg/pch/common-1.c:1:22: error: one or more PCH files were found, but they were invalid gcc.dg/pch/common-1.c:1:22: error: use -Winvalid-pch for more information g

PCH test errors

2020-05-27 Thread Andrew Stubbs
I'm testing amdgcn-amdhsa, and I get lot of PCH test failures with errors like this: gcc.dg/pch/common-1.c:1:22: error: one or more PCH files were found, but they were invalid gcc.dg/pch/common-1.c:1:22: error: use -Winvalid-pch for more information gcc.dg/pch/common-1.c:1:10: fatal error: com