C++ PATCH: PR 14230

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Mar 19 08:14:00 GMT 2004


Mark Mitchell <mark@codesourcery.com> writes:

| Tested on i686-pc-linux-gnu, applied on the mainline and on the 3.4
| branch.

[...]

| + 	  if (TREE_CODE (init) != TARGET_EXPR)
| + 	    expr = get_target_expr (expr);

Interestingly, the actual patch that you tested and applied is not
the one you posted to gcc-patches (since it is not correct), but rather:

 + 	  if (TREE_CODE (expr) != TARGET_EXPR)
 + 	    expr = get_target_expr (expr);


The corrected version is backported to gcc-3_3-branch.

-- Gaby



More information about the Gcc-patches mailing list