Issue |
129521
|
Summary |
`AST/Type.h:2308:33: note: the comparison reduces to '(32 <= 24)'` - on linux i386
|
Labels |
|
Assignees |
|
Reporter |
sylvestre
|
```
/usr/bin/g++ -DCLANG_EXPORTS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/source/build-llvm/tools/clang/lib/AST -I/build/source/clang/lib/AST -I/build/source/clang/include -I/build/source/build-llvm/tools/clang/include -I/build/source/build-llvm/include -I/build/source/llvm/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/source/build-llvm=../ -fdebug-prefix-map=/build/source/= -no-canonical-prefixes -ffile-prefix-map=/build/source/build-llvm=../ -ffile-prefix-map=/build/source/= -no-canonical-prefixes -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -MF tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o.d -o tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -c /build/source/clang/lib/AST/ASTDiagnostic.cpp
In file included from /build/source/clang/include/clang/AST/ASTDiagnostic.h:12,
from /build/source/clang/lib/AST/ASTDiagnostic.cpp:13:
/build/source/clang/include/clang/AST/Type.h: In constructor 'clang::Type::Type(TypeClass, clang::QualType, clang::TypeDependence)':
/build/source/clang/include/clang/AST/Type.h:2308:33: error: static assertion failed: changing bitfields changed sizeof(Type)!
2308 | static_assert(sizeof(*this) <=
| ~~~~~~~~~~~~~~^~
2309 | alignof(decltype(*this)) + sizeof(ExtQualsTypeCommonBase),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/clang/include/clang/AST/Type.h:2308:33: note: the comparison reduces to '(32 <= 24)'
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs