|
Message
From: Heiko Panther<heiko.panther@w...>
Date: Thu Dec 18 13:32:40 CET 2003
Subject: [openrisc] or32-gcc: Current status + new version
Matjaz, > i'm also interested why you say that opencores gcc with -O2 is > buggy. i tried building linux & uclinux with it and it worked just as > good > as with -O flag. can you provide some more details...
The problems I've seen happen with double integer types. eCos uses them a lot. Maybe uclinux does not?
Anyway, I have an OS-less test case here: http://www.opencores.org/forums/openrisc/2003/11/00023
It will need some editing, since it's for my platform, but you should be able to reproduce it. With -O2 the function will not work. There is a // for(i=0; i<5; i++); which, when you remove the comment mark, will also make the error disappear. Sorry, but I didn't resolve what exactly goes wrong, it's just a test case to see if it works or not.
Heiko
|
 |