]> gcc.gnu.org Git - gcc.git/commit
gccrs: ast: Fix char literal ICE
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 4 Apr 2023 09:54:59 +0000 (11:54 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:28:43 +0000 (18:28 +0100)
commit9d8da7d12642440de699fb744ba6f493194da741
treeb8eef5475bddcdd21ef7e10cb3d4475f5ce63fa8
parent1dcc60c25c29a1e35067dc89d1be7fae7d06da5a
gccrs: ast: Fix char literal ICE

The code was attempting to convert a char to an integer by parsing it
instead of taking it's raw value.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (TokenStream::visit): Fix ICE.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-tokenstream.cc
This page took 0.065241 seconds and 5 git commands to generate.