Testcase from PR rtl-optimization/18611

From-SVN: r91069
This commit is contained in:
Daniel Berlin 2004-11-23 03:13:53 +00:00
parent 0aed4efbb0
commit cf19bf02c4

View File

@ -0,0 +1,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]);
}
}