This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Several C++ regressions
On Mon, 23 Aug 2004 15:49:12 -0700, Andrew Pinski <apinski@apple.com> wrote:
> + if (!TREE_CONSTANT (addr)
> + && (!DECL_ARTIFICIAL (field)
> + || !TYPE_BASE_CONVS_MAY_REQUIRE_CODE_P
> + (TREE_TYPE (TREE_OPERAND (arg, 0)))))
> + addr = build_address (arg);
We only need to do this for artificial fields? That suggests to me that
there's a bug in how the front end builds up references to artificial
fields, that it isn't generating the full sequence of COMPONENT_REFs.
Jason