[Bug c++/85444] asm specifier on typedef silently ignored

whh8b at virginia dot edu gcc-bugzilla@gcc.gnu.org
Thu Apr 19 00:37:00 GMT 2018


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

--- Comment #7 from Will Hawkins <whh8b at virginia dot edu> ---
(In reply to Jonathan Wakely from comment #6)
> (In reply to Richard Biener from comment #3)
> > Btw, it could maybe used to adjust mangling... (in C++, that is).
> 
> I wish GCC supported doing that for classes (and typedefs that define a name
> for linkage purposes) but I'm pretty sure it doesn't at present.

I'm interested in what that would even look like. Under what circumstances are
typedefs used to define a name for linkage purposes? I understand a class since
they declare/define a thing two which I can refer. 

I don't mean to sound dumb. You certainly don't need to explain it if you can
point to something I can read. 

Thanks for helping me learn something new!


More information about the Gcc-bugs mailing list