aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-pattern.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-09-26 14:49:10 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:04:37 +0100
commit5757c304b539dc30c5cacf278bb026738288854a (patch)
treed71d8b7bb9e7c3c1a856c3d383cc3f797593f766 /gcc/rust/backend/rust-compile-pattern.cc
parent1e1e3814ffb0cdd865593d3d42cbf5cbb6f9fa57 (diff)
downloadgcc-5757c304b539dc30c5cacf278bb026738288854a.zip
gcc-5757c304b539dc30c5cacf278bb026738288854a.tar.gz
gcc-5757c304b539dc30c5cacf278bb026738288854a.tar.bz2
gccrs: Fix ICE when emitting an error during cfg strip
When an error was emitted during the cfg strip pass by the crate loader, it was ignored and the error state propagated until another pass (name resolver). gcc/rust/ChangeLog: * rust-session-manager.cc (Session::expansion): Add early break on error. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.cc')
0 files changed, 0 insertions, 0 deletions