-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
[SystemZ] No compile time error returned for vector double _Complex type #88399
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Comments
github-actions
bot
added
the
clang
Clang issues not falling into any other category
label
Apr 11, 2024
bahareh-farhadi
changed the title
[Clang] No compile time error returned for vector double _Complex type
[SystemZ] No compile time error returned for vector double _Complex type
Apr 11, 2024
EugeneZelenko
added
clang:driver
'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
and removed
clang
Clang issues not falling into any other category
labels
Apr 11, 2024
@llvm/issue-subscribers-clang-driver Author: None (bahareh-farhadi)
The test expects a compile time error when a `vector double _Complex` variable is declared; however, no error is returned.
According to the supported vector data types listed in [https://www.ibm.com/docs/en/zos/2.5.0?topic=support-vector-data-types](https://www.ibm.com/docs/en/zos/2.5.0?topic=support-vector-data-types) `vector double _Complex` is not supported, so a compile time error is expected.
Test case:
Command to reproduce the actual behaviour:
GCC returns a compile time error as expected:
|
Confirmed. Note that this also happens for "vector float _Complex". |
uweigand
added a commit
to uweigand/llvm-project
that referenced
this issue
Apr 29, 2024
The AltiVec (POWER) and ZVector (IBM Z) language extensions do not support using the "vector" keyword when the element type is a complex type, but current code does not verify this. Add a Sema check and diagnostic for this case. Fixes: llvm#88399
uweigand
added a commit
to uweigand/llvm-project
that referenced
this issue
Apr 30, 2024
The AltiVec (POWER) and ZVector (IBM Z) language extensions do not support using the "vector" keyword when the element type is a complex type, but current code does not verify this. Add a Sema check and diagnostic for this case. Fixes: llvm#88399
EugeneZelenko
added
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
and removed
clang:driver
'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
labels
Apr 30, 2024
@llvm/issue-subscribers-clang-frontend Author: None (bahareh-farhadi)
The test expects a compile time error when a `vector double _Complex` variable is declared; however, no error is returned.
According to the supported vector data types listed in [https://www.ibm.com/docs/en/zos/2.5.0?topic=support-vector-data-types](https://www.ibm.com/docs/en/zos/2.5.0?topic=support-vector-data-types) `vector double _Complex` is not supported, so a compile time error is expected.
Test case:
Command to reproduce the actual behaviour:
GCC returns a compile time error as expected:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test expects a compile time error when a
vector double _Complex
variable is declared; however, no error is returned.According to the supported vector data types listed in https://www.ibm.com/docs/en/zos/2.5.0?topic=support-vector-data-types
vector double _Complex
is not supported, so a compile time error is expected.Test case:
Command to reproduce the actual behaviour:
GCC returns a compile time error as expected:
The text was updated successfully, but these errors were encountered: