Incorrect dereference in argument passage
Arthur Schwarz
aschwarz1309@att.net
Wed Sep 5 23:22:00 GMT 2012
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@google.com>
To: Arthur Schwarz <aschwarz1309@att.net>
Cc: gcc-help@gcc.gnu.org
Sent: Wed, September 5, 2012 3:17:06 PM
Subject: Re: Incorrect dereference in argument passage
2012/9/5 Arthur Schwarz <aschwarz1309@att.net>:
>
> 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
More information about the Gcc-help
mailing list