Found while looking at #9118, though independent of it.
`getGccDumpOptions` read `gccDumpOptions.dumpFlags.gimpleFe` unguarded,
even though the type declares `dumpFlags` optional. A compile request
with `produceGccDump: {opened: true}` and no `dumpFlags` threw:
```
TypeError: Cannot read properties of undefined (reading 'gimpleFe')
```
It also treated any flag that was not explicitly `false` as on, so an
API caller passing only `{lineno: false}` got
```
-fdump-tree-all-gimple-address-alias-slim-raw-details-stats-blocks-vops-uid-all-lineno
```
which is raw and slim and "all" at once.
Both have the same cause, so this is one change: a missing `dumpFlags`,
or a missing member, now means off. The frontend always sends every flag
explicitly, so the UI is unaffected; this only changes what the public
API does with a partial request. Two tests added, both failing without
the fix.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>