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: assembler generated code


On Mon, 31 Jan 2005, san bangalore wrote:

> Hi All,
>
> I am trying to figure out the assembly code generated
> for a C++ source code. I have written a simple C++
> program an d trying to match the generated assembly
> code.
> I am attaching a file which contains both the source
> and the assembly code. I have also put my comments for
> those assembly constructs which i could understand.
> I could not understand 2 blocks of assembly code which
> i have named as DOUBT1_start and DOUBT2_start.
> Can anyone please explain me what the assembly code in
> between the DOUBT label means.

My wild guess is that this is exception handling needed for a case there
is some exception thrown either by operator new or by class A constructor.

Cheers,
Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com


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