This is the mail archive of the
mailing list for the GCC project.
Re: organization of C Extensions in manual
- From: Jeff Law <law at redhat dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>, David Wohlferd <dw at LimeGreenSocks dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "joel dot sherrill at oarcorp dot com >> Joel Sherrill" <joel dot sherrill at oarcorp dot com>, "gary at intrepid dot com >> Gary Funck" <gary at intrepid dot com>, Gerald Pfeifer <gerald at pfeifer dot com>, "joseph at codesourcery dot com >> Joseph Myers" <joseph at codesourcery dot com>
- Date: Thu, 22 Jan 2015 11:02:39 -0700
- Subject: Re: organization of C Extensions in manual
- Authentication-results: sourceware.org; auth=none
- References: <54BAF3EE dot 70308 at LimeGreenSocks dot com> <54BBE38F dot 6030007 at codesourcery dot com>
On 01/18/15 09:47, Sandra Loosemore wrote:
Arrays and Vectors
Designated Inits: Labeling elements of initializers.
I think this one might better be placed in a section on initializers.
With a pointer/reference in the Array/Vector section.
If there isn't a better place, then let's put it with arrays since the
ability to create these vectors and subscript them like arrays to get at
individual elements it at least related.
Pointers to Arrays: Pointers to arrays with qualifiers work as
Subscripting: Any array can be subscripted, even if not an lvalue.
Variable Length: Arrays whose length is computed at run time.
Vector Extensions: Using vector instructions through built-in
I'm not sure where this one belongs, but it doesn't seem to go with
array extensions. It's not really about builtins, either.
Given that inline isn't really an extension anymore, one could argue
this isn't relevant anymore.
Zero Length: Zero-length arrays.
Attribute Syntax: Formal syntax for attributes.
Function Attributes: Declaring that functions have no side effects,
or that they can never return.
Inline: Defining inline functions (as fast as macros).
Doesn't seem to belong here.
Type Attributes: Specifying attributes of types.
Variable Attributes: Specifying attributes of variables.
Volatiles: What constitutes an access to a volatile object.
Or this one.
We could have a whole section on volatile :-)
Variable Attributes might be a better place for the thread-local-storage