Work around a GCC bug, producing this code:
authorChris Lattner <sabre@nondot.org>
Wed, 28 Nov 2007 21:26:17 +0000 (21:26 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Nov 2007 21:26:17 +0000 (21:26 +0000)
commit4045e6db8c74f71cfbaa6a3681527423679e76ff
tree665f0e3683723512a0daf6d0685682204315b19f
parent51c971701a80a6cdc8192fdcc1a8ea0255710731
Work around a GCC bug, producing this code:

  unsigned char *llvm_cbe_X;
...
  llvm_cbe_X = 0; *((void**)&llvm_cbe_X) = __builtin_stack_save();

instead of:

  llvm_cbe_X = __builtin_stack_save();

See PR1809 for details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44415 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CBackend/CBackend.cpp