# cbe: workaround GCC miscompilation · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3f84b6c80ed3306f040dd98b8ccba561a052167a)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3f84b6c80ed3306f040dd98b8ccba561a052167a

Requested commit: 3f84b6c80ed3306f040dd98b8ccba561a052167a

Commit: 3f84b6c80ed3306f040dd98b8ccba561a052167a

Tree: efb5b6281a62f1c704cac03e1adb2e495d6b5ed7

Author: mlugg

Committer: mlugg

## Message

```
cbe: workaround GCC miscompilation

This was causing a zig2 miscomp, which emitted slightly broken debug
information, which caused extremely slow stack unwinding. We're working
on fixing or reporting this upstream, but we can use this workaround for
now, because GCC guarantees arithmetic signed shift.

```

## Parents

- [dbda011ae67982949d59258a6ebd8f36080334fa](https://git.cafe/gitcafe/zig/commit/dbda011ae67982949d59258a6ebd8f36080334fa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3f84b6c80ed3306f040dd98b8ccba561a052167a?format=markdown)
