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] |
On 11/14/2014 03:41 PM, Kai Tietz wrote:
- gcc_assert (val1->v.val_unsigned == DWARF2_ADDR_SIZE); + gcc_assert (val1->v.val_unsigned + == (unsigned HOST_WIDE_INT) DWARF2_ADDR_SIZE);
These changes should not be necessary; the warning should check the folded versions of the operands so it can tell that the rhs is constant and non-negative.
Jason
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |