diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-21 09:33:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 09:33:55 +0000 |
commit | 7d3157eec84ef8620f4648200f54b293e561b8c4 (patch) | |
tree | ea151c53744428c8ae9984bac03e25c279e0b533 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 8528f4b25f59cf10c093715d56f7a37c4ab6b732 (diff) | |
parent | 485f4cf7a672b66c1a15c6bdf275f2f06c173f56 (diff) | |
download | gcc-7d3157eec84ef8620f4648200f54b293e561b8c4.zip gcc-7d3157eec84ef8620f4648200f54b293e561b8c4.tar.gz gcc-7d3157eec84ef8620f4648200f54b293e561b8c4.tar.bz2 |
Merge #513
513: Fix up test suite buglets r=philberty a=tromey
Mark Wielaard pointed out that the i8u8.rs test that I recently
introduced has a bug: it checks the DW_AT_language attribute, not
DW_AT_encoding.
Sorry about this.
This patch fixes this problem. I've verified that this notices the
failure after temporarily backing out the corresponding GCC change.
This patch also fixes another problem that he found, namely that it's
possible for these tests to find the wrong answer, because the hex
value that is checked for might be a prefix of some longer value.
This patch also adds a whitespace check to avoid this potential
problem.
Co-authored-by: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions