Issue 160374
Summary Regression: Clang :: AST/ByteCode/builtin-bit-cast.cpp started to fail on s390x
Labels clang
Assignees
Reporter tuliom
    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](https://github.com/user-attachments/files/22500883/builder-live.log.gz)

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to