[Mesa-dev] [Bug 91290] SIGSEGV glcpp/glcpp-parse.y:1077
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 10 12:08:47 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91290
Vinson Lee <vlee at freedesktop.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression
CC| |anuj.phogat at gmail.com,
| |cworth at cworth.org
Version|git |10.3
--- Comment #1 from Vinson Lee <vlee at freedesktop.org> ---
a6e9cd14cad555520ad98213adf541a7687a7498 is the first bad commit
commit a6e9cd14cad555520ad98213adf541a7687a7498
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Fri Jun 6 16:56:59 2014 -0700
glsl/glcpp: Fix preprocessor error condition for macro redefinition
This patch specifically fixes redefinition condition for white space
changes. #define and #undef functionality in GLSL follows the standard
for C++ preprocessors for macro definitions.
From
https://gcc.gnu.org/onlinedocs/cpp/Undefining-and-Redefining-Macros.html:
These definitions are effectively the same:
#define FOUR (2 + 2)
#define FOUR (2 + 2)
#define FOUR (2 /* two */ + 2)
but these are not:
#define FOUR (2 + 2)
#define FOUR ( 2+2 )
#define FOUR (2 * 2)
#define FOUR(score,and,seven,years,ago) (2 + 2)
Fixes Khronos GLES3 CTS tests;
invalid_object_whitespace_vertex
invalid_object_whitespace_fragment
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Carl Worth <cworth at cworth.org>
:040000 040000 21e3582eed6555a0e4510982863892e0ead45930
6bb0f8508d19b41b5938b9f812b793ba90c278a0 M src
bisect run success
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150710/3c781d4b/attachment.html>
More information about the mesa-dev
mailing list