This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.0.1-beta20050507 miscompiles openssl-0.9.7g with-ftree-loop-linear
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Zan Lynx <zlynx at acm dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 May 2005 12:30:42 -0400
- Subject: Re: GCC 4.0.1-beta20050507 miscompiles openssl-0.9.7g with-ftree-loop-linear
- References: <1115913670.15383.8.camel@localhost>
On Thu, 2005-05-12 at 10:01 -0600, Zan Lynx wrote:
> I'm not subscribed to the list (please CC replies to me) and this isn't
> a real bug report, just a sort of quick check to see if its a known
> problem.
>
> When I compiled openssl-0.9.7g using -O3 and -ftree-loop-linear as
> CFLAGS, openssl failed its self-tests for the MD2 code. Interestingly,
> it succeeded at the tests for other algorithms.
>
-ftree-loop-linear uses the dependence analyzer which has a number of
issues where it will claim things are legal that are not.
You shouldn't expect -ftree-loop-linear to work on random code that you
don't know anything about :)
At least, not yet.
Hopefully these should be fixed in 4.1