https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79609
Bug ID: 79609 Summary: C address space qualifiers not available under -fno-asm, even for system headers and __extension__ Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: roland at gnu dot org CC: rth at gcc dot gnu.org Target Milestone: --- It's impossible to use __seg_fs et al under -fno-asm, which is implied by e.g. -std=c11. It's ironic that it's still possible to use __asm or __asm__ under -fno-asm, but not another feature not called "asm" that also uses an __ prefix. IMHO __seg_fs et al should be allowed in a decl/expression that uses __extension__. That's what __extension__ is for. There could also be a system header exception, but those are awful and shouldn't be added for new syntax not already wrongly used in someone's system headers. Having header writers use __extension__ judiciously is much better.