Re: Incorrect dereference in argument passage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank Ian;

I included the disassembled code in the original problem description. The entire 
coding ensemble is some 10,000SLOC. I don't know what effort or time it would be 
to construct  test case to illustrate this one point. I suspect that it may take 
several  days, or then again, maybe several hours. Isn't the generated code 
sufficient? 


I will try to generate a specific test case, but it will probably take several 
days to get "around to it". is this OK?

art



----- Original Message ----
From: Ian Lance Taylor <iant@xxxxxxxxxx>
To: Arthur Schwarz <aschwarz1309@xxxxxxx>
Cc: gcc-help@xxxxxxxxxxx
Sent: Wed, September 5, 2012 3:17:06 PM
Subject: Re: Incorrect dereference in argument passage

2012/9/5 Arthur Schwarz <aschwarz1309@xxxxxxx>:
>
> In the code below setDatumCell is passed X.getOperator() instead of
> *X.getOperator(); I am running under gdb and the generated code (from the gdb
> disassembler) is included.

it's very hard to say anything sensible without a complete standalone test case.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux