-
Notifications
You must be signed in to change notification settings - Fork 180
ICE in handle_inline_attribute_on_fndecl, at rust/backend/rust-compile-base.cc:369 inline attr w param #3658
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
Labels
Comments
varun-r-mallya
added a commit
to varun-r-mallya/gccrs
that referenced
this issue
Apr 17, 2025
I added a check to see if the attr_input_type was a TOKEN_TREE and added an error message if a LITERAL is passed to it. Fixes Rust-GCC#3658 gcc/rust/ChangeLog: * backend/rust-compile-base.cc: Handle LITERAL attribute input type. Signed-off-by: varun-r-mallya <[email protected]>
varun-r-mallya
added a commit
to varun-r-mallya/gccrs
that referenced
this issue
Apr 17, 2025
I added a check to see if the attr_input_type was a TOKEN_TREE and added an error message if a LITERAL is passed to it. Fixes Rust-GCC#3658 gcc/rust/ChangeLog: * backend/rust-compile-base.cc: Handle LITERAL attribute input type. Signed-off-by: varun-r-mallya <[email protected]>
varun-r-mallya
added a commit
to varun-r-mallya/gccrs
that referenced
this issue
Apr 17, 2025
I added a check to see if the attr_input_type was a TOKEN_TREE and added an error message if a LITERAL is passed to it. Fixes Rust-GCC#3658 gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::handle_inline_attribute_on_fndecl): Handle LITERAL attribute input type. Signed-off-by: varun-r-mallya <[email protected]>
varun-r-mallya
added a commit
to varun-r-mallya/gccrs
that referenced
this issue
Apr 18, 2025
I added a check to see if the attr_input_type was a TOKEN_TREE and added an error message if a LITERAL is passed to it. Fixes Rust-GCC#3658 gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::handle_inline_attribute_on_fndecl): Handle LITERAL attribute input type. Signed-off-by: varun-r-mallya <[email protected]>
varun-r-mallya
added a commit
to varun-r-mallya/gccrs
that referenced
this issue
Apr 18, 2025
I added a check to see if the attr_input_type was a TOKEN_TREE and added an error message if a LITERAL is passed to it. Fixes Rust-GCC#3658 gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::handle_inline_attribute_on_fndecl): Handle LITERAL attribute input type. gcc/testsuite/ChangeLog: * rust/compile/issue-3658.rs: New test. Signed-off-by: varun-r-mallya <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
auto-reduced (treereduce-rust):
original:
Version information:
7651217
Possibly related line of code:
gccrs/gcc/rust/backend/rust-compile-base.cc
Lines 363 to 375 in 7651217
Command:
/home/matthias/vcs/github/gccrs/gccrs-build/gcc/crab1 -frust-incomplete-and-experimental-compiler-do-not-use
Program output
The text was updated successfully, but these errors were encountered: