On Thu, Aug 06, 2020 at 02:30:11PM +0200, Jakub Jelinek wrote: > On Thu, Aug 06, 2020 at 08:27:05AM -0400, Marek Polacek via Gcc-patches wrote: > > // PR c++/88003 > > // { dg-do compile { target c++14 } } > > // { dg-prune-output ".*internal compiler error.*" } > > // { dg-xfail-if "" { *-*-* } } > > Would that XPASS if the ICE is fixed though?
Yes, but if the ICE is fixed and we issue an error instead, we won't get an XPASS, just expected failures, so you'd never notice that the ICE is gone. Therefore, dg-prune-output + dg-xfail-if is not a viable solution. Marek