-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Clang crashes while compiling my project #72880
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
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
crash-on-valid
Comments
I can't seem to open the zip file. |
Hi, thank you for your interest. Tomorrow morning I will upload a new zip
file. Perhaps it fails because I used 7-zip and deflate64 as compression
algorithm.
Regards,
Óscar.
El El mar, 28 nov 2023 a las 22:48, Shafik Yaghmour <
***@***.***> escribió:
… I can't seem to open the zip file.
—
Reply to this email directly, view it on GitHub
<#72880 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR72JGNLUMWZL4QDYME5U33YGZLZVAVCNFSM6AAAAAA7TBA5I2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQHAYDCNZQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi shafik, I have updated the zip file. I hope you can open it now. BRs. |
Confirmed in Clang 17 and post-18 trunk: https://godbolt.org/z/81qnjez5o struct stChildParam {};
struct RegParam : stChildParam {
int count = 0;
};
template <typename _TFC>
struct DataGather {
void AddParameters() {
RegParam regPar = static_cast<RegParam>(stChildParam{});
}
};
void f() {
DataGather<int>{}.AddParameters();
} Backtrace:
|
@llvm/issue-subscribers-clang-frontend Author: None (ogigato)
CLang version: 16.0.5, using MSVC-like command line. This project compiles ok using MSVC compiler, with the same arguments.
|
@llvm/issue-subscribers-c-20 Author: None (ogigato)
CLang version: 16.0.5, using MSVC-like command line. This project compiles ok using MSVC compiler, with the same arguments.
|
cor3ntin
added a commit
that referenced
this issue
May 5, 2025
We were converting a CXXParenListInitExpr to a ParenListExpr in TreeTransform. However, ParenListExpr is typeless, so Clang could not rebuild the correct initialization sequence in some contexts. Fixes #72880
IanWood1
pushed a commit
to IanWood1/llvm-project
that referenced
this issue
May 6, 2025
We were converting a CXXParenListInitExpr to a ParenListExpr in TreeTransform. However, ParenListExpr is typeless, so Clang could not rebuild the correct initialization sequence in some contexts. Fixes llvm#72880
IanWood1
pushed a commit
to IanWood1/llvm-project
that referenced
this issue
May 6, 2025
We were converting a CXXParenListInitExpr to a ParenListExpr in TreeTransform. However, ParenListExpr is typeless, so Clang could not rebuild the correct initialization sequence in some contexts. Fixes llvm#72880
IanWood1
pushed a commit
to IanWood1/llvm-project
that referenced
this issue
May 6, 2025
We were converting a CXXParenListInitExpr to a ParenListExpr in TreeTransform. However, ParenListExpr is typeless, so Clang could not rebuild the correct initialization sequence in some contexts. Fixes llvm#72880
GeorgeARM
pushed a commit
to GeorgeARM/llvm-project
that referenced
this issue
May 7, 2025
We were converting a CXXParenListInitExpr to a ParenListExpr in TreeTransform. However, ParenListExpr is typeless, so Clang could not rebuild the correct initialization sequence in some contexts. Fixes llvm#72880
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c++20
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
crash-on-valid
CLang version: 16.0.5, using MSVC-like command line. This project compiles ok using MSVC compiler, with the same arguments.
SourcesAndTrace.zip
The text was updated successfully, but these errors were encountered: