https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124238
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #4)
> There is some leftover debugging that may cause this:
>
> @@ -1898,6 +1905,12 @@ cdftext::process_file( filespan_t mfile, int output,
> bool second_pass ) {
>
> // parse CDF directives
> while( mfile.next_line() ) {
> + if( false ) {
> + std::string line( mfile.ccur(), const_cast<const char *>(mfile.eol) );
> + std::cerr << __func__ << ": "
> + << mfile.lineno() << ":" << mfile.colno() << ": "
> + << line;
> + }
> yylloc = mfile.as_location();
> auto copied = parse_copy_directive(mfile);
> if( copied.parsed && copied.fd != -1 ) {
Removing that does not fix the issue.