Re: [Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-26 Thread Richard Guenther
On Thu, 25 Mar 2010, Sebastian Pop wrote:

> On Wed, Mar 24, 2010 at 16:35, howarth at nitro dot med dot uc dot edu
>  wrote:
> >> Fixed.
> >>
> >> Please use ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.9.tar.gz
> >>
> >
> > Shouldn't the required cloog-ppl version in configure be bumped from 0.15.5 
> > to
> > 0.15.9?
> >
> 
> Richi what do you think?

It's a bit late for that change.  You could warn at configure time if
a "broken but acceptable" version is detected, like we do for
gmp or mpfr (I don't remember which one).

Thanks,
Richard.


Re: g++; operator==

2005-08-30 Thread Richard Guenther

First of all, this mailinglist only tracks bugzilla
(http://gcc.gnu.org/bugzilla) activity, so getting help
this way is going to fail.

Second, your testcase is invalid C++, to fix it, change
operator== to

   bool operator== (const Int& i2) const {
   return (this->i == i2.i ? true : false);
   }

as you cannot bind a temporary (which Int(2) is) to an
lvalue reference.

Your other compilers are wrong in accepting the code.

Richard.