Re: [PATCH v4] Extend check-function-bodies to allow label and directives

2024-08-27 Thread Richard Sandiford
Andreas Schwab writes: > On Aug 27 2024, H.J. Lu wrote: > >> diff --git a/gcc/testsuite/gcc.target/i386/pr116174.c >> b/gcc/testsuite/gcc.target/i386/pr116174.c >> index 8877d0b51af..686aeb9ff31 100644 >> --- a/gcc/testsuite/gcc.target/i386/pr116174.c >> +++ b/gcc/testsuite/gcc.target/i386/pr1161

Re: [PATCH v4] Extend check-function-bodies to allow label and directives

2024-08-27 Thread Andreas Schwab
On Aug 27 2024, H.J. Lu wrote: > diff --git a/gcc/testsuite/gcc.target/i386/pr116174.c > b/gcc/testsuite/gcc.target/i386/pr116174.c > index 8877d0b51af..686aeb9ff31 100644 > --- a/gcc/testsuite/gcc.target/i386/pr116174.c > +++ b/gcc/testsuite/gcc.target/i386/pr116174.c > @@ -1,6 +1,20 @@ > /* {

[PATCH v4] Extend check-function-bodies to allow label and directives

2024-08-27 Thread H.J. Lu
As PR target/116174 shown, we may need to verify labels and the directive order. Extend check-function-bodies to support matched output lines to allow label and directives. gcc/ * doc/sourcebuild.texi (check-function-bodies): Add an optional argument for matched output lines. gc