gcc/testsuite/gcc.dg/20041122-1.c
raw| 1 | /* PR rtl-optimization/18611 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-std=gnu17 -O1 -fmove-loop-invariants" } */ |
| 4 | |
| 5 | void dumpCineonChannelInfo (); |
| 6 | typedef struct { |
| 7 | int channels_per_image; |
| 8 | int channel[8]; |
| 9 | } CineonImageInformation; |
| 10 | void |
| 11 | dumpCineonImageInfo(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 |