Re: [Mesa-dev] [PATCH mesa] util: enforce unreachable() semantic

2017-07-10 Thread Eric Engestrom
On Monday, 2017-07-10 17:02:48 +0100, Emil Velikov wrote: > On 10 July 2017 at 16:08, Eric Engestrom wrote: > > No implementation of unreachable() should allow code execution to > > keep going past it. > > > > We can discuss whether we should have a dead loop, abort(), or do > > something else, bu

Re: [Mesa-dev] [PATCH mesa] util: enforce unreachable() semantic

2017-07-10 Thread Emil Velikov
On 10 July 2017 at 16:08, Eric Engestrom wrote: > No implementation of unreachable() should allow code execution to > keep going past it. > > We can discuss whether we should have a dead loop, abort(), or do > something else, but the current "meh, let's just keep going" is > just wrong. > > Cc: me

[Mesa-dev] [PATCH mesa] util: enforce unreachable() semantic

2017-07-10 Thread Eric Engestrom
No implementation of unreachable() should allow code execution to keep going past it. We can discuss whether we should have a dead loop, abort(), or do something else, but the current "meh, let's just keep going" is just wrong. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Eric Engestrom