[Bug rtl-optimization/66444] [5/6 Regression] Miscompilation of Xen since r211078

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 8 08:34:00 GMT 2015


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.



More information about the Gcc-bugs mailing list