Displaying 5 results from an estimated 5 matches for "0_2".
Did you mean:
02
2011 Aug 10
0
[LLVMdev] Handling of pointer difference in llvm-gcc and clang
...ed overflow, i.e.,
> sub with nsw is a trap value.
>
> Is this a bug in llvm-gcc?
in llvm-gcc (and dragonegg) this is coming directly from GCC's gimple:
f (int * p, int * q)
{
long int D.2718;
long int D.2717;
long int p.1;
long int q.0;
int D.2714;
<bb 2>:
q.0_2 = (long int) q_1(D);
p.1_4 = (long int) p_3(D);
D.2717_5 = q.0_2 - p.1_4;
D.2718_6 = D.2717_5 /[ex] 4;
D.2714_7 = (int) D.2718_6;
return D.2714_7;
}
Signed overflow in the difference of two long int (ptrdiff_t) values results in
undefined behaviour according to the GCC type system,...
2011 Aug 10
3
[LLVMdev] Handling of pointer difference in llvm-gcc and clang
Hi,
We are developing a bounded model checker for C/C++ programs
(http://baldur.iti.kit.edu/llbmc/) that operates on LLVM's intermediate
representation. While checking a C++ program that uses STL containers
we noticed that llvm-gcc and clang handle pointer differences in
disagreeing ways.
Consider the following C function:
int f(int *p, int *q)
{
return q - p;
}
Here's the
2017 Dec 28
0
Can't see register value in crash vmcore
...-2.0.0-273.el6.x86_64
GDB: gdb-7.2-60.el6_4.1.x86_64
/etc/kdump.conf: core_collector makedumpfile -c --message-level 1 -d 31
Kernel crashed by panic("string"), but I can't see any register in vmcore:
crash> bt
PID: 53331 TASK: ffff880c523ed540 CPU: 2 COMMAND: "bw_sd-ar-7-0_2"
#0 [ffff880c4f12f978] machine_kexec at ffffffff81038ed9
#1 [ffff880c4f12f9d8] crash_kexec at ffffffff810c5a82
#2 [ffff880c4f12faa8] panic at ffffffff815113b2
#3 [ffff880c4f12fb28] sd_submit_bio at ffffffffa0747a02 [sd]
#4 [ffff880c4f12fb68] submit_clone_bio at ffffffffa0747d2b [sd]
#5 [...
2006 Sep 05
2
[LLVMdev] gfortran: array constructor problems
.... (this part is actually
generated at build time as selected_int_kind.inc)
type :: int_info
integer :: kind
integer :: range
end type int_info
integer, parameter :: c = 4
type (int_info), parameter :: int_infos(c) = (/ &
int_info (1, range(0_1)), &
int_info (2, range(0_2)), &
int_info (4, range(0_4)), &
int_info (8, range(0_8)) /)
This is trying to declare a constant array of int_info structures.
range() is an intrinsic function that returns the expoent range of the
argument's type kind. I haven't quite been able to figure out where
that ge...
2012 Oct 08
2
time keeps on slipping... slipping...
...0: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C)
da1 at hpt27xx0 bus 0 scbus8 target 1 lun 0
da1: <HPT DISK 0_1 4.00> Fixed Direct Access SCSI-0 device
da1: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C)
da2 at hpt27xx0 bus 0 scbus8 target 2 lun 0
da2: <HPT DISK 0_2 4.00> Fixed Direct Access SCSI-0 device
da2: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C)
da3 at hpt27xx0 bus 0 scbus8 target 3 lun 0
da3: <HPT DISK 0_3 4.00> Fixed Direct Access SCSI-0 device
da3: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C)
da4 at hpt27xx0...