diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-02-03 17:04:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 17:04:01 +0000 |
commit | 868b0626e50af583e396761d87522e3c58c412bd (patch) | |
tree | a8001b57d052ba5e528583dd93d6e225ff41accb /gcc/gimple-array-bounds.cc | |
parent | 278f7616efc85988ee777f7b244ce65f758f0301 (diff) | |
parent | c255fb2ca259b3d85ce26d3c0e9230ca9ba2788a (diff) | |
download | gcc-868b0626e50af583e396761d87522e3c58c412bd.zip gcc-868b0626e50af583e396761d87522e3c58c412bd.tar.gz gcc-868b0626e50af583e396761d87522e3c58c412bd.tar.bz2 |
Merge #1737
1737: Add support for feature check. r=CohenArthur a=TuringKi
This commit implements a very basic feature checking module.
The results like this:
```
../gcc/testsuite/rust/compile/feature.rs:1:12: error: unknown feature 'AA'
1 | #![feature(AA)] //{ dg-error "unknown feature 'AA'" }
| ^
```
This commit is split from pr https://github.com/Rust-GCC/gccrs/pull/1718.
Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Co-authored-by: mxlol233 <mxlol233@outlook.com>
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions