[Piglit] [PATCH] Test interaction between globals and functions pulled in by linking.

Eric Anholt eric at anholt.net
Thu Aug 4 23:50:25 PDT 2011


On Wed,  3 Aug 2011 17:12:13 -0700, Paul Berry <stereotype441 at gmail.com> wrote:
> This test exercises a bug in Mesa.  If a function that is not known to
> the compilation unit containing main() (IOW, neither defined not
> declared in that compilation unit) attempts to access a global
> variable, then improper IR is generated.
> 
> I'll be submitting a patch to Mesa to fix this problem, and to check
> the IR validity after linking.  This test will ensure that the fix
> won't regress.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20110804/6945752a/attachment.pgp>


More information about the Piglit mailing list