Re: [kvm-unit-tests PATCH v1] s390x: add a pgm irq handler and a way to expect them

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 30/05/2017 10:03, David Hildenbrand wrote:
>>> We need "-fno-delete-null-pointer-checks", otherwise trying to access the
>>> lowcore at address 0 makes GCC generate very weird code.
>> I wonder whether you could get rid of that by using a global variable
>> for lc instead?
> As far as I remember, I tried that and it didn't change a thing. Will do
> a quick test.
> 

-fno-delete-null-pointer-checks is the right thing to do, trying to hide
undefined behavior from the compiler leads to misery. :)

Paolo



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux