aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-outof-ssa.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-10-28 23:36:37 +0200
committerPhilip Herron <herron.philip@googlemail.com>2021-11-05 16:34:22 +0000
commit864fd885fe89de76a48d8295d4505e5d7a72a6c8 (patch)
treeb1f80026b840eed94e655a724c4fe8fbacfa570f /gcc/tree-outof-ssa.c
parent228240f32114fbbc17b73b1e91f245177c5aacc7 (diff)
downloadgcc-864fd885fe89de76a48d8295d4505e5d7a72a6c8.zip
gcc-864fd885fe89de76a48d8295d4505e5d7a72a6c8.tar.gz
gcc-864fd885fe89de76a48d8295d4505e5d7a72a6c8.tar.bz2
Turn 'rust_error_at' plus always-failing 'rust_assert' into 'rust_internal_error_at'
These three were added in commit cbfc0ee239fafc0dadaae314138410f9119c65fa "This allows for query based compilation", part of <https://github.com/Rust-GCC/gccrs/pull/640> "Optional Trait items constants". Given: if ([...] && [X]) { rust_error_at ([...]); rust_assert (![X]); } ..., this means that the 'rust_assert' always fires, so this is a condition that is not meant to happen (also, there are no test cases triggering this), so use 'rust_internal_error_at' instead.
Diffstat (limited to 'gcc/tree-outof-ssa.c')
0 files changed, 0 insertions, 0 deletions