Skip to content

clang14/mips crashes compiling qtlocations package on linux #54005

@kraj

Description

@kraj

Attached testcase crashes the compiler when using -O2 or -Ofast, it works ok with -O1, -Os

fatal error: error in backend: Cannot select: 0x559a37f85fe0: f64 = fabs nnan ninf nsz arcp contract afn reassoc 0x559a384adf98, git/src/3rdparty/clipper/clipper.cpp:3974:7
  0x559a384adf98: f64,ch = CopyFromReg 0x559a369e5068, Register:f64 %323, git/src/3rdparty/clipper/clipper.cpp:3974:7
    0x559a37f85ea8: f64 = Register %323
In function: _ZN12QtClipperLib13ClipperOffset8DoOffsetEd

clipper-c6fc58.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions