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.target/] [i386/] [990524-1.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target ilp32 } */
3
/* { dg-options "-O2 -march=pentiumpro" } */
4
 
5
typedef struct t_anim_info {
6
   char        *new_filename;
7
   long         first_frame_nr;
8
} t_anim_info;
9
static int
10
p_frames_to_multilayer(t_anim_info *ainfo_ptr,
11
                      long range_from, long range_to)
12
{
13
  long    l_cur_frame_nr;
14
  long    l_step, l_begin, l_end;
15
  int  l_tmp_image_id;
16
  int  l_new_image_id;
17
  if(range_from > range_to)
18
  {
19
    l_step  = -1;
20
    if(range_to < ainfo_ptr->first_frame_nr)
21
    { l_begin = ainfo_ptr->first_frame_nr;
22
     }
23
  }
24
  else
25
  {
26
    l_step  = 1;
27
  }
28
  l_cur_frame_nr = l_begin;
29
  while(1)
30
  {
31
    if(ainfo_ptr->new_filename == ((void *)0) )
32
    if(l_tmp_image_id < 0)
33
      gimp_image_delete(l_tmp_image_id);
34
    if(l_cur_frame_nr == l_end)
35
       break;
36
    l_cur_frame_nr += l_step;
37
  }
38
  return 0;
39
}

powered by: WebSVN 2.1.0

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