[llvm-commits] [llvm] r159136 - in /llvm/trunk: include/llvm/GlobalValue.h lib/Transforms/IPO/GlobalOpt.cpp test/Transforms/GlobalOpt/hidden.ll

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jun 25 12:14:12 PDT 2012


On 25 June 2012 14:00, David Dean <david_dean at apple.com> wrote:
> I'm seeing a link-time failure after this change with one of the SPEC tests when building with -O3 or Os. (447.dealII)
> ld: bad codegen, pointer diff in __ZNK22AutoDerivativeFunctionILi1EE15vector_gradientERK5PointILi1EERSt6vectorI6TensorILi1ELi1EESaIS7_EE to global weak symbol __ZTV6VectorIdE for architecture i386
>
> Can you take a look?

Sure. I don't have spec, but I will try to reproduce with the
opensource version. Given the error message I guess we are adding
unnamed_addr to something that we do depend on the address :-(

Cheers,
Rafael



More information about the llvm-commits mailing list