Summary: | sys-devel/clang-9.0.1: Crash on += operator with ISO/IEC 18037 types | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Huber <shuber> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jstein, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The file that crashes clang |
Description
Stefan Huber
2020-05-01 11:52:09 UTC
Created attachment 635482 [details]
The file that crashes clang
Indeed, I can reproduce with 10.0.0 as well. I'm going to try the HEAD version, then pass it on to upstream. Thanks for the report! Created a bug report upstream: https://bugs.llvm.org/show_bug.cgi?id=45771 I can't reproduce with clang-11.0.9999, so there might be a potential fix somewhere on master. I cannot reproduce the bug with clang-9.0.1 (commit c1a0a2133, tag llvmorg-9.0.1) built from source with the configuration cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm Hence, this might be an issue only triggered by the source configuration provided by the Gentoo ebuild. (Also Debian's clang-7.0.1-8 and msys2's clang-10.0.0 does not show the bug.) It was fixed in https://reviews.llvm.org/D73184 """ $ git bisect good 313461f6d8f91ac8abf2fa06e17b92127b050f06 is the first bad commit commit 313461f6d8f91ac8abf2fa06e17b92127b050f06 Author: Bevin Hansson <bevin.hansson@ericsson.com> Date: Wed Jan 8 14:01:30 2020 +0100 [CodeGen] Emit IR for compound assignment with fixed-point operands. Reviewers: rjmccall, leonardchan Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73184 clang/lib/CodeGen/CGExprScalar.cpp | 20 +- clang/lib/Sema/SemaExpr.cpp | 8 + clang/test/Frontend/fixed_point_compound.c | 374 +++++++++++++++++++++++++++++ 3 files changed, 396 insertions(+), 6 deletions(-) create mode 100644 clang/test/Frontend/fixed_point_compound.c """ Closing bugs specific to llvm 9 that was removed today. |