Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Chapter 1: Programming Languages Supported by GCC 3
1 Programming Languages Supported by GCC
Chapter 2: Language Standards Supported by GCC 5
2 Language Standards Supported by GCC
2.1 C language
2.2 C++ language
2.3 Objective-C and Objective-C++ languages
3 GCC Command Options
3.1 Option Summary
3.2 Options Controlling the Kind of Output
3.3 Compiling C++ Programs
3.4 Options Controlling C Dialect
3.5 Options Controlling C++ Dialect
3.8 Options to Request or Suppress Warnings
3.9 Options for Debugging Your Program or GCC
3.10 Options That Control Optimization
3.11 Options Controlling the Preprocessor
3.12 Passing Options to the Assembler
3.13 Options for Linking
3.14 Options for Directory Search
3.15 Specifying subprocesses and the switches to pass to them
3.16 Specifying Target Machine and Compiler Version
3.17 Hardware Models and Confgurations
3.17.1 ARC Options
3.17.2 ARM Options
3.17.3 AVR Options
3.17.4 Blackfn Options
3.17.5 CRIS Options
3.17.6 CRX Options
3.17.7 Darwin Options
3.17.8 DEC Alpha Options
3.17.9 DEC Alpha/VMS Options
3.17.10 FR30 Options
3.17.11 FRV Options
3.17.12 GNU/Linux Options
3.17.13 H8/300 Options
3.17.14 HPPA Options
3.17.15 Intel 386 and AMD x86-64 Options
3.17.16 IA-64 Options
3.17.17 IA-64/VMS Options
3.17.18 LM32 Options
3.17.19 M32C Options
3.17.20 M32R/D Options
3.17.21 M680x0 Options
3.17.22 M68hc1x Options
3.17.23 MCore Options
3.17.24 MeP Options
3.17.25 MIPS Options
3.17.26 MMIX Options
3.17.27 MN10300 Options
3.17.28 PDP-11 Options
3.17.29 picoChip Options
3.17.30 PowerPC Options
3.17.31 IBM RS/6000 and PowerPC Options
3.17.32 RX Options
3.17.33 S/390 and zSeries Options
3.17.34 Score Options
3.17.35 SH Options
3.17.36 SPARC Options
3.17.37 SPU Options
3.17.38 Options for System V
3.17.39 V850 Options
3.17.40 VAX Options
3.17.41 VxWorks Options
3.17.42 x86-64 Options
3.17.43 i386 and x86-64 Windows Options
3.17.44 Xstormy16 Options
3.17.45 Xtensa Options
3.17.46 zSeries Options
3.18 Options for Code Generation Conventions
3.19 Environment Variables Afecting GCC
3.20 Using Precompiled Headers
4 C Implementation-defned behavior
4.1 Translation
4.2 Environment
4.3 Identifers
4.4 Characters
4.5 Integers
4.6 Floating point
4.7 Arrays and pointers
4.8 Hints
4.10 Qualifers
4.11 Declarators
4.12 Statements
4.13 Preprocessing directives
4.14 Library functions
4.15 Architecture
4.16 Locale-specifc behavior
5 C++ Implementation-defned behavior
5.1 Conditionally-supported behavior
6 Extensions to the C Language Family
6.1 Statements and Declarations in Expressions
6.2 Locally Declared Labels
6.3 Labels as Values
6.4 Nested Functions
6.5 Constructing Function Calls
6.6 Referring to a Type with typeof
6.7 Conditionals with Omitted Operands
6.8 Double-Word Integers
6.9 Complex Numbers
6.10 Additional Floating Types
6.11 Half-Precision Floating Point
6.12 Decimal Floating Types
6.13 Hex Floats
6.14 Fixed-Point Types
6.15 Named address spaces
6.16 Arrays of Length Zero
6.17 Structures With No Members
6.18 Arrays of Variable Length
6.19 Macros with a Variable Number of Arguments
6.20 Slightly Looser Rules for Escaped Newlines
6.21 Non-Lvalue Arrays May Have Subscripts
6.22 Arithmetic on void- and Function-Pointers
6.23 Non-Constant Initializers
6.24 Compound Literals
6.25 Designated Initializers
6.26 Case Ranges
6.27 Cast to a Union Type
Chapter 6: Extensions to the C Language Family 297
6.28 Mixed Declarations and Code
6.29 Declaring Attributes of Functions
6.30 Attribute Syntax
6.31 Prototypes and Old-Style Function Defnitions
6.32 C++ Style Comments
6.33 Dollar Signs in Identifer Names
6.34 The Character ESC in Constants
6.35 Inquiring on Alignment of Types or Variables
6.36 Specifying Attributes of Variables
6.36.1 Blackfn Variable Attributes
6.36.2 M32R/D Variable Attributes
6.36.3 MeP Variable Attributes
6.36.4 i386 Variable Attributes
6.36.5 PowerPC Variable Attributes
6.36.6 SPU Variable Attributes
6.36.7 Xstormy16 Variable Attributes
6.36.8 AVR Variable Attributes
6.37 Specifying Attributes of Types
6.37.1 ARM Type Attributes
6.37.2 MeP Type Attributes
6.37.3 i386 Type Attributes
6.37.4 PowerPC Type Attributes
6.37.5 SPU Type Attributes
6.38 An Inline Function is As Fast As a Macro
6.39 Assembler Instructions with C Expression Operands
6.39.1 Size of an asm
6.39.2 i386 foating point asm operands
6.40 Constraints for asm Operands
6.40.1 Simple Constraints
6.40.2 Multiple Alternative Constraints
6.40.3 Constraint Modifer Characters
Here are constraint modifer characters
6.40.4 Constraints for Particular Machines
6.41 Controlling Names Used in Assembler Code
6.42 Variables in Specifed Registers
6.42.1 Defning Global Register Variables
6.42.2 Specifying Registers for Local Variables
6.43 Alternate Keywords
6.44 Incomplete enum Types
6.45 Function Names as Strings
6.46 Getting the Return or Frame Address of a Function
6.47 Using vector instructions through built-in functions
6.48 Ofsetof
6.49 Built-in functions for atomic memory access
6.50 Object Size Checking Builtins
6.51 Other built-in functions provided by GCC
6.52 Built-in Functions Specifc to Particular Target Machines
6.52.1 Alpha Built-in Functions
6.52.2 ARM iWMMXt Built-in Functions
6.52.3 ARM NEON Intrinsics Addition Multiplication Multiply-accumulate Multiply-subtract Subtraction Comparison (equal-to) Comparison (greater-than-or-equal-to) Comparison (less-than-or-equal-to) Comparison (greater-than) Comparison (less-than) Comparison (absolute greater-than-or-equal-to) Comparison (absolute less-than-or-equal-to) Comparison (absolute greater-than) Comparison (absolute less-than) Test bits Absolute diference Absolute diference and accumulate Maximum Minimum Pairwise add Folding maximum Folding minimum Reciprocal step Vector shift left Vector shift left by constant Vector shift right by constant Vector shift right by constant and accumulate Vector shift right and insert Vector shift left and insert Absolute value Negation Bitwise not Count leading sign bits Count leading zeros Count number of set bits Reciprocal estimate Reciprocal square-root estimate Get lanes from a vector Set lanes in a vector Create vector from literal bit pattern Set all lanes to the same value Combining vectors Splitting vectors Conversions Move, single opcode narrowing Move, single opcode long Table lookup Extended table lookup Multiply, lane Long multiply, lane Saturating doubling long multiply, lane Saturating doubling multiply high, lane Multiply-accumulate, lane Multiply-subtract, lane Vector multiply by scalar Vector long multiply by scalar Vector multiply-accumulate by scalar Vector multiply-subtract by scalar Vector extract Reverse elements Bit selection Transpose elements Zip elements Unzip elements Element/structure loads, VLD1 variants Element/structure stores, VST1 variants Element/structure loads, VLD2 variants Element/structure stores, VST2 variants Element/structure loads, VLD3 variants Element/structure stores, VST3 variants Element/structure loads, VLD4 variants Element/structure stores, VST4 variants Logical operations (AND) Logical operations (OR) Logical operations (exclusive OR) Logical operations (AND-NOT) Logical operations (OR-NOT) Reinterpret casts
6.52.6 X86 Built-in Functions
6.52.7 MIPS DSP Built-in Functions
6.52.8 MIPS Paired-Single Support
6.52.9 MIPS Loongson Built-in Functions Paired-Single Arithmetic Paired-Single Built-in Functions MIPS-3D Built-in Functions
6.52.10 picoChip Built-in Functions
6.52.11 Other MIPS Built-in Functions
6.52.12 PowerPC AltiVec Built-in Functions
6.52.13 RX Built-in Functions
6.52.14 SPARC VIS Built-in Functions
6.52.15 SPU Built-in Functions
6.53 Format Checks Specifc to Particular Target Machines
6.53.1 Solaris Format Checks
6.54 Pragmas Accepted by GCC
6.54.1 ARM Pragmas
6.54.2 M32C Pragmas
6.54.3 MeP Pragmas
6.54.4 RS/6000 and PowerPC Pragmas
6.54.5 Darwin Pragmas
6.54.6 Solaris Pragmas
6.54.7 Symbol-Renaming Pragmas
6.54.8 Structure-Packing Pragmas
6.54.9 Weak Pragmas
6.54.10 Diagnostic Pragmas
6.54.11 Visibility Pragmas
6.54.12 Push/Pop Macro Pragmas
6.54.13 Function Specifc Option Pragmas
6.55 Unnamed struct/union felds within structs/unions
6.56 Thread-Local Storage
6.56.1 ISO/IEC 9899:1999 Edits for Thread-Local Storage
6.56.2 ISO/IEC 14882:1998 Edits for Thread-Local Storage
6.57 Binary constants using the ‘0b’ prefx
Chapter 7: Extensions to the C++ Language 559
7 Extensions to the C++ Language
7.1 When is a Volatile Object Accessed?
7.2 Restricting Pointer Aliasing
7.3 Vague Linkage
7.4 #pragma interface and implementation
7.5 Where’s the Template?
7.7 C++-Specifc Variable, Function, and Type Attributes
7.8 Namespace Association
7.9 Type Traits
7.10 Java Exceptions
7.11 Deprecated Features
7.12 Backwards Compatibility
8 GNU Objective-C runtime features
8.1 +load: Executing code before main
8.1.1 What you can and what you cannot do in +load
8.2 Type encoding
8.3 Garbage Collection
8.4 Constant string objects
8.5 compatibility alias
9 Binary Compatibility
10 gcov—a Test Coverage Program
10.1 Introduction to gcov
10.2 Invoking gcov
10.3 Using gcov with GCC Optimization
10.4 Brief description of gcov data fles
10.5 Data fle relocation to support cross-profling
11 Known Causes of Trouble with GCC
11.1 Actual Bugs We Haven’t Fixed Yet
11.2 Cross-Compiler Problems
11.3 Interoperation
11.4 Incompatibilities of GCC
11.5 Fixed Header Files
11.6 Standard Libraries
11.7 Disappointments and Misunderstandings
11.8 Common Misunderstandings with GNU C++
11.8.1 Declare and Defne Static Members
11.8.3 Temporaries May Vanish Before You Expect
11.8.4 Implicit Copy-Assignment for Virtual Bases
11.9 Certain Changes We Don’t Want to Make
11.10 Warning Messages and Error Messages
12 Reporting Bugs
12.1 Have You Found a Bug?
12.2 How and where to Report Bugs
13 How To Get Help with GCC
14 Contributing to GCC Development
Funding Free Software
The GNU Project and GNU/Linux
GNU General Public License
GNU Free Documentation License
ADDENDUM: How to use this License for your documents
Contributors to GCC
Option Index
Keyword Index
0 of .
Results for:
No results containing your search query
P. 1
Using the GNU Compiler Collection

Using the GNU Compiler Collection

|Views: 23|Likes:
Published by ekocustodio

More info:

Published by: ekocustodio on Sep 10, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 14 to 45 are not shown in this preview.
You're Reading a Free Preview
Pages 59 to 83 are not shown in this preview.
You're Reading a Free Preview
Pages 97 to 487 are not shown in this preview.
You're Reading a Free Preview
Pages 501 to 540 are not shown in this preview.
You're Reading a Free Preview
Pages 554 to 692 are not shown in this preview.

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
drober liked this
99books liked this
balsamicbalm liked this
mainstreet liked this
mmabon liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->