[llvm-commits] [llvm] r172081 - /llvm/trunk/unittests/Support/YAMLIOTest.cpp

Dmitri Gribenko gribozavr at gmail.com
Thu Jan 10 14:36:13 PST 2013


+Galina

On Fri, Jan 11, 2013 at 12:00 AM,  <dag at cray.com> wrote:
> Jakub Staszak <kubastaszak at gmail.com> writes:
>
>> Fixed in r172105.
>>
>> On Jan 10, 2013, at 8:23 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>
>>> On Thu, Jan 10, 2013 at 8:17 PM, David Greene <greened at obbligato.org> wrote:
>>>> Author: greened
>>>> Date: Thu Jan 10 12:17:54 2013
>>>> New Revision: 172081
>>>>
>>>> URL: http://llvm.org/viewvc/llvm-project?rev=172081&view=rev
>>>> Log:
>>>> Fix Alias Bug
>>>>
>>>> Use memcpy to do type punning instead of a cast.  A cast or similar
>>>> operation through a union breaks strict aliasing rules.
>>>
>>> Sorry, but it looks like it broke tests:
>>> http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/99
>
> Thanks.  I did not get a failure e-mail for this.  Should I have
> expected one?

I think yes, email should have been sent.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list