[LLVMdev] weak_odr constant versus weak_odr global

Jay Foad jay.foad at gmail.com
Thu Nov 10 00:40:36 PST 2011


On 8 November 2011 08:31, Duncan Sands <baldrick at free.fr> wrote:
> Hi Richard,
>
>>>> and it crashes with gcc too :-( The original testcase works because gcc
>>>> folds the value into main even at -O0.
>>
>> Indeed, I filed gcc bug#50968 for this last week.
>
> are you sure this is the right gcc bug number?

Nope.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50986

Jay.



More information about the llvm-dev mailing list