# stage1: fix enums having wrong debug info · gitcafe/zig

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

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

Visibility: public

Requested revision: 576581bd7b78825ce27d6a73fc42dd90eab8fbd1

Requested commit: 576581bd7b78825ce27d6a73fc42dd90eab8fbd1

Commit: 576581bd7b78825ce27d6a73fc42dd90eab8fbd1

Tree: a3c0f0d60d982d73c206bd172bddf2cdb69806fd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: fix enums having wrong debug info

It wasn't wrong info, but e.g. GDB couldn't handle non-power-of-two
enum tags. Now we tell debug info that enum tags are always power of two
size.

closes #4526
closes #5432

```

## Parents

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

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