https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118216

--- Comment #6 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> The obvious workaround is just initialize symval to 0.

I actually wanted to initialize it to something like 0xdeadbeef to make it
clear the value shouldn't be used, but doing so will generate more instructions
to materialize the const because of the miss-optimization here.  So I just used
this workaround when I revised my patch.

Reply via email to