-
Notifications
You must be signed in to change notification settings - Fork 179
Support overflowing_add in libcore #1898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
philberty
added a commit
that referenced
this issue
Mar 1, 2023
Fixes #1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): (std::function<tree): new wrapper over op_with_overflow (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
philberty
added a commit
that referenced
this issue
Mar 1, 2023
Fixes #1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
philberty
added a commit
that referenced
this issue
Mar 1, 2023
Fixes #1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Mar 2, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Mar 2, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Mar 27, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Apr 6, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Apr 7, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 15, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 21, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 21, 2023
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 5, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 11, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 12, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 16, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 16, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 17, 2024
Fixes Rust-GCC#1898 Signed-off-by: Philip Herron <[email protected]> gcc/rust/ChangeLog: * backend/rust-compile-intrinsic.cc (op_with_overflow_inner): wraps op_with_overflow (std::function<tree): likewise (op_with_overflow): generate the intrinsic based on the tree_code op gcc/testsuite/ChangeLog: * rust/compile/torture/intrinsics-8.rs: New test.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried this code:
I expected to see this happen: compile without error
Meta
The text was updated successfully, but these errors were encountered: