]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Revert part of 44ffe1193269
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 3 Apr 2025 15:27:46 +0000 (17:27 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 8 Apr 2025 08:17:16 +0000 (10:17 +0200)
commitd307dddfc1a7dd406e488b08a390ae5908542b1a
tree33e69807ed53aead1c0fce0b845b5242bc7b679b
parent72a0fb9d9897347e938f560aaf5f99e95838d5bd
gccrs: Revert part of 44ffe1193269

This commit got rid of msvc specific code and remove the else clause,
this triggered warning with tl::expected::value function.

gcc/rust/ChangeLog:

* util/expected.h: Use gcc_unreachable within gcc context.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/util/expected.h