http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46970
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-17 17:14:01 UTC --- Created attachment 22801 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22801 gcc46-pr46970.patch Untested patch that fixes this and keeps ltrans-3.c working. I don't feel very good about the +-1 * stepint extra adjustments the code did and still does though, I'm afraid there could be problems with that if there is an overflow, but it would be much more work to adjust lambda-code.c so that it deals with this properly.