[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More C++ Exceptions Issues
- Date: Sun, 2 May 1999 13:27:37 -0500
- From: rdasilva at connecttel.com (Rosimildo DaSilva)
- Subject: More C++ Exceptions Issues
From: Ian Lance Taylor <ian at airs.com>
To: rdasilva at connecttel.com <rdasilva at connecttel.com>
Cc: rtems-list at oarcorp.com <rtems-list at oarcorp.com>
Date: Saturday, May 01, 1999 1:07 AM
Subject: Re: More C++ Exceptions Issues
Ian, or anyone expert on GCC:
One of the problems with C++ working a very bizarre manner on RTEMS,
is the fact that I was compiling the BSP=pc386 with the options:
( Very small stack size is another problem ).
this causes C++ code to cause all kind of problems.
I have stepped in through the code and GDB shows garbage values
for some parameters, mainly in calls to C++ ctors.
I have changed this to:
and recompiled everything, and it seems to to have fixed
the weird behavior that I was seen.
Also, doing this change makes the code to be about 15% smaller.
I really did not understand this. I really appreciate if someone could
explain whar is going on.
Is there any real reason why the flags -O4 -fomit-frame-pointer in the first