aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-05-04 10:56:47 +0000
committerGitHub <noreply@github.com>2022-05-04 10:56:47 +0000
commit21b9e1226cfbc4137a881a71c5e6f904fc5b364e (patch)
treec1e1b67f83c2e3ae91f32e90e388432de8d0080e /gcc/rust/backend/rust-compile-expr.h
parentaa5ab23081958653a9b84afb0af19c4ae13fd92c (diff)
parent48cad9e8aed699c396afb7592dd637f2e87723dc (diff)
parentaa372462f481aab3593ab76782f35c816365d648 (diff)
parent0472834ddf177038d343b193acab70b2859656f8 (diff)
parent884b93668624018e6478ba0bb0607cca768d1f2a (diff)
parentcb22cd9da3d2d78d50dcd745e7894997fe91e4da (diff)
downloadgcc-21b9e1226cfbc4137a881a71c5e6f904fc5b364e.zip
gcc-21b9e1226cfbc4137a881a71c5e6f904fc5b364e.tar.gz
gcc-21b9e1226cfbc4137a881a71c5e6f904fc5b364e.tar.bz2
Merge #1206 #1209 #1211 #1212 #1213
1206: Use correct format specifiers for unisnged HOST_WIDE_INT r=philberty a=philberty The code here was wrongly assuming the unsigned long interface which is not correctly for all targets. 1209: Allow match on boolean expressions r=philberty a=dafaust Enables compiling `match` expressions where the scrutinee is a boolean expression. Also enable compiling match arms with Literal patterns, since `true` and `false` literals are commonly used with matches on boolean expressions. Fixes: #1207 1211: Preserve inside_loop context when type checking match r=philberty a=dafaust Previously, we would lose the context of being inside a loop when compiling a `match`. This would lead to incorrect error messages like "cannot 'break' outside of a loop" when trying to break out of a loop from within a `match` expression. Fixes: #1196 1212: intrinsic: add breakpoint intrinsic r=philberty a=liushuyu - intrinsic: add breakpoint intrinsic Addresses #658 1213: intrinsic: add rotate_left and rotate_right intrinsic r=philberty a=liushuyu - intrinsic: add rotate_left and rotate_right intrinsic Address #658 Co-authored-by: Philip Herron <philip.herron@embecosm.com> Co-authored-by: David Faust <david.faust@oracle.com> Co-authored-by: liushuyu <liushuyu011@gmail.com>