https://bugs.winehq.org/show_bug.cgi?id=36139
--- Comment #14 from re_nelson bnelson@nelsonbe.com --- (In reply to Daniel Beitler from comment #7)
Created attachment 48545 [details] Fix for msi get_tablecolumns
Attached a patch that fixes this error for me on gcc-4.9.
I can also confirm the efficacy of the patch. And the correction properly deals with the change made in GCC-4.9.0, ``Null pointer checks may be optimized away more aggressively'' shown here:
https://gcc.gnu.org/gcc-4.9/porting_to.html