[trunk][patch] Avoid sharing DECL_ARGUMENTS
Rafael Espindola
espindola@google.com
Thu Apr 2 15:04:00 GMT 2009
Normally a function argument points back to the function DECL via
DECL_CONTEXT. If two FUNCTION_DECLs share DECL_ARGUMENTS, the
DECL_CONTEXT of the arguments must be incorrect for at least one of
the functions.
This patch fixes one case where this was happening.
2009-04-02 Rafael Avila de Espindola <espindola@google.com>
* c-decl.c (merge_decls): Make sure newdecl and olddecl don't
share the argument list.
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
More information about the Gcc-patches
mailing list