summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20041122-1.c
blob: 2d9faccba43537f089ccbc15aa3d5642d60e83c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR rtl-optimization/18611 */
/* { dg-do compile } */
/* { dg-options "-O1 -fmove-loop-invariants" } */
typedef struct {
	int channels_per_image;
	int channel[8];
} CineonImageInformation;
void
dumpCineonImageInfo(CineonImageInformation* imageInfo) {

	int i;
	for (i = 0; i < imageInfo->channels_per_image; ++i) {
		dumpCineonChannelInfo(&imageInfo->channel[i]);
	}
}