Re: [Mesa-dev] [PATCH 3/5] compiler/list: add and use for_range_list macro

2016-05-10 Thread Ian Romanick
On 05/07/2016 03:05 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > This macro avoids undefined downcasting of list sentinels that crashes gcc's > ubsan. > --- > src/compiler/glsl/list.h| 8 > src/compiler/glsl/opt_tree_grafting.cpp | 5

[Mesa-dev] [PATCH 3/5] compiler/list: add and use for_range_list macro

2016-05-08 Thread Nicolai Hähnle
From: Nicolai Hähnle This macro avoids undefined downcasting of list sentinels that crashes gcc's ubsan. --- src/compiler/glsl/list.h| 8 src/compiler/glsl/opt_tree_grafting.cpp | 5 + 2 files changed, 9 insertions(+), 4 deletions(-) diff