Several C++ regressions

Jason Merrill jason@redhat.com
Tue Aug 24 17:13:00 GMT 2004


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



More information about the Gcc mailing list