JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2: C User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction to the C Compiler

2.  C-Compiler Implementation-Specific Information

3.  Parallelizing C Code

4.  lint Source Code Checker

5.  Type-Based Alias Analysis

6.  Transitioning to ISO C

7.  Converting Applications for a 64-Bit Environment

8.  cscope: Interactively Examining a C Program

A.  Compiler Options Grouped by Functionality

B.  C Compiler Options Reference

C.  Implementation-Defined ISO/IEC C99 Behavior

D.  Supported Features of C99

E.  Implementation-Defined ISO/IEC C90 Behavior

F.  ISO C Data Representations

G.  Performance Tuning

H.  The Differences Between K&R Solaris Studio C and Solaris Studio ISO C

Index

Numbers and Symbols

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

P

-P, B.2.55 -P
-p, 4.3.30 -p
padding of structures, E.1.9.2 (6.5.2.1) The padding and alignment of members of structures.
page size, setting for stack or heap, B.2.125 -xpagesize=n
PARALLEL, 3.3.1 PARALLEL or OMP_NUM_THREADS
environment variable, 2.15.5 PARALLEL
parallelization
Parallelizing C Code
3.8.3.2 Parallel Pragma
See also OpenMP
checking for properly parallelized loops with -xvpara, B.2.159 -xvpara
creating a program database with -Zll, B.2.165 -Zll
environment variables for
3.3 Environment Variables
3.3.4 STACKSIZE
finding parallelized loops with -xloopinfo, B.2.108 -xloopinfo
specifying OpenMP pragmas with -xopenmp, B.2.123 -xopenmp[=i]
turning on reduction recognition with -xreduction, B.2.139 -xreduction
turning on with -xautopar for multiple processors, B.2.75 -xautopar
pass, name and version of each, B.2.64 -V
PEC: Portable Executable Code, B.2.130 -xpec[={yes|no}]
Pentium, B.2.149.2 -xtarget Values on x86 Platforms
performance
optimizing for SPARC, Performance Tuning
optimizing with -fast, B.2.17 -fast
optimizing with-xO, B.2.122 -xO[1|2|3|4|5]
portability, of code
4.6.1.2 Portability Checks
4.6.1.2 Portability Checks
portability checks performed by lint
4.6.1.2 Portability Checks
4.6.1.2 Portability Checks
POSIX threads, B.2.50 -mt[={yes|no}]
postopt (C compiler), 1.8 Organization of the Compiler
_Pragma, D.1.17 _Pragma
pragmas
2.11 Pragmas
5.2 Using Pragmas for Finer Control
#pragma alias, 5.2.1.1 #pragma alias (type, type [, type]…)
#pragma alias_level, 5.2.1 #pragma alias_level level (list)
#pragma align, 2.11.1 align
#pragma c99, 2.11.2 c99
#pragma does_not_read_global_data, 2.11.3 does_not_read_global_data
#pragma does_not_return, 2.11.4 does_not_return
#pragma does_not_write_global_data, 2.11.5 does_not_write_global_data
#pragma error_messages, 2.11.6 error_messages
#pragma fini, 2.11.7 fini
#pragma hdrstop, 2.11.8 hdrstop
#pragma ident, 2.11.9 ident
#pragma init, 2.11.10 init
#pragma inline, 2.11.11 inline
#pragma int_to_unsigned, 2.11.12 int_to_unsigned
#pragma may_not_point_to, 5.2.1.6 #pragma may_not_point_to (pointer, variable [, variable]…)
#pragma may_point_to, 5.2.1.3 #pragma may_point_to (pointer, variable [, variable]…)
#pragma MP serial_loop
2.11.13 MP serial_loop
3.8.3.1 Serial Pragmas
#pragma MP serial_loop_nested
2.11.14 MP serial_loop_nested
3.8.3.1 Serial Pragmas
#pragma MP taskloop
2.11.15 MP taskloop
3.8.3.2 Parallel Pragma
#pragma no_inline, 2.11.11 inline
#pragma no_side_effect
2.11.17 no_side_effect
2.11.18 opt
#pragma noalias
5.2.1.4 #pragma noalias (type, type [, type]…)
5.2.1.5 #pragma noalias (pointer, pointer [, pointer]…)
#pragma nomemorydepend, 2.11.16 nomemorydepend
#pragma opt, 2.11.18 opt
#pragma pack, 2.11.19 pack
#pragma pipeloop, 2.11.20 pipeloop
#pragma rarely_called, 2.11.21 rarely_called
#pragma redefine_extname, 2.11.22 redefine_extname
#pragma returns_new_memory, 2.11.23 returns_new_memory
#pragma unknown_control_flow, 2.11.24 unknown_control_flow
#pragma unroll, 2.11.25 unroll
#pragma warn_missing_parameter_info, 2.11.26 warn_missing_parameter_info
#pragma weak, 2.11.27 weak
preassertions for -Aname, B.2.3 -Aname[(tokens)]
precompiled-header file, B.2.128 -xpch=v
prefetch, B.2.133 -xprefetch[=val[,val]]
preprocessing
6.5 Tokenization and Preprocessing
6.5.6 Token Pasting
directives
2.12 Predefined Names
2.16 How to Specify Include Files
2.16 How to Specify Include Files
B.2.7 -Dname[(arg[,arg])][=expansion]
E.1.13 Preprocessing Directives (G.3.13)
how to preserve comments, B.2.5 -C
predefined names
2.12 Predefined Names
2.12 Predefined Names
stringizing, 6.5.5 Using Strings
token pasting, 6.5.6 Token Pasting
preserving signedness of chars, B.2.82 -xchar[=o]
printf function, C.1.12 Library Functions (J.3.12)
printing
2.6.1 Printing long long Data Types
E.1.15.4 (5.2.2) The direction of printing:
profiling, -xprofile, B.2.136 –xprofile=p
programming tools for C, 1.9 C-Related Programming Tools
promotion
6.4 Promotions: Unsigned Versus Value Preserving
6.4.7 Third Example: Integral Constants
bit-fields, 6.4.4 Bit-fields
default arguments, 6.2.3 Mixing Considerations
integral constants, 6.4.6 Integral Constants
value preserving, 6.4.1 Background