This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: not computable at load time
On Mai 28 2018, Richard Biener <richard.guenther@gmail.com> wrote:
> It means there's no relocation that can express the result of 's.f - &s.b'
> and the frontend doesn't consider this a constant expression (likely because
> of the conversion).
Shouldn't the frontend notice that s.f - &s.b by itself is a constant?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."