This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] split tree_type, a.k.a. "tuplifying types"
- From: Tom de Vries <vries at codesourcery dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 22 May 2011 20:24:24 +0200
- Subject: Re: [PATCH] split tree_type, a.k.a. "tuplifying types"
- References: <20110510161543.GW23480@codesourcery.com>
Hi,
Now that struct tree_type does not exist anymore, 'sizeof (struct tree_type)'
generates an error in the following assert in fold_checksum_tree:
...
gcc_assert ((sizeof (struct tree_exp) + 5 * sizeof (tree)
<= sizeof (struct tree_function_decl))
&& sizeof (struct tree_type) <= sizeof (struct tree_function_decl));
...
This error is triggered with -enable-checking=fold.
Thanks,
- Tom