[Bug c/19606] wrong code for arith.expr: (((unsigned int)(signed int) a ) / 2LL) with signed char a=-4
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 12 15:32:00 GMT 2005
------- Additional Comments From steven at gcc dot gnu dot org 2005-02-11 23:42 -------
Ignore comment #4, it's wrong.
An IRC debug session revealed that the call to get_narrower at c-typeck.c:7492
is incorrect; it's not being fed values properly converted to result_type.
A little archaeology shows that the offending code has been there since
forever (ie. it is in old-gcc).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19606
More information about the Gcc-bugs
mailing list