[llvm-commits] [llvm-gcc-4.2] r47905 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Owen Anderson resistor at mac.com
Wed Mar 5 10:18:37 PST 2008


The exact error message was:

Assertion failed: (C->getType()->isInteger() && Ty->isInteger() &&  
"Invalid cast"), function createIntegerCast, file Instructions.cpp,  
line 1949.
../../../llvm-gcc-4.2/libgomp/critical.c: In function  
'GOMP_critical_name_start':
../../../llvm-gcc-4.2/libgomp/critical.c:54: internal compiler error:  
Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.

--Owen

On Mar 5, 2008, at 9:09 AM, Andrew Lenharth wrote:

> It would be nice if someone on darwin/x86 would check why it is
> failing.  I have no problems on 23 or 64 bit x86 linux.
>
> Andrew
>
> On 3/5/08, Owen Anderson <resistor at mac.com> wrote:
>> This was causing bootstrap failure on Darwin/X86, so I just  
>> reverted it.
>>
>>
>> --Owen
>>
>>
>> On Mar 4, 2008, at 3:18 PM, Andrew Lenharth wrote:
>>
>>> Author: alenhar2
>>> Date: Tue Mar  4 15:18:39 2008
>>> New Revision: 47905
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=47905&view=rev
>>> Log:
>>> x86-64 supports these now, this builds fine now on linux/x86-64
>>>
>>> Modified:
>>>   llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
>>>
>>> Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
>>> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=47905&r1=47904&r2=47905&view=diff
>>>
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> =
>>> = 
>>> = 
>>> ====================================================================
>>> --- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
>>> +++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Tue Mar  4 15:18:39 2008
>>> @@ -4294,7 +4294,7 @@
>>>                       C, C + 5);
>>>    return true;
>>>  }
>>> -#if defined(TARGET_ALPHA)
>>> +#if defined(TARGET_ALPHA) || defined(TARGET_386)
>>>    //gcc uses many names for the sync intrinsics
>>>  case BUILT_IN_VAL_COMPARE_AND_SWAP_1:
>>>  case BUILT_IN_VAL_COMPARE_AND_SWAP_2:
>>>
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list