Displaying 1 result from an estimated 1 matches for "llvm_init_one_libfunnc".
Did you mean:
llvm_init_one_libfunc
2008 Mar 23
1
[LLVMdev] non-enable-llvm support in llvm-gcc-4.2 issue
...it_one_libfunc being broken. There's some logic to try to divert an llvm_init_one_libfunc to the old implementation (via some #defines) when --emnable-llvm isn't being used, but it doesn't even have the right return type anymore and only seems to do half the old logic (the rest being in llvm_init_one_libfunnc now).
I've managed to fix it pretty easily with the following hack, but it really does feel like a hack:
diff --git a/gcc/expr.h b/gcc/expr.h
index 850e7af..265b550 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -753,9 +753,6 @@ extern rtx init_one_libfunc (const char *);
/* LLVM LOCAL begin */...