gccrs: rustc_attrs: Allow `rustc_inherit_overflow_checks` as a builtin..
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 26 Aug 2022 12:06:23 +0000 (14:06 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 31 Jan 2023 13:16:49 +0000 (14:16 +0100)
commit3a3a352091b74916c5ad3177e0df9d624d746cac
treea38404ed87f9428e7054b310ac3e88a8bd19bb74
parent9c87dc0afe059ce54280dd81ff773f910a6dffdf
gccrs: rustc_attrs: Allow `rustc_inherit_overflow_checks` as a builtin..

..attribute. We cannot yet handle this attribute, but we should not reject it either

gcc/rust/ChangeLog:

* util/rust-attributes.cc: Add `rustc_inherit_overflow_checks` to list
of builtin attributes.

gcc/testsuite/ChangeLog:

* rust/compile/rustc_attr1.rs: New test.
gcc/rust/util/rust-attributes.cc
gcc/testsuite/rust/compile/rustc_attr1.rs [new file with mode: 0644]