[ast-optimizer-branch] PATCH for C++ simplification skeleton

Jason Merrill jason@redhat.com
Tue Jun 18 09:49:00 GMT 2002


All this currently does is hand off the C++ tree structure to the C
simplifier, which isn't really ready for it yet.  It doesn't even do that
with this patch, since the relevant code in optimize.c is disabled until
C++ simplification is more functional, but I thought this might be useful
for other folks interested in C++ simplification.

2002-06-18  Jason Merrill  <jason@redhat.com>

	* cp-simplify.c: New file.
	* cp-tree.h: Declare cp_simplify_function_tree.
	* cp-lang.c (LANG_HOOKS_SIMPLIFY_FUNCTION_TREE): Define.
	* optimize.c (optimize_function): Call tree optimizers (but not yet).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 4842 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020618/c9dbb8be/attachment.bin>


More information about the Gcc-patches mailing list