On 12/07/12 12:11, Yang Chen wrote:
It looks like a clang_delta bug. Could you send us the source file which
caused the infinite loop, i.e., the file of 5475 bytes? Thanks.


Let me know if some other file would help.

Cheers,

Paulo Matos

- Yang

On 7/12/12 7:04 PM, Paulo J. Matos wrote:
Hi,

I found the weirdest thing... I left creduce running through the night
and I came in and it is still running, however not only it is running
but it is also not doing anything. I have 10000 lines full of:
(93.7 %, 5475 bytes)

I haven't killed the process not to spoil any files. I will leave it
running until someone tells me what I should do so I can send you more
information for you to debug and fix the issue.

Thanks,



To report this email as spam click
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
.


--
PMatos




Member of the CSR plc group of companies. CSR plc registered in England and 
Wales, registered number 4187346, registered office Churchill House, Cambridge 
Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at 
http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
 typedef int int8_t;
typedef int int16_t;
typedef long int32_t;
typedef long long int int64_t;
typedef unsigned int uint8_t;
typedef unsigned int uint16_t;
typedef unsigned long uint32_t;
typedef unsigned long long int uint64_t;
typedef struct  __kernel_fsid_t;
typedef struct _UC_FILE FILE;
typedef struct
 __stdio_fpos_t;
# 40 
"/home/pm18/p4ws/pm18_binutils/bc/main/result/linux/image/gcc_463_5/lib/gcc/xap-local-xap/4.6.3/include/stdarg.h"
 3 4
typedef __builtin_va_list __gnuc_va_list;
 ;

int platform_main_end_flag;
static void
platform_main_end(uint32_t crc)
{
 printf ("checksum = %X\n", crc);
}

;

;

;

;

;

;

;

;


;

;


;

;

;

;

;

;

;

;

;

;

;

;

;

;

;

;

;


;

;

;

;

;


;

;

;


;

;

;

;

;


;

;

;

;

;

;

;

;

;


;

;

;

;
static uint32_t crc32_tab[256];
static uint32_t crc32_context = 0xFFFFFFFFUL;
uint32_t crc32_gentab_crc;
const uint32_t crc32_gentab_poly = 0xEDB88320UL;
int crc32_gentab_i;
int crc32_gentab_j;

crc32_byte (uint8_t b) {
 crc32_context =
  crc32_context >> 8 & 0x00FFFFFF ^
  crc32_tab[(crc32_context ^ b) & 0xFF];
}
void crc32_8bytes (uint64_t val)
{
 crc32_byte (val>>0) & 0xff;
 crc32_byte (val>>56) & 0xff;
}
char  transparent_crc_vname;
int transparent_crc_flag;

struct U0 {
   uint32_t f0;
   int8_t f1;
   uint16_t f2;
   int32_t f3;
};
static uint32_t g_7 = 0UL;
static int32_t g_9 = -2L;


static int64_t g_32 = 0x67120DD93BA6AED1LL;
static int32_t g_35 = -9L;

static uint32_t g_70[1] ;
static uint32_t g_70_0;

static int8_t g_108 = 0xE0L;
static int8_t g_107 = 0xE0L;

static uint8_t g_112[2] ;
static uint8_t g_112_0;



static uint8_t g_173[2] ;
static uint8_t g_173_1;
static uint64_t g_176 = 0UL;





static int64_t g_290[3] = {8L, 8L, 8L};


static int32_t g_332 = -9L;

static int32_t g_458 = 0x7A19AC10L;


static uint32_t g_497[2] ;
static uint32_t g_497_1;
static int32_t *g_563 = &g_35;


static struct U0 g_760[1][2] = {};
static uint32_t g_760_0_0_0;



static int32_t * func_2(uint16_t p_3);
static int32_t func_10(int32_t * p_11);
static int32_t * func_13(void);
int32_t const func_1_l_8[3][2];
int32_t const func_1_l_8_2_0;
int32_t func_1_l_457 = 0x7A19AC10L;
int32_t **func_1_l_918 = &g_563;

int32_t func_2_l_498 = 0x7A19AC10L;
int32_t func_2_l_499 = 0x38690E2FL;
int32_t  func_2_p_4;
static int32_t * func_2(uint16_t p_3)
{
    
    
    
    
    
    
    
lbl_526:
    if (p_3 < (g_107 = func_2_l_499 &= func_2_l_498 , 0 == 
18446744073709551606UL))
    ;
    
        
        
            
            func_2_p_4 |= (g_70_0 , g_290[g_176 + 2]);
            
        
        
    
    g_32 = -26;
    
    for (g_32; g_32 >= -12; g_32 = 0)
    
    ;
}
int32_t  func_10_p_12;

int32_t func_13_l_26 = 0xE491BA6BL;
int32_t func_13_l_399[4][4];
int32_t func_13_l_399_2_1;
int16_t func_13_l_446 = 0xF430L;
uint64_t func_13_l_153 = 0UL;
int32_t  func_13_p_14;
static int32_t * func_13(void)
{
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    if (4L >= (g_9 & (g_32 = 0)))
    ;
    else
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        if (g_35 ^= func_13_p_14 = 0 != &func_13_p_14 , 0 , 0xE491BA6BL)
        
        {
            
            if (g_112_0)
            
                
                
                if (0 , 0UL)
                ;
                
                    g_176++;
                
            
            
            
        }
        g_9 ^= g_173_1;
        
        if (g_173_1)
        
        ;
    
    if (5UL < func_13_l_399_2_1)
    
    
    {
    g_332 = 0xF430L;
    
    if (0xF430L)
    
    ;
    }
}
int main_j;
int main_print_hash_value = 0;
int main (void)
{
    uint32_t __trans_tmp_4;
    int i;
    
    {
     
     
     
     crc32_gentab_i = 0;
     
     for (crc32_gentab_i; crc32_gentab_i < 256; crc32_gentab_i++) {
      crc32_gentab_crc = crc32_gentab_i;
      crc32_gentab_j = 8;
      
      for (crc32_gentab_j; crc32_gentab_j > 0; crc32_gentab_j--) 
       if (crc32_gentab_i & 1) 
        crc32_gentab_crc = crc32_gentab_crc >> 1 ^ 0xEDB88320UL;
        else ;
      
      crc32_tab[crc32_gentab_i] = crc32_gentab_crc;
     }
    }
    
    ;
    {
        int32_t __trans_tmp_3;
        int32_t *__trans_tmp_2;
        int32_t __trans_tmp_1;
        
        
        
        
        __trans_tmp_2 = func_13();
        {int32_t p_11 = *__trans_tmp_2;
        
            
            
            
            
            
        }
        
        __trans_tmp_1 = __trans_tmp_3;
        g_497_1 &= (0 , 0UL , &func_1_l_8_2_0 != 0) & __trans_tmp_3;
        
        *func_1_l_918 = func_2(g_497_1);
        
    }
    
    __trans_tmp_4;
    
        {uint64_t val = g_70_0;
        
         {uint64_t val = val;
         
          crc32_byte (val>>0) & 0xff;
          crc32_byte (val>>56) & 0xff;
         }
         
         ;
         if (transparent_crc_flag) ;
        }
        
        ;
    
    i = 0;
    
    for (i; i < 2; i++)
    
        {
        main_j = 0;
        
        for (main_j; main_j < 2; main_j++)
        {
            printf ("%d\n", g_760_0_0_0);
            {
            {uint64_t val = g_760[i][main_j].f3;
            
             crc32_8bytes(val);
             if (transparent_crc_flag) ;
            }
            
            ;
            }
        }
        }
    
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL);
    return 0;
}
 

Reply via email to