This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

app crashes when compiled with OTime O3 using RVDS 4.0

Note: This was originally posted on 1st December 2008 at http://forums.arm.com

Hi,
I am using RVDS 4.0 trial version. When I compile my app using OTime O3 compiler flag, the application crashes. But if I specify O2 then it is working properly.

My compiler flags are :

-DRVCT -DDYNAMIC_APP -DBREW --cpu=ARM926EJ-S --apcs=/ropi/interwork/norwpi -c -Otime -O2 --littleend --split_sections -zo


My linker flags are:

--split --reloc --entry AEEMod_Load --first AEEMod_Load --callgraph

please do let me know if i need to specify anything else in the compiler/linker flag options
Parents
  • Note: This was originally posted on 1st December 2008 at http://forums.arm.com

    In addition, it's also possible that you've done something in your code which isn't guaranteed to do what you think. The C specification is quite vague about a number of things, and turning up the optimization level can expose bugs in which the code makes assumptions about how data will be stored or handled. Finding these bugs can be very difficult.
Reply
  • Note: This was originally posted on 1st December 2008 at http://forums.arm.com

    In addition, it's also possible that you've done something in your code which isn't guaranteed to do what you think. The C specification is quite vague about a number of things, and turning up the optimization level can expose bugs in which the code makes assumptions about how data will be stored or handled. Finding these bugs can be very difficult.
Children
No data