summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-02-11 10:17:52 +0100
committerSamuel Pitoiset <[email protected]>2019-02-12 14:48:08 +0100
commit129a9f4937b8f2adb4d37999677d748d816d611c (patch)
tree092cd8eedf2f98bde4991f50f90955ba142ce976 /src/amd/vulkan/radv_shader.h
parent2a2e69f975bd791d64a88553d5b1d5eda7e8abdf (diff)
radv: fix compiler issues with GCC 9
"The C standard says that compound literals which occur inside of the body of a function have automatic storage duration associated with the enclosing block. Older GCC releases were putting such compound literals into the scope of the whole function, so their lifetime actually ended at the end of containing function. This has been fixed in GCC 9. Code that relied on this extended lifetime needs to be fixed, move the compound literals to whatever scope they need to accessible in." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109543 Cc: <[email protected]> Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Gustaw Smolarczyk <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
0 files changed, 0 insertions, 0 deletions