Changeset 68a7028 for doc/theses/jiada_liang_MMath/CFAenum.tex
- Timestamp:
- Sep 15, 2024, 2:35:13 PM (5 weeks ago)
- Branches:
- master
- Children:
- 4fa7096
- Parents:
- 0c88135
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/CFAenum.tex
r0c88135 r68a7028 156 156 so these expressions remain unchanged by \CFA-cc. 157 157 Therefore, a \CFA enumeration variable has the same underlying representation as its generated C enumeration. 158 This semantics implies a \CFA enumeration variable uses the same storage s as a C enumeration variablethat @posn@ can use as its underlying representation, and the label and value arrays take little storage.158 This semantics implies a \CFA enumeration variable uses the same storage as a C enumeration variable, that @posn@ can use as its underlying representation, and the label and value arrays take little storage. 159 159 It should be possible to eliminated the two arrays if unused, either by \CFA if local to a translation unit and unused, or by the linker if global but unreferenced. 160 160 Also, the label and value arrays are declared @static@ and initialized with constants, so the arrays are allocated in the @.data@ section and initialized before program execution.
Note: See TracChangeset
for help on using the changeset viewer.