[Bug 97532] Regression: GLB 2.7 segfaults due to bogus linker precision error (259fc505) on dead variable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 2 03:10:26 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97532

--- Comment #9 from Ian Romanick <idr at freedesktop.org> ---
(In reply to Kenneth Graunke from comment #8)
> You have to enforce language rules regardless of whether or not code is used.
> 
> Nobody would suggest that a C compiler should compile:
> 
> void main()
> {
>    int x = "lol, who needs rules?";
>    return 0;
> }
> 
> just because 'x' isn't used.  That's crazy.

Except that's legal C. :)

Either way... I added that check specifically for a CTS test.  If, as Tapani
says, the same text exists in earlier versions of GLSL ES, then we should keep
the err.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160902/364bb7b1/attachment.html>


More information about the intel-3d-bugs mailing list