[llvm-commits] [llvm] r66280 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Tanya Lattner lattner at apple.com
Fri Mar 6 14:19:34 PST 2009


I'm pretty positive that its BuildVectorSDNode. I'm not familiar with  
this code, so I'll ask Bob to create a constructor there and then he  
can remove this default constructor.

I'd like to keep llvm building with gcc 3.4.6.

-Tanya



On Mar 6, 2009, at 11:02 AM, Dan Gohman wrote:

> Since this new constructor doesn't actually initialize
> any of the SDNode members, anything using it will get an
> SDNode with uninitialized contents. Please figure out what
> code is attempting to call the default constructor, and fix
> it to call one of the existing constructors instead.
>
> Dan
>
> On Mar 6, 2009, at 10:17 AM, Tanya Lattner wrote:
>
>> Author: tbrethou
>> Date: Fri Mar  6 12:17:45 2009
>> New Revision: 66280
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=66280&view=rev
>> Log:
>> Add default constructor to SDNode to make gcc 3.4.6 happy.
>>
>> Modified:
>>   llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=66280&r1=66279&r2=66280&view=diff
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> = 
>> =====================================================================
>> --- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Fri Mar  6
>> 12:17:45 2009
>> @@ -1114,6 +1114,10 @@
>>  friend struct ilist_traits<SDNode>;
>>
>> public:
>> +
>> +  /// Default SDNode constructor.
>> +  SDNode() {}
>> +
>>  //
>> =
>> =
>> =--------------------------------------------------------------------
>> ===//
>>  //  Accessors
>>  //
>>
>>
>> _______________________________________________
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090306/5bea328d/attachment.html>


More information about the llvm-commits mailing list