-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Closed
Copy link
Labels
clang:bytecodeIssues for the clang bytecode constexpr interpreterIssues for the clang bytecode constexpr interpretertest-suite
Description
I've only been able to reproduce this issue on s390x so far.
The error is:
******************** TEST 'Clang :: AST/ByteCode/builtin-bit-cast.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/llvm/redhat-linux-build/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/llvm/redhat-linux-build/bin/../lib/clang/22/include -nostdsysteminc -verify=ref,both -std=c++2a -fsyntax-only /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp # RUN: at line 1
+ /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/llvm/redhat-linux-build/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/llvm/redhat-linux-build/bin/../lib/clang/22/include -nostdsysteminc -verify=ref,both -std=c++2a -fsyntax-only /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp
error: diagnostics with 'error' severity expected but not seen:
File /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp Line 563 'ref-error': must be initialized by a constant expression
error: diagnostics with 'error' severity seen but not expected:
File /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp Line 563: size of '__builtin_bit_cast' source type '__int128' does not match destination type 'S' (16 vs 8 bytes)
error: diagnostics with 'note' severity expected but not seen:
File /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp Line 563 'ref-note': constexpr bit_cast involving bit-field is not yet supported
File /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp Line 570 'ref-note': initializer of 's' is not a constant expression
error: diagnostics with 'note' severity seen but not expected:
File /builddir/build/BUILD/llvm-project-7b6db769c3470d75b0d010f16c50582ec3535dea/clang/test/AST/ByteCode/builtin-bit-cast.cpp Line 570: initializer of 's' is unknown
5 errors generated.
I have been able to bisect this to #158509.
A full build log is available at builder-live.log.gz
Metadata
Metadata
Assignees
Labels
clang:bytecodeIssues for the clang bytecode constexpr interpreterIssues for the clang bytecode constexpr interpretertest-suite