RFC: Monitoring old PRs, new dg directives

Marek Polacek polacek@redhat.com
Thu Aug 6 12:36:06 GMT 2020


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



More information about the Gcc-patches mailing list