diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-08-15 19:07:52 +0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:00:31 +0100 |
commit | 87ccd32da00e82584215c759e80bd092003c9efb (patch) | |
tree | 90f44d101b3b2e93b308e4ecb34c5034cd7d4611 /gcc/gimple-loop-interchange.cc | |
parent | 0ae1af0eb31d99f4cd5ba05a199770aeee764567 (diff) | |
download | gcc-87ccd32da00e82584215c759e80bd092003c9efb.zip gcc-87ccd32da00e82584215c759e80bd092003c9efb.tar.gz gcc-87ccd32da00e82584215c759e80bd092003c9efb.tar.bz2 |
gccrs: [E0535] Unknown argument given to inline attribute
The inline attribute only supports two arguments:
- always
- never
All other arguments given to the inline attribute will
return error.
gcc/rust/ChangeLog:
* backend/rust-compile-base.cc (HIRCompileBase::handle_inline_attribute_on_fndecl):
Added rich_location & error code.
gcc/testsuite/ChangeLog:
* rust/compile/inline_2.rs: Added new message.
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/gimple-loop-interchange.cc')
0 files changed, 0 insertions, 0 deletions