| 1 |
/* PR target/13058 */ |
| 2 |
/* Origin: Lloyd Parkes <[email protected]> */ |
| 3 |
/* Reduced testcase by Falk Hueffner <[email protected]> */ |
| 4 |
|
| 5 |
/* Verify that the register allocator correctly aligns |
| 6 |
floating-point registers on SPARC64. */ |
| 7 |
|
| 8 |
/* { dg-do compile } */ |
| 9 |
/* { dg-options "-O" } */ |
| 10 |
|
| 11 |
void Get16u(); |
| 12 |
typedef struct { int ThumbnailSize; } ImageInfo_t; |
| 13 |
|
| 14 |
double ConvertAnyFormat(void) |
| 15 |
{ |
| 16 |
return 0; |
| 17 |
} |
| 18 |
|
| 19 |
void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries) |
| 20 |
{ |
| 21 |
unsigned int ThumbnailSize; |
| 22 |
|
| 23 |
for (; NumDirEntries;) { |
| 24 |
Get16u(); |
| 25 |
switch (NumDirEntries) { |
| 26 |
case 0x0201: |
| 27 |
case 0x0202: |
| 28 |
ThumbnailSize = ConvertAnyFormat(); |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
ImageInfoP->ThumbnailSize = ThumbnailSize; |
| 33 |
} |