https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563
--- Comment #30 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- Created attachment 35829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35829&action=edit possible patch for 4.9 The patch adds a counter to unspec vector of (unspec [...] UNSPEC_PIC) pattern to avoid that memoization when these unspecs are used for TLS.