]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: [E0093] Declaration of unknown intrinsic function
authorMuhammad Mahad <mahadtxt@gmail.com>
Tue, 11 Jul 2023 09:27:53 +0000 (14:27 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:37 +0000 (18:49 +0100)
commitaf1a05fb37e2f5ed0ce38aa92324c5492142e7c0
tree2509d0b0e800b7038ce0e80194afa95f2e6d9c50
parent0da798e3666af22ebdf58d39198acff1de71a33b
gccrs: [E0093] Declaration of unknown intrinsic function

Refactored error message similiar to rustc.

gcc/rust/ChangeLog:

* backend/rust-compile-intrinsic.cc (Intrinsics::compile):
called error function.

gcc/testsuite/ChangeLog:

* rust/compile/torture/intrinsics-3.rs: Updated comment to pass the test case.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/backend/rust-compile-intrinsic.cc
gcc/testsuite/rust/compile/torture/intrinsics-3.rs