This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix C++ enums handling in build_range_check
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: roger at eyesopen dot com (Roger Sayle)
- Cc: jakub at redhat dot com (Jakub Jelinek), rth at redhat dot com (Richard Henderson), gcc-patches at gcc dot gnu dot org, dcbw at redhat dot com
- Date: Fri, 9 Jul 2004 13:42:00 -0400 (EDT)
- Subject: Re: [PATCH] Fix C++ enums handling in build_range_check
>
>
> On Fri, 9 Jul 2004, Jakub Jelinek wrote:
> > 2004-07-09 Jakub Jelinek <jakub@redhat.com>
> >
> > * fold-const.c (build_range_check): Use TYPE_MODE's precision for
> > enumerals.
> >
> > * g++.dg/opt/range-test-1.C: Add new test (#26).
> >
> > Ok for trunk and 3.4?
>
> This looks "obviously" Ok for mainline. You didn't list the target
> triple that you bootstrapped and regression tested on, but assuming
> these also pass against the gcc-3_4-branch, this patch is Ok there
> too.
And this is PR 16372.
-- Andrew