1 /* { dg-do compile } */
2 /* { dg-options "-O3 -w" } */
5 int *findOrAddBackgroundInPalette_palette_pnm
;
6 static void findOrAddBackgroundInPalette(unsigned *paletteSizeP
,
7 int *backgroundIndexP
) {
9 *backgroundIndexP
= (*paletteSizeP
)++;
12 pm_message(findOrAddBackgroundInPalette_palette_pnm
[*backgroundIndexP
]);
14 void computeColorMap(int *backgroundIndexP
) {
16 findOrAddBackgroundInPalette(&paletteSize
, backgroundIndexP
);
19 unsigned backgroundIndex
;
21 computeColorMap(&backgroundIndex
);