aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-02-08 10:12:43 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-02-09 09:46:54 +0000
commit9f3ddb35959606cbf7059362acfc27a9966ac3d4 (patch)
tree3cb0dd2a04c8d2166266a6bea55f285ba88a4625 /gcc/rust/parse/rust-parse.h
parent0ccc245a06e434df2c98d7f9d6036c03e4038842 (diff)
downloadgcc-9f3ddb35959606cbf7059362acfc27a9966ac3d4.zip
gcc-9f3ddb35959606cbf7059362acfc27a9966ac3d4.tar.gz
gcc-9f3ddb35959606cbf7059362acfc27a9966ac3d4.tar.bz2
Conditional blocks with else can resolve into a non unit type expression.
When we compile if blocks the else gives us a final branch that can resolve. Single IfExpr cannot resolve as there is no final branch. This also fixes a small regression in compiling elif blocks where the gimple body was empty. Fixes #213
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
0 files changed, 0 insertions, 0 deletions