This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR35823, wrong types in optimize_minmax_comparison
On Sun, 6 Apr 2008, Eric Botcazou wrote:
> > 2008-04-04 Richard Guenther <rguenther@suse.de>
> >
> > PR middle-end/35823
> > * fold-const.c (optimize_minmax_comparison): Use the correct
> > type for the constant in the simplified comparison.
>
> Thanks for fixing the problem, this had a significant impact on our automatic
> regression tester. AFAICS a few similar problems still exist, I'll look into
> them over the next few days.
That is expected. One reason I enabled type checking for all stages is
to catch these remaining problems ;)
> > * gnat.dg/pr35823.adb: New testcase.
>
> I took the liberty to rename it to size_attribute.adb, we like descriptive
> names here. :-)
No problem.
Richard.