LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Heiko Panther<heiko.panther@w...>
    Date: Thu Dec 18 13:32:40 CET 2003
    Subject: [openrisc] or32-gcc: Current status + new version
    Top
    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


    Follow upAuthor
    [openrisc] or32-gcc: Current status + new versionMatjaz Breskvar

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.