[llvm-commits] PATCH: PR4719 - llvm-gcc should not use duplicate definitions of the same inline function
Shantonu Sen
ssen at apple.com
Fri Aug 14 16:14:18 PDT 2009
llvm-gcc uses some GCC-isms that prevent you from being able to use
clang as the stage1 bootstrap compiler (because clang defaults to c99
inlining rules)
More information at <http://llvm.org/bugs/show_bug.cgi?id=4719>
The attached patch changes llvm-gcc's source code to use "static
inline". llvm-gcc bootstraps on my linux system (using --disable-
shared) with either gcc 4.3.3 as the stage1 compiler or clang.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toplev.diff
Type: application/octet-stream
Size: 2092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090814/5047aace/attachment.obj>
-------------- next part --------------
Shantonu Sen
ssen at apple.com
Sent from my Mac Pro
More information about the llvm-commits
mailing list