https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66444
--- Comment #5 from vries at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > The testcase has been reduced from much larger testcase, the content of the > fn1 function matters only for the IPA-RA analysis, so can be changed to > something else, and the other functions supposedly can be defined in a > dg-additional-sources file. Though, the hardcoding of the constant in the > pointer arithmetics makes it more difficult (the testcase would have to > simulate there is something mapped at that address (or mmap there something > - the constant can be changed to something more suitable). I managed to write the testcase in such a way that it doesn't dereference the hardcoded pointer.