This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]