Mercurial > hg > CbC > CbC_gcc
comparison gcc/unwind-dw2-fde.c @ 36:855418dad1a3
gcc-4.4-20091020
author | e075725 |
---|---|
date | Tue, 22 Dec 2009 21:19:31 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
19:58ad6c70ea60 | 36:855418dad1a3 |
---|---|
627 In these cases, the function address will be NULL, but if | 627 In these cases, the function address will be NULL, but if |
628 the encoding is smaller than a pointer a true NULL may not | 628 the encoding is smaller than a pointer a true NULL may not |
629 be representable. Assume 0 in the representable bits is NULL. */ | 629 be representable. Assume 0 in the representable bits is NULL. */ |
630 mask = size_of_encoded_value (encoding); | 630 mask = size_of_encoded_value (encoding); |
631 if (mask < sizeof (void *)) | 631 if (mask < sizeof (void *)) |
632 mask = (1L << (mask << 3)) - 1; | 632 mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1; |
633 else | 633 else |
634 mask = -1; | 634 mask = -1; |
635 | 635 |
636 if ((pc_begin & mask) == 0) | 636 if ((pc_begin & mask) == 0) |
637 continue; | 637 continue; |
688 In these cases, the function address will be NULL, but if | 688 In these cases, the function address will be NULL, but if |
689 the encoding is smaller than a pointer a true NULL may not | 689 the encoding is smaller than a pointer a true NULL may not |
690 be representable. Assume 0 in the representable bits is NULL. */ | 690 be representable. Assume 0 in the representable bits is NULL. */ |
691 mask = size_of_encoded_value (encoding); | 691 mask = size_of_encoded_value (encoding); |
692 if (mask < sizeof (void *)) | 692 if (mask < sizeof (void *)) |
693 mask = (1L << (mask << 3)) - 1; | 693 mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1; |
694 else | 694 else |
695 mask = -1; | 695 mask = -1; |
696 | 696 |
697 if ((pc_begin & mask) == 0) | 697 if ((pc_begin & mask) == 0) |
698 continue; | 698 continue; |
810 In these cases, the function address will be NULL, but if | 810 In these cases, the function address will be NULL, but if |
811 the encoding is smaller than a pointer a true NULL may not | 811 the encoding is smaller than a pointer a true NULL may not |
812 be representable. Assume 0 in the representable bits is NULL. */ | 812 be representable. Assume 0 in the representable bits is NULL. */ |
813 mask = size_of_encoded_value (encoding); | 813 mask = size_of_encoded_value (encoding); |
814 if (mask < sizeof (void *)) | 814 if (mask < sizeof (void *)) |
815 mask = (1L << (mask << 3)) - 1; | 815 mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1; |
816 else | 816 else |
817 mask = -1; | 817 mask = -1; |
818 | 818 |
819 if ((pc_begin & mask) == 0) | 819 if ((pc_begin & mask) == 0) |
820 continue; | 820 continue; |