diff options
author | David Malcolm <dmalcolm@redhat.com> | 2021-01-15 13:26:39 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2021-01-15 13:26:39 -0500 |
commit | a3128bf01289a243a9e0ebb4e34c23bcb04cb938 (patch) | |
tree | 3d934c670ba4d4a8d250761ac6fd03d4f44d8373 /gcc/gimple.c | |
parent | adb520606ce3e1e1f8aa8c5d0c59a5f3196fc545 (diff) | |
download | gcc-a3128bf01289a243a9e0ebb4e34c23bcb04cb938.zip gcc-a3128bf01289a243a9e0ebb4e34c23bcb04cb938.tar.gz gcc-a3128bf01289a243a9e0ebb4e34c23bcb04cb938.tar.bz2 |
bootstrap: fix failing diagnostic selftest on Windows [PR98696]
In one of the selftests in g:f10960558540636800cf5d3d6355969621fbc17e
I didn't consider that paths can contain backslashes, which happens
for the tempfiles on Windows hosts.
gcc/ChangeLog:
PR bootstrap/98696
* diagnostic.c
(selftest::test_print_parseable_fixits_bytes_vs_display_columns):
Escape the tempfile name when constructing the expected output.
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions