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

--- Comment #4 from Alexander Nikulin <anikulin at dlink dot ru> ---
(In reply to Alexander Monakov from comment #3)
> The alias attribute usually works fine with declarations of static variables.
> 
> So, have you tried
> 
> static struct memtype MTYPE_##name[1] __attribute__((alias("_mt_" #name)));
> 
> (i.e. with 'static' rather that 'extern')?

I was sure I did! And this reported smth like 'already defined' or similar.

Different combinations of attributes were tried and likely I lost this obvious
one.

Thanks a lot, it works.

So the decision is found.

If the .equiv behaviour is not buggy really, I guess the case may be closed.
Should I change its status myself or wait for an admin's verdict?


Thanks again.

Reply via email to