This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
insn_code -> tree_code in tree-vect-transform.c
- From: Thomas Neumann <tneumann at users dot sourceforge dot net>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 26 May 2007 00:35:32 +0200
- Subject: insn_code -> tree_code in tree-vect-transform.c
Hi,
as of revision 125076, tree-vect-transform.c contains the following code
in line 2010:
enum tree_code code, code1 = CODE_FOR_nothing, code2 = CODE_FOR_nothing;
This most likely wrong, CODE_FOR_nothing is an insn_code, not a
tree_code. Unfortunately there is no obvious fix (at least not obvious
to me): The usage of code1 implies that code1 should indeed be
tree_code. But CODE_FOR_nothing is a non-zero constant (2210), which is
larger than MAX_TREE_CODES. Should it perhaps haven been ERROR_MARK instead?
Thomas