https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61077
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- /* { dg-warning "qualified parameter type.*int" "parameter" { target *-*-* } 6 } */ Marek, could you use \[^\n\]* instead of .* please? The next dg-warning fails if the name of the source directory contains "int", which happens a bit too easily.