Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3350 Datasheet(PDF) 164 Page - STMicroelectronics

Part # AN3350
Description  eTPU compiler tools
PDF  185 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3350 Datasheet(HTML) 164 Page - STMicroelectronics

Back Button AN3350 Datasheet HTML 160Page - STMicroelectronics AN3350 Datasheet HTML 161Page - STMicroelectronics AN3350 Datasheet HTML 162Page - STMicroelectronics AN3350 Datasheet HTML 163Page - STMicroelectronics AN3350 Datasheet HTML 164Page - STMicroelectronics AN3350 Datasheet HTML 165Page - STMicroelectronics AN3350 Datasheet HTML 166Page - STMicroelectronics AN3350 Datasheet HTML 167Page - STMicroelectronics AN3350 Datasheet HTML 168Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 164 / 185 page
background image
Pragmas for code generation
AN3350
164/185
Doc ID 018512 Rev 2
21
Pragmas for code generation
21.1
aggressive_inline
Specifies the size of enumerated types.
Syntax
#pragma aggressive_inline on | off | reset
Remarks
The IPA-based inliner (-ipa file) will inline more functions when this option
is enabled. This option can cause code bloat in programs that overuse inline
functions. Default is off.
21.2
dont_reuse_strings
Controls whether or not to store identical character string literals separately in object code.
Syntax
#pragma dont_reuse_strings on | off | reset
Remarks
Normally, C and C++ programs should not modify character string literals. Enable this
pragma if your source code follows the unconventional practice of modifying them.
If you enable this pragma, the compiler separately stores identical occurrences of character
string literals in a source file.
If this pragma is disabled, the compiler stores a single instance of identical string literals in a
source file. The compiler reduces the size of the object code it generates for a file if the
source file has identical string literals.
The compiler always stores a separate instance of a string literal that is used to initialize a
character array. Example 115 shows an example.
Although the source code contains 3 identical string literals, "cat", the compiler will
generate 2 instances of the string in object code. The compiler will initialize str1 and str2
to point to the first instance of the string and will initialize str3 to contain the second
instance of the string.
Using str2 to modify the string it points to also modifies the string that str1 points to. The
array str3 may be safely used to modify the string it points to without inadvertently
changing any other strings.
By default, this pragma is off.
Example 115 Reusing string literals
#pragma dont_reuse_strings off
void strchange(void)
{



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com