[Debian-med-packaging] Bug#731435: warning: iteration 55823u invokes undefined behavior [-Waggressive-loop-optimizations]

Mathieu Malaterre malat at debian.org
Mon Apr 6 09:29:35 BST 2020


Control: tags -1 patch

On Sun, Apr 5, 2020 at 8:27 PM Alberto Garcia <berto at igalia.com> wrote:
>
> On Thu, Dec 05, 2013 at 02:00:59PM +0100, Mathieu Malaterre wrote:
> > /«PKGBUILDDIR»/Utilities/gdcmjpeg/jccolor.c: In function 'rgb_ycc_start':
> > /«PKGBUILDDIR»/Utilities/gdcmjpeg/jccolor.c:99:43: warning: iteration
> > 55823u invokes undefined behavior [-Waggressive-loop-optimizations]
> >      rgb_ycc_tab[i+G_Y_OFF] = FIX(0.58700) * i;
> >                                            ^
> > /«PKGBUILDDIR»/Utilities/gdcmjpeg/jccolor.c:97:3: note: containing loop
> >    for (i = 0; i <= MAXJSAMPLE; i++) {
> >    ^
>
> This has already been reported upstream, and it seems exactly the same
> as #731433, which was fixed upstream in DCMTK:
>
>    https://support.dcmtk.org/redmine/issues/759
>
> Berto
>

http://git.dcmtk.org/?p=dcmtk.git;a=commit;h=180d9b9



More information about the Debian-med-packaging mailing list