Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / 20040127-2.c
blob6e56dd8fc10f37c04bbf725fb33d3be0b11af79d
1 /* PR target/13058 */
2 /* Origin: Lloyd Parkes <lloyd@must-have-coffee.gen.nz> */
3 /* Reduced testcase by Falk Hueffner <falk@debian.org> */
5 /* Verify that the register allocator correctly aligns
6 floating-point registers on SPARC64. */
8 /* { dg-do compile } */
9 /* { dg-options "-O" } */
11 typedef struct { int ThumbnailSize; } ImageInfo_t;
13 double ConvertAnyFormat(void)
15 return 0;
18 void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries)
20 unsigned int ThumbnailSize;
22 for (; NumDirEntries;) {
23 Get16u();
24 switch (NumDirEntries) {
25 case 0x0201:
26 case 0x0202:
27 ThumbnailSize = ConvertAnyFormat();
31 ImageInfoP->ThumbnailSize = ThumbnailSize;