https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124641

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, /-encoding binary/-translation binary/ in that patch.
But there are other issues:
/home/jakub/src/gcc/gcc/testsuite/g++.dg/cpp23/Winvalid-utf8-10.C:24:3: error:
extended character ERROR: tcl error sourcing
/home/jakub/src/gcc/gcc/testsuite/g++.dg/dg.exp.
ERROR: tcl error code NONE
ERROR: i_read(spawn_id fd=8): invalid or incomplete multibyte or wide character
    while executing
"expect {
        -i $spawn_id -timeout $timeout -re ".+" {
            append output $expect_out(buffer)
            exp_continue -continue_timer
        }
        timeout {
            warnin..."
    (procedure "local_exec" line 87)
    invoked from within
"local_exec "$program $pargs" $inp $outp $timeout"
    (procedure "remote_exec" line 35)
    invoked from within
"remote_exec host "$compiler $opts" "" "" "" $timeout"
    (procedure "default_target_compile" line 471)
    invoked from within
I really have no idea what to do here.
The assumption that everything is valid UTF-8 unless told otherwise is just
silly.

Reply via email to