1 /* PR rtl-optimization/18611 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O1 -fmove-loop-invariants" } */ 4 5 void dumpCineonChannelInfo (); 6 typedef struct { 7 int channels_per_image; 8 int channel[8]; 9 } CineonImageInformation; 10 void dumpCineonImageInfo(CineonImageInformation * imageInfo)11dumpCineonImageInfo(CineonImageInformation* imageInfo) { 12 13 int i; 14 for (i = 0; i < imageInfo->channels_per_image; ++i) { 15 dumpCineonChannelInfo(&imageInfo->channel[i]); 16 } 17 } 18 19 20