OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [20040127-2.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR target/13058 */
2
/* Origin: Lloyd Parkes <lloyd@must-have-coffee.gen.nz> */
3
/* Reduced testcase by  Falk Hueffner <falk@debian.org> */
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
typedef struct { int ThumbnailSize; } ImageInfo_t;
12
 
13
double ConvertAnyFormat(void)
14
{
15
  return 0;
16
}
17
 
18
void ProcessExifDir(ImageInfo_t *ImageInfoP, int NumDirEntries)
19
{
20
  unsigned int ThumbnailSize;
21
 
22
  for (; NumDirEntries;) {
23
    Get16u();
24
    switch (NumDirEntries) {
25
      case 0x0201:
26
      case 0x0202:
27
        ThumbnailSize = ConvertAnyFormat();
28
    }
29
  }
30
 
31
  ImageInfoP->ThumbnailSize = ThumbnailSize;
32
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.