[llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-31 Thread Chris Lattner
Applied, -Chris Begin forwarded message: From: Duncan Sands <[EMAIL PROTECTED]> Date: January 31, 2007 11:17:37 AM PST To: Chris Lattner <[EMAIL PROTECTED]> Subject: llvm-gcc4: gimplifier fixes isAggregateType, defined in llvm-convert, is identical to isAggregateTreeType, defined in llvm-abi.

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-23 Thread Devang Patel
On Jan 23, 2007, at 10:52 AM, Chris Lattner wrote: (2) should the gcc changelog entries be backported too? Yes. If this patch causes confusion when llvm-gcc is synchronized with GCC-4.2 (or higher) then ChangeLog entry is a quick way to find relevant patches and discussions. - Devang___

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-23 Thread Chris Lattner
> Hi Devang, you are right that this effects C++ also: in rare cases C++ > produces expressions of type address_of_static_constructor. This > currently > causes llvm-gcc4 to abort, at least with the testcase below. With > my patch > it no longer aborts, so the danger is that wrong code may be

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-23 Thread Duncan Sands
> > Backported from gcc-4.3. These should only effect the Ada front-end. >... > This was part of bigger C++ patch. I am hesitated to bring in partial > patch without further testing. > > Please bring in test case and also add "APPLE LOCAL llvm" markers > appropriately. Please let us know how

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-22 Thread Devang Patel
On Jan 22, 2007, at 5:51 AM, Duncan Sands wrote: > Hi Devang, > >>> - if (TREE_CODE_CLASS (code) == tcc_unary >>> + if ((TREE_CODE_CLASS (code) == tcc_unary || code == >> >> Eric Botcazou made similar changes in next line to fix Ada. Please >> bring in entire patch and appropriate "APPL

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-22 Thread Duncan Sands
Hi Devang, > > - if (TREE_CODE_CLASS (code) == tcc_unary > > + if ((TREE_CODE_CLASS (code) == tcc_unary || code == > > Eric Botcazou made similar changes in next line to fix Ada. Please > bring in entire patch and appropriate "APPLE LOCAL llvm" markers. I sent the minimal change ne

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-18 Thread Devang Patel
On Jan 17, 2007, at 1:16 PM, Duncan Sands wrote: Backported from gcc-4.3. These should only effect the Ada front-end. Index: gcc.llvm.master/gcc/tree.c === --- gcc.llvm.master.orig/gcc/tree.c 2007-01-17 21:40:30.0 +0100

Re: [llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-18 Thread Devang Patel
On Jan 17, 2007, at 1:16 PM, Duncan Sands wrote: Backported from gcc-4.3. These should only effect the Ada front-end. Index: gcc.llvm.master/gcc/varasm.c === --- gcc.llvm.master.orig/gcc/varasm.c 2007-01-17 21:40:31.0

[llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-17 Thread Duncan Sands
Backported from gcc-4.3. These should only effect the Ada front-end. Index: gcc.llvm.master/gcc/tree.c === --- gcc.llvm.master.orig/gcc/tree.c 2007-01-17 21:40:30.0 +0100 +++ gcc.llvm.master/gcc/tree.c 2007-01-17 21:47:4