https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > The way to fix uboot code is to change the ll_entry_start/ll_entry_end to: That is because you cannot take the difference between two distinct objects and have a well defined answer. Nor can increment one from one distinct object into another.