This is the mail archive of the gcc-patches@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] |
This makes me uncomfortable. The number zero seems like a special case which merits special handling. The number one does not. What you are looking for is a function which returns the multiplicative identity for TYPE. Currently you are getting it by calling fold_convert (TYPE, integer_one_node). Suppose you write the multiplicative identify function, and handle VECTOR_TYPE there, rather than making the number one a special case in fold_convert?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |