------- Comment #17 from jason at gcc dot gnu dot org 2006-09-08 00:43 ------- I don't think disabling the assertion is enough. Yes, the compiler would do the right thing for this particular testcase, but would be wrong if the subtraction produces a negative result.
Rather, we should stop stripping the conversions in cases where they are significant. Testing a patch now. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2006-05-23 06:51:13 |2006-09-08 00:43:21 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27724