# cbe: work around some miscompilations · gitcafe/zig

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

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

Visibility: public

Requested revision: 532aa3c5758f110eb7cf0992eb394088ab563899

Requested commit: 532aa3c5758f110eb7cf0992eb394088ab563899

Commit: 532aa3c5758f110eb7cf0992eb394088ab563899

Tree: 087f1de9f57da7667daa5360b9c2b59b639f2ca2

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
cbe: work around some miscompilations

The changes to `codegen.c` are blatant hacks, but the problem they work
around isn't a regression: it's an existing miscompilation. This branch
happened to *expose* that miscompilation in more cases by changing how
an incorrect result is *used*.

```

## Parents

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

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