This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0.1-beta20050507 miscompiles openssl-0.9.7g with-ftree-loop-linear


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]