HOST_WIDE_INT = long long patch

Joern Rennecke amylaar@cygnus.co.uk
Tue Apr 7 06:54:00 GMT 1998


> This fixes a bug in strength reduction on SPARC when HOST_WIDE_INT is
> long long: multiplying by -1 gets the wrong answer.  It may not be the
> best fix.  Please review.

Why does it fail?  Would it be possible to fix the bug by using
HOST_WIDE_INT instead of int / long more consistently?



More information about the Gcc mailing list