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

Andrey Drobyshev <a.drobyshev at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45751|0                           |1
        is obsolete|                            |
  Attachment #45851|0                           |1
        is obsolete|                            |

--- Comment #27 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
Created attachment 46001
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46001&action=edit
Updated patch candidate

I've rewritten the previous patch. Now instead of constructing a decl suitable
for one or another section, I just get the right section in assemble_variable
() and emit a dummy global into that. I like this solution better, because it
delivers us from pain of setting the right decl attributes. It seems to work
for the test cases we've introduced so far in this thread.
Please review.

Reply via email to