This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using the asm suffix
- From: Andreas Schwab <schwab at suse dot de>
- To: David Wohlferd <dw at LimeGreenSocks dot com>
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>, "gcc\ at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Sandra Loosemore <sandra at codesourcery dot com>
- Date: Thu, 20 Aug 2015 09:11:55 +0200
- Subject: Re: Using the asm suffix
- Authentication-results: sourceware.org; auth=none
- References: <55D139F4 dot 7060109 at LimeGreenSocks dot com> <20150817104114 dot GB22219 at gate dot crashing dot org> <55D2BAD4 dot 7090905 at LimeGreenSocks dot com> <20150818092356 dot GA30482 at gate dot crashing dot org> <55D4F040 dot 30105 at LimeGreenSocks dot com> <20150819214759 dot GA20144 at gate dot crashing dot org> <55D56D66 dot 6060704 at LimeGreenSocks dot com>
David Wohlferd <dw@LimeGreenSocks.com> writes:
> "gcc does not support using this feature with a non-static local variable
> since typically such variables do not have assembler names."
The technical term is "linkage", btw. An identifier with no linkage has
no visible name in the assembler output.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."