Navigation
index
next
|
gcc 6 documentation
»
Table Of Contents
Welcome to gcc’s documentation!
Indices and tables
Next topic
Introduction
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Welcome to gcc’s documentation!
¶
Contents:
Introduction
Programming Languages Supported by GCC
Language Standards Supported by GCC
C Language
C++ Language
Objective-C and Objective-C++ Languages
Go Language
References for Other Languages
GCC Command Options
Option Summary
Options Controlling the Kind of Output
Compiling C++ Programs
Options Controlling C Dialect
Options Controlling C++ Dialect
Options Controlling Objective-C and Objective-C++ Dialects
Options to Control Diagnostic Messages Formatting
Options to Request or Suppress Warnings
Options for Debugging Your Program or GCC
Options That Control Optimization
Options Controlling the Preprocessor
Passing Options to the Assembler
Options for Linking
Options for Directory Search
Specifying Subprocesses and the Switches to Pass to Them
Specifying Target Machine and Compiler Version
Hardware Models and Configurations
AArch64 Options
Adapteva Epiphany Options
ARC Options
ARM Options
AVR Options
AVR Built-in Macros
Blackfin Options
C6X Options
CRIS Options
CR16 Options
Darwin Options
DEC Alpha Options
FR30 Options
FRV Options
GNU/Linux Options
H8/300 Options
HPPA Options
IA-64 Options
LM32 Options
M32C Options
M32R/D Options
M680x0 Options
MCore Options
MeP Options
MicroBlaze Options
MIPS Options
MMIX Options
MN10300 Options
Moxie Options
MSP430 Options
NDS32 Options
Nios II Options
Nvidia PTX Options
PDP-11 Options
picoChip Options
PowerPC Options
RL78 Options
IBM RS/6000 and PowerPC Options
RX Options
S/390 and zSeries Options
Score Options
SH Options
Solaris 2 Options
SPARC Options
SPU Options
Options for System V
TILE-Gx Options
TILEPro Options
V850 Options
VAX Options
Visium Options
VMS Options
VxWorks Options
x86 Options
x86 Windows Options
Xstormy16 Options
Xtensa Options
zSeries Options
Options for Code Generation Conventions
Environment Variables Affecting GCC
Using Precompiled Headers
C Implementation-Defined Behavior
Translation
Environment
Identifiers
Characters
Integers
Floating Point
Arrays and Pointers
Hints
Structures, Unions, Enumerations, and Bit-Fields
Qualifiers
Declarators
Statements
Preprocessing Directives
Library Functions
Architecture
Locale-Specific Behavior
C++ Implementation-Defined Behavior
Conditionally-Supported Behavior
Exception Handling
Extensions to the C Language Family
Statements and Declarations in Expressions
Locally Declared Labels
Labels as Values
Nested Functions
Constructing Function Calls
Conditionals with Omitted Operands
128-bit Integers
Double-Word Integers
Complex Numbers
Additional Floating Types
Half-Precision Floating Point
Decimal Floating Types
Hex Floats
Fixed-Point Types
Named Address Spaces
AVR Named Address Spaces
M32C Named Address Spaces
RL78 Named Address Spaces
SPU Named Address Spaces
Arrays of Length Zero
Structures with No Members
Arrays of Variable Length
Macros with a Variable Number of Arguments.
Slightly Looser Rules for Escaped Newlines
Non-Lvalue Arrays May Have Subscripts
Pointers to Arrays with Qualifiers Work as Expected
Non-Constant Initializers
Compound Literals
Designated Initializers
Case Ranges
Cast to a Union Type
Mixed Declarations and Code
Declaring Attributes of Functions
Common Function Attributes
ARC Function Attributes
ARM Function Attributes
AVR Function Attributes
Blackfin Function Attributes
CR16 Function Attributes
Epiphany Function Attributes
H8/300 Function Attributes
IA-64 Function Attributes
M32C Function Attributes
M32R/D Function Attributes
m68k Function Attributes
MCORE Function Attributes
MeP Function Attributes
MicroBlaze Function Attributes
Microsoft Windows Function Attributes
MIPS Function Attributes
MSP430 Function Attributes
NDS32 Function Attributes
Nios II Function Attributes
PowerPC Function Attributes
RL78 Function Attributes
RX Function Attributes
S/390 Function Attributes
SH Function Attributes
SPU Function Attributes
Symbian OS Function Attributes
Visium Function Attributes
x86 Function Attributes
Xstormy16 Function Attributes
Specifying Attributes of Variables
Common Variable Attributes
AVR Variable Attributes
Blackfin Variable Attributes
H8/300 Variable Attributes
IA-64 Variable Attributes
M32R/D Variable Attributes
MeP Variable Attributes
Microsoft Windows Variable Attributes
PowerPC Variable Attributes
SPU Variable Attributes
x86 Variable Attributes
Xstormy16 Variable Attributes
Specifying Attributes of Types
Common Type Attributes
ARM Type Attributes
MeP Type Attributes
PowerPC Type Attributes
SPU Type Attributes
x86 Type Attributes
Label Attributes
Attribute Syntax
Label Attributes
Type Attributes
All other attributes
Prototypes and Old-Style Function Definitions
C++ Style Comments
Dollar Signs in Identifier Names
Inquiring on Alignment of Types or Variables
An Inline Function is As Fast As a Macro
When is a Volatile Object Accessed?
How to Use Inline Assembly Language in C Code
Basic Asm Assembler Instructions Without Operands
Qualifiers
Parameters
Remarks
Extended Asm - Assembler Instructions with C Expression Operands
Qualifiers
Parameters
Remarks
Volatile
Assembler Template
Special format strings
Output Operands
Input Operands
Clobbers
Goto Labels
x86 Operand Modifiers
Simple Constraints
Multiple Alternative Constraints
Constraint Modifier Characters
Constraints for Particular Machines
Controlling Names Used in Assembler Code
Variables in Specified Registers
Defining Global Register Variables
Specifying Registers for Local Variables
Alternate Keywords
Function Names as Strings
Getting the Return or Frame Address of a Function
Using Vector Instructions through Built-in Functions
Built-in Functions for Memory Model Aware Atomic Operations
Built-in Functions to Perform Arithmetic with Overflow Checking
x86-Specific Memory Model Extensions for Transactional Memory
Object Size Checking Built-in Functions
Pointer Bounds Checker Built-in Functions
Cilk Plus C/C++ Language Extension Built-in Functions
Other Built-in Functions Provided by GCC
Built-in Functions Specific to Particular Target Machines
AArch64 Built-in Functions
Alpha Built-in Functions
Altera Nios II Built-in Functions
ARC Built-in Functions
ARC SIMD Built-in Functions
ARM iWMMXt Built-in Functions
ARM C Language Extensions (ACLE)
ARM Floating Point Status and Control Intrinsics
AVR Built-in Functions
Blackfin Built-in Functions
FR-V Built-in Functions
Argument Types
Directly-Mapped Integer Functions
Directly-Mapped Media Functions
Raw Read/Write Functions
Other Built-in Functions
MIPS DSP Built-in Functions
MIPS Paired-Single Support
MIPS Loongson Built-in Functions
Paired-Single Arithmetic
Paired-Single Built-in Functions
MIPS-3D Built-in Functions
Other MIPS Built-in Functions
MSP430 Built-in Functions
NDS32 Built-in Functions
picoChip Built-in Functions
PowerPC Built-in Functions
PowerPC AltiVec Built-in Functions
PowerPC Hardware Transactional Memory Built-in Functions
PowerPC HTM Low Level Built-in Functions
PowerPC HTM High Level Inline Functions
RX Built-in Functions
S/390 System z Built-in Functions
SH Built-in Functions
SPARC VIS Built-in Functions
SPU Built-in Functions
TI C6X Built-in Functions
TILE-Gx Built-in Functions
TILEPro Built-in Functions
x86 Built-in Functions
x86 Transactional Memory Intrinsics
Format Checks Specific to Particular Target Machines
Solaris Format Checks
Darwin Format Checks
Pragmas Accepted by GCC
ARM Pragmas
M32C Pragmas
MeP Pragmas
RS/6000 and PowerPC Pragmas
Darwin Pragmas
Solaris Pragmas
Symbol-Renaming Pragmas
Structure-Packing Pragmas
Weak Pragmas
Diagnostic Pragmas
Visibility Pragmas
Push/Pop Macro Pragmas
Function Specific Option Pragmas
Loop-Specific Pragmas
Unnamed Structure and Union Fields
Thread-Local Storage
ISO/IEC 9899:1999 Edits for Thread-Local Storage
ISO/IEC 14882:1998 Edits for Thread-Local Storage
Extensions to the C++ Language
When is a Volatile C++ Object Accessed?
Restricting Pointer Aliasing
Vague Linkage
C++ Interface and Implementation Pragmas
Wheres the Template?
Extracting the Function Pointer from a Bound Pointer to Member Function
C++-Specific Variable, Function, and Type Attributes
Function Multiversioning
Namespace Association
Type Traits
Java Exceptions
Deprecated Features
Backwards Compatibility
GNU Objective-C Features
GNU Objective-C Runtime API
Modern GNU Objective-C Runtime API
Traditional GNU Objective-C Runtime API
Type Encoding
Legacy Type Encoding
Method Signatures
Garbage Collection
Constant String Objects
Exceptions
Synchronization
Fast Enumeration
Using Fast Enumeration
C99-Like Fast Enumeration Syntax
Fast Enumeration Details
Fast Enumeration Protocol
Messaging with the GNU Objective-C Runtime
Dynamically Registering Methods
Forwarding Hook
Binary Compatibility
Data File Relocation to Support Cross-Profiling
Known Causes of Trouble with GCC
Actual Bugs We Havent Fixed Yet
Interoperation
Incompatibilities of GCC
Fixed Header Files
Standard Libraries
Disappointments and Misunderstandings
Common Misunderstandings with GNU C++
Name Lookup, Templates, and Accessing Members of Base Classes
Temporaries May Vanish Before You Expect
Implicit Copy-Assignment for Virtual Bases
Certain Changes We Dont Want to Make
Warning Messages and Error Messages
Reporting Bugs
Have You Found a Bug?
How and Where to Report Bugs
How To Get Help with GCC
Contributing to GCC Development
Funding Free Software
The GNU Project and GNU/Linux
GNU General Public License
Indices and tables
¶
Index
Module Index
Search Page
Navigation
index
next
|
gcc 6 documentation
»