]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 16 Oct 2001 13:07:29 +0000 (13:07 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 16 Oct 2001 13:07:29 +0000 (13:07 +0000)
commitd9f818d95c59cae78c94283bc277e77876cd25f7
treeb2d3d48c1e9e34a20a01c82573b3db0adc9e80d0
parent2d1245b8c88b20c6cfe0026b105d62e2f24b172f
pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.

* pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
(unify): Only handle MINUS_EXPR specially if the above flag is set
and the subtracted constant is 1.  Clear the flag on recursive calls.
Set it when unifying the maximum value in an INTEGER_TYPE's range.

From-SVN: r46287
gcc/cp/ChangeLog
gcc/cp/pt.c