.file "c-int-bug.c" .section .debug_abbrev,"",@progbits .Ldebug_abbrev0: .section .debug_info,"",@progbits .Ldebug_info0: .section .debug_line,"",@progbits .Ldebug_line0: .text .Ltext0: .globl init_matrix .type init_matrix, @function init_matrix: .LFB2: .file 1 "c-int-bug.c" .loc 1 7 0 pushl %ebp .LCFI0: movl %esp, %ebp .LCFI1: subl $16, %esp .LCFI2: .loc 1 9 0 movl $0, -8(%ebp) jmp .L2 .L5: .loc 1 10 0 movl $0, -4(%ebp) jmp .L3 .L4: .loc 1 11 0 movl -8(%ebp), %eax sall $2, %eax addl 12(%ebp), %eax movl (%eax), %edx movl -4(%ebp), %eax sall $2, %eax leal (%edx,%eax), %eax movl $0, (%eax) .loc 1 10 0 addl $1, -4(%ebp) .L3: movl -4(%ebp), %eax cmpl 8(%ebp), %eax jl .L4 .loc 1 9 0 addl $1, -8(%ebp) .L2: movl -8(%ebp), %eax cmpl 8(%ebp), %eax jl .L5 .loc 1 14 0 leave ret .LFE2: .size init_matrix, .-init_matrix .globl init_vector .type init_vector, @function init_vector: .LFB3: .loc 1 16 0 pushl %ebp .LCFI3: movl %esp, %ebp .LCFI4: subl $16, %esp .LCFI5: .loc 1 18 0 movl $0, -8(%ebp) jmp .L8 .L11: .loc 1 19 0 movl $0, -4(%ebp) jmp .L9 .L10: .loc 1 20 0 movl -8(%ebp), %eax imull 8(%ebp), %eax addl -4(%ebp), %eax sall $2, %eax addl 12(%ebp), %eax movl $0, (%eax) .loc 1 19 0 addl $1, -4(%ebp) .L9: movl -4(%ebp), %eax cmpl 8(%ebp), %eax jl .L10 .loc 1 18 0 addl $1, -8(%ebp) .L8: movl -8(%ebp), %eax cmpl 8(%ebp), %eax jl .L11 .loc 1 23 0 leave ret .LFE3: .size init_vector, .-init_vector .globl init_matrox .type init_matrox, @function init_matrox: .LFB4: .loc 1 25 0 pushl %ebp .LCFI6: movl %esp, %ebp .LCFI7: pushl %ebx .LCFI8: subl $36, %esp .LCFI9: .loc 1 25 0 movl 8(%ebp), %eax movl %eax, -36(%ebp) movl -36(%ebp), %eax movl %eax, -32(%ebp) movl $0, -28(%ebp) movl -32(%ebp), %eax andb $255, %ah movl -28(%ebp), %edx andl $15, %edx movl %eax, -32(%ebp) movl %edx, -28(%ebp) movl -32(%ebp), %ecx movl -28(%ebp), %ebx shldl $5, %ecx, %ebx sall $5, %ecx movl %ecx, %eax andb $255, %ah movl %ebx, %edx andl $15, %edx movl %eax, %ecx movl %edx, %ebx .loc 1 27 0 movl $0, -16(%ebp) jmp .L14 .L17: .loc 1 28 0 movl $0, -12(%ebp) jmp .L15 .L16: .loc 1 29 0 movl -36(%ebp), %edx movl -16(%ebp), %eax imull %edx, %eax sall $2, %eax movl %eax, %edx addl 12(%ebp), %edx movl -12(%ebp), %eax movl $0, (%edx,%eax,4) .loc 1 28 0 addl $1, -12(%ebp) .L15: movl -12(%ebp), %eax cmpl 8(%ebp), %eax jl .L16 .loc 1 27 0 addl $1, -16(%ebp) .L14: movl -16(%ebp), %eax cmpl 8(%ebp), %eax jl .L17 .loc 1 32 0 addl $36, %esp popl %ebx popl %ebp ret .LFE4: .size init_matrox, .-init_matrox .globl main .type main, @function main: .LFB5: .loc 1 36 0 leal 4(%esp), %ecx .LCFI10: andl $-16, %esp pushl -4(%ecx) .LCFI11: pushl %ebp .LCFI12: movl %esp, %ebp .LCFI13: pushl %ecx .LCFI14: subl $4124, %esp .LCFI15: .loc 1 41 0 movl $32, -8(%ebp) .loc 1 56 0 leal -4104(%ebp), %eax movl %eax, 4(%esp) movl -8(%ebp), %eax movl %eax, (%esp) call init_matrix .loc 1 57 0 leal -4104(%ebp), %eax movl %eax, 4(%esp) movl -8(%ebp), %eax movl %eax, (%esp) call init_vector .loc 1 58 0 leal -4104(%ebp), %eax movl %eax, 4(%esp) movl -8(%ebp), %eax movl %eax, (%esp) call init_matrox .loc 1 59 0 movl $0, %eax .loc 1 60 0 addl $4124, %esp popl %ecx popl %ebp leal -4(%ecx), %esp ret .LFE5: .size main, .-main .section .debug_frame,"",@progbits .Lframe0: .long .LECIE0-.LSCIE0 .LSCIE0: .long 0xffffffff .byte 0x1 .string "" .uleb128 0x1 .sleb128 -4 .byte 0x8 .byte 0xc .uleb128 0x4 .uleb128 0x4 .byte 0x88 .uleb128 0x1 .align 4 .LECIE0: .LSFDE0: .long .LEFDE0-.LASFDE0 .LASFDE0: .long .Lframe0 .long .LFB2 .long .LFE2-.LFB2 .byte 0x4 .long .LCFI0-.LFB2 .byte 0xe .uleb128 0x8 .byte 0x85 .uleb128 0x2 .byte 0x4 .long .LCFI1-.LCFI0 .byte 0xd .uleb128 0x5 .align 4 .LEFDE0: .LSFDE2: .long .LEFDE2-.LASFDE2 .LASFDE2: .long .Lframe0 .long .LFB3 .long .LFE3-.LFB3 .byte 0x4 .long .LCFI3-.LFB3 .byte 0xe .uleb128 0x8 .byte 0x85 .uleb128 0x2 .byte 0x4 .long .LCFI4-.LCFI3 .byte 0xd .uleb128 0x5 .align 4 .LEFDE2: .LSFDE4: .long .LEFDE4-.LASFDE4 .LASFDE4: .long .Lframe0 .long .LFB4 .long .LFE4-.LFB4 .byte 0x4 .long .LCFI6-.LFB4 .byte 0xe .uleb128 0x8 .byte 0x85 .uleb128 0x2 .byte 0x4 .long .LCFI7-.LCFI6 .byte 0xd .uleb128 0x5 .byte 0x4 .long .LCFI9-.LCFI7 .byte 0x83 .uleb128 0x3 .align 4 .LEFDE4: .LSFDE6: .long .LEFDE6-.LASFDE6 .LASFDE6: .long .Lframe0 .long .LFB5 .long .LFE5-.LFB5 .byte 0x4 .long .LCFI10-.LFB5 .byte 0xc .uleb128 0x1 .uleb128 0x0 .byte 0x9 .uleb128 0x4 .uleb128 0x1 .byte 0x4 .long .LCFI11-.LCFI10 .byte 0xc .uleb128 0x4 .uleb128 0x4 .byte 0x4 .long .LCFI12-.LCFI11 .byte 0xe .uleb128 0x8 .byte 0x85 .uleb128 0x2 .byte 0x4 .long .LCFI13-.LCFI12 .byte 0xd .uleb128 0x5 .byte 0x4 .long .LCFI14-.LCFI13 .byte 0x84 .uleb128 0x3 .align 4 .LEFDE6: .text .Letext0: .section .debug_loc,"",@progbits .Ldebug_loc0: .LLST0: .long .LFB2-.Ltext0 .long .LCFI0-.Ltext0 .value 0x2 .byte 0x74 .sleb128 4 .long .LCFI0-.Ltext0 .long .LCFI1-.Ltext0 .value 0x2 .byte 0x74 .sleb128 8 .long .LCFI1-.Ltext0 .long .LFE2-.Ltext0 .value 0x2 .byte 0x75 .sleb128 8 .long 0x0 .long 0x0 .LLST1: .long .LFB3-.Ltext0 .long .LCFI3-.Ltext0 .value 0x2 .byte 0x74 .sleb128 4 .long .LCFI3-.Ltext0 .long .LCFI4-.Ltext0 .value 0x2 .byte 0x74 .sleb128 8 .long .LCFI4-.Ltext0 .long .LFE3-.Ltext0 .value 0x2 .byte 0x75 .sleb128 8 .long 0x0 .long 0x0 .LLST2: .long .LFB4-.Ltext0 .long .LCFI6-.Ltext0 .value 0x2 .byte 0x74 .sleb128 4 .long .LCFI6-.Ltext0 .long .LCFI7-.Ltext0 .value 0x2 .byte 0x74 .sleb128 8 .long .LCFI7-.Ltext0 .long .LFE4-.Ltext0 .value 0x2 .byte 0x75 .sleb128 8 .long 0x0 .long 0x0 .LLST3: .long .LFB5-.Ltext0 .long .LCFI10-.Ltext0 .value 0x2 .byte 0x74 .sleb128 4 .long .LCFI10-.Ltext0 .long .LCFI11-.Ltext0 .value 0x1 .byte 0x51 .long .LCFI11-.Ltext0 .long .LCFI12-.Ltext0 .value 0x2 .byte 0x74 .sleb128 4 .long .LCFI12-.Ltext0 .long .LCFI13-.Ltext0 .value 0x2 .byte 0x74 .sleb128 8 .long .LCFI13-.Ltext0 .long .LFE5-.Ltext0 .value 0x2 .byte 0x75 .sleb128 8 .long 0x0 .long 0x0 .section .debug_info .long 0x1bc .value 0x2 .long .Ldebug_abbrev0 .byte 0x4 .uleb128 0x1 .long .LASF13 .byte 0x1 .long .LASF14 .long .LASF15 .long .Ltext0 .long .Letext0 .long .Ldebug_line0 .uleb128 0x2 .byte 0x4 .byte 0x7 .long .LASF0 .uleb128 0x2 .byte 0x4 .byte 0x5 .long .LASF1 .uleb128 0x3 .byte 0x4 .byte 0x5 .string "int" .uleb128 0x2 .byte 0x1 .byte 0x8 .long .LASF2 .uleb128 0x2 .byte 0x2 .byte 0x7 .long .LASF3 .uleb128 0x2 .byte 0x4 .byte 0x7 .long .LASF4 .uleb128 0x2 .byte 0x1 .byte 0x6 .long .LASF5 .uleb128 0x2 .byte 0x2 .byte 0x5 .long .LASF6 .uleb128 0x2 .byte 0x8 .byte 0x5 .long .LASF7 .uleb128 0x2 .byte 0x8 .byte 0x7 .long .LASF8 .uleb128 0x4 .byte 0x4 .byte 0x7 .uleb128 0x2 .byte 0x1 .byte 0x6 .long .LASF9 .uleb128 0x5 .byte 0x1 .long .LASF10 .byte 0x1 .byte 0x7 .byte 0x1 .long .LFB2 .long .LFE2 .long .LLST0 .long 0xbf .uleb128 0x6 .string "n" .byte 0x1 .byte 0x7 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 0 .uleb128 0x6 .string "P" .byte 0x1 .byte 0x7 .long 0xbf .byte 0x2 .byte 0x91 .sleb128 4 .uleb128 0x7 .string "i" .byte 0x1 .byte 0x8 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -16 .uleb128 0x7 .string "j" .byte 0x1 .byte 0x8 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -12 .byte 0x0 .uleb128 0x8 .byte 0x4 .long 0xc5 .uleb128 0x8 .byte 0x4 .long 0x33 .uleb128 0x5 .byte 0x1 .long .LASF11 .byte 0x1 .byte 0x10 .byte 0x1 .long .LFB3 .long .LFE3 .long .LLST1 .long 0x115 .uleb128 0x6 .string "n" .byte 0x1 .byte 0x10 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 0 .uleb128 0x6 .string "v" .byte 0x1 .byte 0x10 .long 0xc5 .byte 0x2 .byte 0x91 .sleb128 4 .uleb128 0x7 .string "i" .byte 0x1 .byte 0x11 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -16 .uleb128 0x7 .string "j" .byte 0x1 .byte 0x11 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -12 .byte 0x0 .uleb128 0x5 .byte 0x1 .long .LASF12 .byte 0x1 .byte 0x19 .byte 0x1 .long .LFB4 .long .LFE4 .long .LLST2 .long 0x15f .uleb128 0x6 .string "n" .byte 0x1 .byte 0x19 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 0 .uleb128 0x6 .string "P" .byte 0x1 .byte 0x19 .long 0x16e .byte 0x2 .byte 0x91 .sleb128 4 .uleb128 0x7 .string "i" .byte 0x1 .byte 0x1a .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -24 .uleb128 0x7 .string "j" .byte 0x1 .byte 0x1a .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -20 .byte 0x0 .uleb128 0x9 .long 0x33 .long 0x16e .uleb128 0xa .long 0x6b .byte 0x0 .uleb128 0x8 .byte 0x4 .long 0x15f .uleb128 0xb .byte 0x1 .long .LASF16 .byte 0x1 .byte 0x24 .byte 0x1 .long 0x33 .long .LFB5 .long .LFE5 .long .LLST3 .long 0x1ad .uleb128 0x7 .string "n" .byte 0x1 .byte 0x25 .long 0x33 .byte 0x2 .byte 0x91 .sleb128 -16 .uleb128 0x7 .string "vet" .byte 0x1 .byte 0x28 .long 0x1ad .byte 0x3 .byte 0x91 .sleb128 -4112 .byte 0x0 .uleb128 0xc .long 0x33 .uleb128 0xd .long 0x6b .byte 0x1f .uleb128 0xd .long 0x6b .byte 0x1f .byte 0x0 .byte 0x0 .section .debug_abbrev .uleb128 0x1 .uleb128 0x11 .byte 0x1 .uleb128 0x25 .uleb128 0xe .uleb128 0x13 .uleb128 0xb .uleb128 0x3 .uleb128 0xe .uleb128 0x1b .uleb128 0xe .uleb128 0x11 .uleb128 0x1 .uleb128 0x12 .uleb128 0x1 .uleb128 0x10 .uleb128 0x6 .byte 0x0 .byte 0x0 .uleb128 0x2 .uleb128 0x24 .byte 0x0 .uleb128 0xb .uleb128 0xb .uleb128 0x3e .uleb128 0xb .uleb128 0x3 .uleb128 0xe .byte 0x0 .byte 0x0 .uleb128 0x3 .uleb128 0x24 .byte 0x0 .uleb128 0xb .uleb128 0xb .uleb128 0x3e .uleb128 0xb .uleb128 0x3 .uleb128 0x8 .byte 0x0 .byte 0x0 .uleb128 0x4 .uleb128 0x24 .byte 0x0 .uleb128 0xb .uleb128 0xb .uleb128 0x3e .uleb128 0xb .byte 0x0 .byte 0x0 .uleb128 0x5 .uleb128 0x2e .byte 0x1 .uleb128 0x3f .uleb128 0xc .uleb128 0x3 .uleb128 0xe .uleb128 0x3a .uleb128 0xb .uleb128 0x3b .uleb128 0xb .uleb128 0x27 .uleb128 0xc .uleb128 0x11 .uleb128 0x1 .uleb128 0x12 .uleb128 0x1 .uleb128 0x40 .uleb128 0x6 .uleb128 0x1 .uleb128 0x13 .byte 0x0 .byte 0x0 .uleb128 0x6 .uleb128 0x5 .byte 0x0 .uleb128 0x3 .uleb128 0x8 .uleb128 0x3a .uleb128 0xb .uleb128 0x3b .uleb128 0xb .uleb128 0x49 .uleb128 0x13 .uleb128 0x2 .uleb128 0xa .byte 0x0 .byte 0x0 .uleb128 0x7 .uleb128 0x34 .byte 0x0 .uleb128 0x3 .uleb128 0x8 .uleb128 0x3a .uleb128 0xb .uleb128 0x3b .uleb128 0xb .uleb128 0x49 .uleb128 0x13 .uleb128 0x2 .uleb128 0xa .byte 0x0 .byte 0x0 .uleb128 0x8 .uleb128 0xf .byte 0x0 .uleb128 0xb .uleb128 0xb .uleb128 0x49 .uleb128 0x13 .byte 0x0 .byte 0x0 .uleb128 0x9 .uleb128 0x1 .byte 0x1 .uleb128 0x49 .uleb128 0x13 .uleb128 0x1 .uleb128 0x13 .byte 0x0 .byte 0x0 .uleb128 0xa .uleb128 0x21 .byte 0x0 .uleb128 0x49 .uleb128 0x13 .byte 0x0 .byte 0x0 .uleb128 0xb .uleb128 0x2e .byte 0x1 .uleb128 0x3f .uleb128 0xc .uleb128 0x3 .uleb128 0xe .uleb128 0x3a .uleb128 0xb .uleb128 0x3b .uleb128 0xb .uleb128 0x27 .uleb128 0xc .uleb128 0x49 .uleb128 0x13 .uleb128 0x11 .uleb128 0x1 .uleb128 0x12 .uleb128 0x1 .uleb128 0x40 .uleb128 0x6 .uleb128 0x1 .uleb128 0x13 .byte 0x0 .byte 0x0 .uleb128 0xc .uleb128 0x1 .byte 0x1 .uleb128 0x49 .uleb128 0x13 .byte 0x0 .byte 0x0 .uleb128 0xd .uleb128 0x21 .byte 0x0 .uleb128 0x49 .uleb128 0x13 .uleb128 0x2f .uleb128 0xb .byte 0x0 .byte 0x0 .byte 0x0 .section .debug_pubnames,"",@progbits .long 0x47 .value 0x2 .long .Ldebug_info0 .long 0x1c0 .long 0x75 .string "init_matrix" .long 0xcb .string "init_vector" .long 0x115 .string "init_matrox" .long 0x174 .string "main" .long 0x0 .section .debug_aranges,"",@progbits .long 0x1c .value 0x2 .long .Ldebug_info0 .byte 0x4 .byte 0x0 .value 0x0 .value 0x0 .long .Ltext0 .long .Letext0-.Ltext0 .long 0x0 .long 0x0 .section .debug_str,"MS",@progbits,1 .LASF7: .string "long long int" .LASF0: .string "unsigned int" .LASF10: .string "init_matrix" .LASF16: .string "main" .LASF4: .string "long unsigned int" .LASF8: .string "long long unsigned int" .LASF13: .string "GNU C 4.3.0 20080428 (Red Hat 4.3.0-8)" .LASF11: .string "init_vector" .LASF2: .string "unsigned char" .LASF9: .string "char" .LASF15: .string "/home/staff/stolfi/programs/c/TESTS/bugs/c-int-bug" .LASF14: .string "c-int-bug.c" .LASF1: .string "long int" .LASF12: .string "init_matrox" .LASF3: .string "short unsigned int" .LASF5: .string "signed char" .LASF6: .string "short int" .ident "GCC: (GNU) 4.3.0 20080428 (Red Hat 4.3.0-8)" .section .note.GNU-stack,"",@progbits