On 30.05.2017 10:03, David Hildenbrand wrote: > On 29.05.2017 18:35, Thomas Huth wrote: >> On 29.05.2017 14:17, David Hildenbrand wrote: >>> The pgm irq handler will detect unexpected pgm irqs and allows to >>> expect pgm irqs + verify that the pgm irq was triggered. >>> >>> 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. It works as long as that global variable is not static, because then GCC must assume that any other code could set it to !0. -- Thanks, David