Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-16 Thread Andy Dougherty
On Thu, 15 Nov 2007, Nicholas Clark via RT wrote: > On Wed, Nov 14, 2007 at 02:49:33PM -0500, Andy Dougherty wrote: > > > 130 cast increases required alignment of target type > > That warning is unlikely to show up on anything x86 isn't it? Right. Most of them them are also harmless, though i

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-15 Thread Nicholas Clark
On Wed, Nov 14, 2007 at 02:49:33PM -0500, Andy Dougherty wrote: > 130 cast increases required alignment of target type That warning is unlikely to show up on anything x86 isn't it? > 65 dereferencing type-punned pointer will break strict-aliasing rules Whilst I believe I know a lot about C,

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-15 Thread Andrew Dougherty
On Thu, 15 Nov 2007, Paul Cochrane via RT wrote: > Andy, > > > Here are the warnings I got on my latest run, along with the number of > > times each one appeared: (this was with gcc-4.1.0 on Solaris/SPARC) > > > > This is very helpful for me to try and improve the situtation. > Thanks! I'll

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-15 Thread Paul Cochrane
Andy, > Here are the warnings I got on my latest run, along with the number of > times each one appeared: (this was with gcc-4.1.0 on Solaris/SPARC) This is very helpful for me to try and improve the situtation. Thanks! I'll switch off the visibility attribute warning if possible and then I c

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread chromatic
On Monday 12 November 2007 16:49:18 chromatic wrote: > > After poking around quite a bit, the following patch fixes it: > > > > --- parrot-current/src/ops/experimental.ops Wed Oct 17 19:15:15 2007 > > +++ parrot-andy/src/ops/experimental.opsMon Nov 12 15:13:43 2007 > > @@ -91,7 +91,7 @@ > >

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread Andy Dougherty
On Wed, 14 Nov 2007, Paul Cochrane wrote: > The float_equals warnings in gcc *are* off. So why is this warning a > problem (maybe I've missed something)? They used to be on. I don't know when they were turned off. The workaround in was put in place to try to silence the warnings. When the

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread ajr
>> the definition of FLOAT_IS_ZERO in include/parrot/misc.h is Could this be relevant to RT45209 (a -0.0 being taken as true, rather than false?). I tried to track down the problem, but got lost in the woods. Somebody more familiar with the logic might recognise it. -- Email and shopping w

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread Paul Cochrane
On 14/11/2007, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Wed, Nov 14, 2007 at 09:20:40AM -0500, Andy Dougherty wrote: > > On Tue, 13 Nov 2007, Nicholas Clark via RT wrote: > > > On Mon, Nov 12, 2007 at 12:33:41PM -0800, Andy Dougherty wrote: > > > > It may well be there's an issue with gcc

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread Patrick R. Michaud
On Wed, Nov 14, 2007 at 09:20:40AM -0500, Andy Dougherty wrote: > On Tue, 13 Nov 2007, Nicholas Clark via RT wrote: > > On Mon, Nov 12, 2007 at 12:33:41PM -0800, Andy Dougherty wrote: > > > It may well be there's an issue with gcc's optimizer, since the problem > > > goes away without optimization,

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread Andy Dougherty
On Tue, 13 Nov 2007, Nicholas Clark via RT wrote: > On Mon, Nov 12, 2007 at 12:33:41PM -0800, Andy Dougherty wrote: > > > It may well be there's an issue with gcc's optimizer, since the problem > > goes away without optimization, but I think it's also fair to say that > > the definition of FLOAT_

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-14 Thread Paul Cochrane
On 13/11/2007, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Mon, Nov 12, 2007 at 12:33:41PM -0800, Andy Dougherty wrote: > > > It may well be there's an issue with gcc's optimizer, since the problem > > goes away without optimization, but I think it's also fair to say that > > the definition of F

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-13 Thread Nicholas Clark
On Mon, Nov 12, 2007 at 12:33:41PM -0800, Andy Dougherty wrote: > It may well be there's an issue with gcc's optimizer, since the problem > goes away without optimization, but I think it's also fair to say that > the definition of FLOAT_IS_ZERO in include/parrot/misc.h is > perhaps not optimal he

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-13 Thread Andy Dougherty
On Mon, 12 Nov 2007, chromatic via RT wrote: > On Monday 12 November 2007 12:33:41 Andy Dougherty wrote: > > It may well be there's an issue with gcc's optimizer, since the problem > > goes away without optimization, but I think it's also fair to say that > > the definition of FLOAT_IS_ZERO in in

Re: [perl #47397] t/op/arithmetics.t hangs

2007-11-12 Thread chromatic
On Monday 12 November 2007 12:33:41 Andy Dougherty wrote: > I was trying parrot for the first time in a while today, and the test > suite hung at t/op/arithmetics_22.pasm. (This is with gcc-4.1.0 on > Solaris 8/SPARC.) It just sits and uses up CPU. It appears to be stuck > in the 'gcd' op. > >

[perl #47397] t/op/arithmetics.t hangs

2007-11-12 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #47397] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=47397 > I was trying parrot for the first time in a while today, and the test suite hung at t