| 1 |
2026-06-12 Release Manager |
| 2 |
|
| 3 |
* GCC 15.3.0 released. |
| 4 |
|
| 5 |
2025-08-08 Release Manager |
| 6 |
|
| 7 |
* GCC 15.2.0 released. |
| 8 |
|
| 9 |
2025-07-26 Gaius Mulley <[email protected]> |
| 10 |
|
| 11 |
Backported from master: |
| 12 |
2025-07-23 Gaius Mulley <[email protected]> |
| 13 |
|
| 14 |
* gm2-libs/M2EXCEPTION.mod (M2Exception): Add return |
| 15 |
exException in case Raise completes. |
| 16 |
|
| 17 |
2025-07-26 Gaius Mulley <[email protected]> |
| 18 |
|
| 19 |
Backported from master: |
| 20 |
2025-07-23 Gaius Mulley <[email protected]> |
| 21 |
|
| 22 |
PR modula2/121164 |
| 23 |
* gm2-compiler/P1SymBuild.mod: Remove PutProcTypeParam. |
| 24 |
Remove PutProcTypeParam. |
| 25 |
(CheckFileName): Remove. |
| 26 |
(P1EndBuildDefinitionModule): Correct spelling. |
| 27 |
(P1EndBuildImplementationModule): Ditto. |
| 28 |
(P1EndBuildProgramModule): Ditto. |
| 29 |
(EndBuildInnerModule): Ditto. |
| 30 |
* gm2-compiler/P2SymBuild.mod (P2EndBuildDefModule): Correct |
| 31 |
spelling. |
| 32 |
(P2EndBuildImplementationModule): Ditto. |
| 33 |
(P2EndBuildProgramModule): Ditto. |
| 34 |
(EndBuildInnerModule): Ditto. |
| 35 |
(CheckFormalParameterSection): Ditto. |
| 36 |
* gm2-compiler/P3SymBuild.mod (P3EndBuildDefModule): Ditto. |
| 37 |
* gm2-compiler/PCSymBuild.mod (PCEndBuildDefModule): Ditto. |
| 38 |
(fixupProcedureType): Pass tok to PutProcTypeVarParam. |
| 39 |
Pass tok to PutProcTypeParam. |
| 40 |
* gm2-compiler/SymbolTable.def (PutProcTypeParam): Add tok |
| 41 |
parameter. |
| 42 |
(PutProcTypeVarParam): Ditto. |
| 43 |
* gm2-compiler/SymbolTable.mod (SymParam): At change type to |
| 44 |
CARDINAL. |
| 45 |
New field FullTok. |
| 46 |
New field Scope. |
| 47 |
(SymVarParam): At change type to CARDINAL. |
| 48 |
New field FullTok. |
| 49 |
New field Scope. |
| 50 |
(GetVarDeclTok): Check ShadowVar for NulSym and return At. |
| 51 |
(PutParam): Initialize FullTok. |
| 52 |
Initialize At. |
| 53 |
Initialize Scope. |
| 54 |
(PutVarParam): Initialize FullTok. |
| 55 |
Assign At. |
| 56 |
Initialize Scope. |
| 57 |
(AddProcedureProcTypeParam): Add tok parameter. |
| 58 |
(GetScope): Add ParamSym and VarParamSym clause. |
| 59 |
(PutProcTypeVarParam): Add tok parameter. |
| 60 |
Initialize At. |
| 61 |
Initialize FullTok. |
| 62 |
(GetDeclaredDefinition): Clause ParamSym return At. |
| 63 |
Clause VarParamSym return At. |
| 64 |
(GetDeclaredModule): Ditto. |
| 65 |
(PutDeclaredDefinition): Remove clause ParamSym. |
| 66 |
Remove clause VarParamSym. |
| 67 |
(PutDeclaredModule): Remove clause ParamSym. |
| 68 |
Remove clause VarParamSym. |
| 69 |
|
| 70 |
2025-07-18 Gaius Mulley <[email protected]> |
| 71 |
|
| 72 |
Backported from master: |
| 73 |
2025-07-18 Gaius Mulley <[email protected]> |
| 74 |
|
| 75 |
PR modula2/121164 |
| 76 |
* gm2-libs/ARRAYOFCHAR.mod (Write): Rename 2nd parameter |
| 77 |
name a to str. |
| 78 |
|
| 79 |
2025-07-18 Gaius Mulley <[email protected]> |
| 80 |
|
| 81 |
Backported from master: |
| 82 |
2025-07-01 Gaius Mulley <[email protected]> |
| 83 |
|
| 84 |
PR modula2/120912 |
| 85 |
* gm2-libs-iso/IOChanUtils.def (GetFile): New procedure function. |
| 86 |
* gm2-libs-iso/IOChanUtils.mod (GetFile): New procedure function. |
| 87 |
|
| 88 |
2025-07-18 Gaius Mulley <[email protected]> |
| 89 |
|
| 90 |
Backported from master: |
| 91 |
2025-06-29 Gaius Mulley <[email protected]> |
| 92 |
|
| 93 |
PR modula2/117203 |
| 94 |
* gm2-libs-log/FileSystem.def (GetFileName): New |
| 95 |
procedure function. |
| 96 |
(WriteString): New procedure. |
| 97 |
* gm2-libs-log/FileSystem.mod (GetFileName): New |
| 98 |
procedure function. |
| 99 |
(WriteString): New procedure. |
| 100 |
* gm2-libs/SFIO.def (GetFileName): New procedure function. |
| 101 |
* gm2-libs/SFIO.mod (GetFileName): New procedure function. |
| 102 |
* gm2-libs-iso/IOChanUtils.def: New file. |
| 103 |
* gm2-libs-iso/IOChanUtils.mod: New file. |
| 104 |
|
| 105 |
2025-07-18 Gaius Mulley <[email protected]> |
| 106 |
|
| 107 |
Backported from master: |
| 108 |
2025-06-22 Gaius Mulley <[email protected]> |
| 109 |
|
| 110 |
PR modula2/120731 |
| 111 |
* gm2-libs-log/Strings.def (Delete): Rewrite comment. |
| 112 |
* gm2-libs-log/Strings.mod (Pos): Rewrite. |
| 113 |
(PosLower): New procedure function. |
| 114 |
|
| 115 |
2025-07-18 Gaius Mulley <[email protected]> |
| 116 |
|
| 117 |
Backported from master: |
| 118 |
2025-06-21 Gaius Mulley <[email protected]> |
| 119 |
|
| 120 |
* gm2-compiler/M2GCCDeclare.mod (StartDeclareModuleScopeSeparate): |
| 121 |
Reformat statement comments. |
| 122 |
(StartDeclareModuleScopeWholeProgram): Ditto. |
| 123 |
|
| 124 |
2025-07-18 Gaius Mulley <[email protected]> |
| 125 |
|
| 126 |
Backported from master: |
| 127 |
2025-06-17 Gaius Mulley <[email protected]> |
| 128 |
|
| 129 |
PR modula2/120673 |
| 130 |
* gm2-compiler/M2GCCDeclare.mod (ErrorDepList): New |
| 131 |
global variable set containing every errant dependency symbol. |
| 132 |
(mystop): Remove. |
| 133 |
(EmitCircularDependancyError): Replace with ... |
| 134 |
(EmitCircularDependencyError): ... this. |
| 135 |
(AssertAllTypesDeclared): Rewrite. |
| 136 |
(DoVariableDeclaration): Ditto. |
| 137 |
(TypeDependentsDeclared): New procedure function. |
| 138 |
(PrepareGCCVarDeclaration): Ditto. |
| 139 |
(DeclareVariable): Remove assert. |
| 140 |
(DeclareLocalVariable): Ditto. |
| 141 |
(Constructor): Initialize ErrorDepList. |
| 142 |
* gm2-compiler/M2MetaError.mod (doErrorScopeProc): Rewrite |
| 143 |
and ensure that a symbol with a module scope does not lookup |
| 144 |
from a definition module. |
| 145 |
* gm2-compiler/P2SymBuild.mod (BuildType): Rewrite so that |
| 146 |
a synonym type is created using the token refering to the name |
| 147 |
on the lhs. |
| 148 |
|
| 149 |
2025-07-17 Gaius Mulley <[email protected]> |
| 150 |
|
| 151 |
Backported from master: |
| 152 |
2025-06-12 Gaius Mulley <[email protected]> |
| 153 |
|
| 154 |
PR modula2/119650 |
| 155 |
* gm2-libs/ARRAYOFCHAR.def: Remove comment about non |
| 156 |
existent read. |
| 157 |
* target-independent/m2/Builtins.texi: Regenerate. |
| 158 |
* target-independent/m2/SYSTEM-iso.texi: Ditto. |
| 159 |
* target-independent/m2/SYSTEM-pim.texi: Ditto. |
| 160 |
* target-independent/m2/gm2-libs.texi: Ditto. |
| 161 |
|
| 162 |
2025-07-17 Gaius Mulley <[email protected]> |
| 163 |
|
| 164 |
Backported from master: |
| 165 |
2025-06-09 Gaius Mulley <[email protected]> |
| 166 |
|
| 167 |
PR modula2/120606 |
| 168 |
* gm2-compiler/M2Quads.mod (ForLoopLastIterator): Dereference |
| 169 |
start and end expressions e1 and e2 respectively. |
| 170 |
|
| 171 |
2025-07-17 Gaius Mulley <[email protected]> |
| 172 |
|
| 173 |
Backported from master: |
| 174 |
2025-06-07 Gaius Mulley <[email protected]> |
| 175 |
|
| 176 |
PR modula2/119650 |
| 177 |
PR modula2/117203 |
| 178 |
* gm2-compiler/P2Build.bnf (CheckModuleQualident): New |
| 179 |
procedure. |
| 180 |
(Qualident): Rewrite. |
| 181 |
* gm2-compiler/P3Build.bnf (PushTFQualident): New procedure. |
| 182 |
(CheckModuleQualident): Ditto. |
| 183 |
(Qualident): Rewrite. |
| 184 |
* gm2-compiler/PCBuild.bnf (PushTFQualident): New procedure. |
| 185 |
(CheckModuleQualident): Ditto. |
| 186 |
(Qualident): Rewrite. |
| 187 |
* gm2-compiler/PHBuild.bnf (PushTFQualident): New procedure. |
| 188 |
(CheckModuleQualident): Ditto. |
| 189 |
(Qualident): Rewrite. |
| 190 |
* gm2-libs/ARRAYOFCHAR.def: New file. |
| 191 |
* gm2-libs/ARRAYOFCHAR.mod: New file. |
| 192 |
* gm2-libs/CFileSysOp.def: New file. |
| 193 |
* gm2-libs/CHAR.def: New file. |
| 194 |
* gm2-libs/CHAR.mod: New file. |
| 195 |
* gm2-libs/FileSysOp.def: New file. |
| 196 |
* gm2-libs/FileSysOp.mod: New file. |
| 197 |
* gm2-libs/String.def: New file. |
| 198 |
* gm2-libs/String.mod: New file. |
| 199 |
* gm2-libs/StringFileSysOp.def: New file. |
| 200 |
* gm2-libs/StringFileSysOp.mod: New file. |
| 201 |
|
| 202 |
2025-07-17 Gaius Mulley <[email protected]> |
| 203 |
|
| 204 |
Backported from master: |
| 205 |
2025-06-06 Gaius Mulley <[email protected]> |
| 206 |
|
| 207 |
PR modula2/120542 |
| 208 |
* gm2-compiler/M2Quads.mod (BuildReturnLower): New procedure. |
| 209 |
(BuildReturn): Allow return without an expression from |
| 210 |
module initialization blocks. Generate an error if an |
| 211 |
expression is provided. Call BuildReturnLower if no error |
| 212 |
was seen. |
| 213 |
|
| 214 |
2025-07-17 Gaius Mulley <[email protected]> |
| 215 |
|
| 216 |
Backported from master: |
| 217 |
2025-06-01 Gaius Mulley <[email protected]> |
| 218 |
|
| 219 |
PR modula2/120474 |
| 220 |
* gm2-libs-log/InOut.mod (LocalWrite): Call FIO.FlushBuffer. |
| 221 |
|
| 222 |
2025-07-16 Gaius Mulley <[email protected]> |
| 223 |
|
| 224 |
Backported from master: |
| 225 |
2025-06-01 Gaius Mulley <[email protected]> |
| 226 |
|
| 227 |
PR modula2/120497 |
| 228 |
* gm2-compiler/M2Range.mod (IsAssignmentCompatible): Remove from |
| 229 |
import list. |
| 230 |
(FoldTypeReturnFunc): Rewrite to skip the Lvalue of a var |
| 231 |
variable. |
| 232 |
(CodeTypeReturnFunc): Ditto. |
| 233 |
(CodeTypeIndrX): Call AssignmentTypeCompatible rather than |
| 234 |
IsAssignmentCompatible. |
| 235 |
(FoldTypeIndrX): Ditto. |
| 236 |
|
| 237 |
2025-07-16 Gaius Mulley <[email protected]> |
| 238 |
|
| 239 |
Backported from master: |
| 240 |
2025-05-31 Gaius Mulley <[email protected]> |
| 241 |
|
| 242 |
PR modula2/120389 |
| 243 |
* gm2-compiler/M2Check.def (AssignmentTypeCompatible): Add new |
| 244 |
parameter enableReason. |
| 245 |
* gm2-compiler/M2Check.mod (EquivalenceProcedure): New type. |
| 246 |
(falseReason2): New procedure function. |
| 247 |
(falseReason1): Ditto. |
| 248 |
(falseReason0): Ditto. |
| 249 |
(checkTypeEquivalence): Rewrite. |
| 250 |
(checkUnboundedArray): Ditto. |
| 251 |
(checkUnbounded): Ditto. |
| 252 |
(checkArrayTypeEquivalence): Ditto. |
| 253 |
(checkCharStringTypeEquivalence): Ditto. |
| 254 |
(buildError4): Add false reason. |
| 255 |
(buildError2): Ditto. |
| 256 |
(IsTyped): Use GetDType. |
| 257 |
(IsTypeEquivalence): New procedure function. |
| 258 |
(checkVarTypeEquivalence): Ditto. |
| 259 |
(checkVarEquivalence ): Rewrite. |
| 260 |
(checkConstMeta): Ditto. |
| 261 |
(checkEnumField): New procedure function. |
| 262 |
(checkEnumFieldEquivalence): Ditto. |
| 263 |
(checkSubrangeTypeEquivalence): Rewrite. |
| 264 |
(checkSystemEquivalence): Ditto. |
| 265 |
(checkTypeKindViolation): Ditto. |
| 266 |
(doCheckPair): Ditto. |
| 267 |
(InitEquivalenceArray): New procedure. |
| 268 |
(addEquivalence): Ditto. |
| 269 |
(checkProcType): Rewrite. |
| 270 |
(deconstruct): Deallocate reason string. |
| 271 |
(AssignmentTypeCompatible): Initialize reason and reasonEnable |
| 272 |
fields. |
| 273 |
(ParameterTypeCompatible): Ditto. |
| 274 |
(doExpressionTypeCompatible): Ditto. |
| 275 |
* gm2-compiler/M2GenGCC.mod (CodeIndrX) Rewrite. |
| 276 |
(CheckBinaryExpressionTypes): Rewrite and simplify now that the |
| 277 |
type checker is more robust. |
| 278 |
(CheckElementSetTypes): Ditto. |
| 279 |
(CodeXIndr): Add new range assignment type check. |
| 280 |
* gm2-compiler/M2MetaError.def: Correct comments. |
| 281 |
* gm2-compiler/M2Options.def (SetStrictTypeAssignment): New procedure. |
| 282 |
(SetStrictTypeReason): Ditto. |
| 283 |
* gm2-compiler/M2Options.mod: (SetStrictTypeAssignment): New procedure. |
| 284 |
(SetStrictTypeReason): Ditto. |
| 285 |
(StrictTypeReason): Initialize. |
| 286 |
(StrictTypeAssignment): Ditto. |
| 287 |
* gm2-compiler/M2Quads.mod (CheckBreak): Delete. |
| 288 |
(BreakQuad): New global variable. |
| 289 |
(BreakAtQuad): Delete. |
| 290 |
(gdbhook): New procedure. |
| 291 |
(BreakWhenQuadCreated): Ditto. |
| 292 |
(CheckBreak): Ditto. |
| 293 |
(Init): Call BreakWhenQuadCreated and gdbhook. |
| 294 |
(doBuildAssignment): Add type assignment range check. |
| 295 |
(CheckProcTypeAndProcedure): Only check if the procedure |
| 296 |
types differ. |
| 297 |
(doIndrX): Add type IndrX range check. |
| 298 |
(CheckReturnType): Add range return type check. |
| 299 |
* gm2-compiler/M2Range.def (InitTypesIndrXCheck): New procedure |
| 300 |
function. |
| 301 |
(InitTypesReturnTypeCheck): Ditto. |
| 302 |
* gm2-compiler/M2Range.mod (InitTypesIndrXCheck): New procedure |
| 303 |
function. |
| 304 |
(InitTypesReturnTypeCheck): Ditto. |
| 305 |
(HandlerExists): Add new clauses. |
| 306 |
(FoldAssignment): Pass extra FALSE parameter to |
| 307 |
AssignmentTypeCompatible. |
| 308 |
(FoldTypeReturnFunc): New procedure. |
| 309 |
(FoldTypeAssign): Ditto. |
| 310 |
(FoldTypeIndrX): Ditto. |
| 311 |
(CodeTypeAssign): Rewrite. |
| 312 |
(CodeTypeIndrX): New procedure. |
| 313 |
(CodeTypeReturnFunc): Ditto. |
| 314 |
(FoldTypeCheck): Add new case clauses. |
| 315 |
(CodeTypeCheck): Ditto. |
| 316 |
(FoldRangeCheckLower): Ditto. |
| 317 |
(IssueWarning): Ditto. |
| 318 |
* gm2-gcc/m2options.h (M2Options_SetStrictTypeAssignment): New |
| 319 |
function prototype. |
| 320 |
(M2Options_SetStrictTypeReason): Ditto. |
| 321 |
|
| 322 |
2025-07-15 Gaius Mulley <[email protected]> |
| 323 |
|
| 324 |
Backported from master: |
| 325 |
2025-05-22 Gaius Mulley <[email protected]> |
| 326 |
|
| 327 |
PR modula2/120389 |
| 328 |
* gm2-compiler/M2GenGCC.mod (CodeXIndr): Check to see that |
| 329 |
the type of left is assignment compatible with the type of |
| 330 |
right. |
| 331 |
|
| 332 |
2025-07-11 Gaius Mulley <[email protected]> |
| 333 |
|
| 334 |
Backported from master: |
| 335 |
2025-05-13 Gaius Mulley <[email protected]> |
| 336 |
|
| 337 |
PR modula2/120253 |
| 338 |
* m2.flex (FIRST_COLUMN): New define. |
| 339 |
(updatepos): Remove commented code. |
| 340 |
(consumeLine): Assign column to FIRST_COLUMN. |
| 341 |
(initLine): Ditto. |
| 342 |
(m2flex_GetColumnNo): Return FIRST_COLUMN if currentLine is NULL. |
| 343 |
(m2flex_GetLineNo): Rewrite for positive logic. |
| 344 |
(m2flex_GetLocation): Ditto. |
| 345 |
|
| 346 |
2025-05-13 Gaius Mulley <[email protected]> |
| 347 |
|
| 348 |
Backported from master: |
| 349 |
2025-05-05 Gaius Mulley <[email protected]> |
| 350 |
|
| 351 |
PR modula2/120117 |
| 352 |
* gm2-compiler/M2GenGCC.mod (FoldBecomes): Remove the call to |
| 353 |
RemoveQuad since this is performed by TypeCheckBecomes. |
| 354 |
* gm2-compiler/PCSymBuild.mod (buildConstFunction): Rewrite |
| 355 |
header comment. |
| 356 |
Check for a set or a type aliased set and appropriately |
| 357 |
skip type equivalences and obtain the element type. |
| 358 |
* gm2-compiler/SymbolTable.mod (PutConst): Add call to |
| 359 |
CheckBreak. |
| 360 |
|
| 361 |
2025-05-13 Gaius Mulley <[email protected]> |
| 362 |
|
| 363 |
Backported from master: |
| 364 |
2025-04-24 Gaius Mulley <[email protected]> |
| 365 |
|
| 366 |
PR modula2/119915 |
| 367 |
* gm2-libs/FormatStrings.mod (PerformFormatString): Handle |
| 368 |
the %u and %x format specifiers in a similar way to the %d |
| 369 |
specifier. Avoid using Slice and use Copy instead. |
| 370 |
|
| 371 |
2025-05-13 Gaius Mulley <[email protected]> |
| 372 |
|
| 373 |
Backported from master: |
| 374 |
2025-04-24 Gaius Mulley <[email protected]> |
| 375 |
|
| 376 |
PR modula2/119914 |
| 377 |
* gm2-compiler/M2Check.mod (checkConstMeta): Add check for |
| 378 |
Ztype, Rtype and Ctype and unbounded arrays. |
| 379 |
(IsZRCType): New procedure function. |
| 380 |
(isZRC): Add comment. |
| 381 |
* gm2-compiler/M2Quads.mod: |
| 382 |
* gm2-compiler/M2Range.mod (gdbinit): New procedure. |
| 383 |
(BreakWhenRangeCreated): Ditto. |
| 384 |
(CheckBreak): Ditto. |
| 385 |
(InitRange): Call CheckBreak. |
| 386 |
(Init): Add gdbhook and initialize interactive watch point. |
| 387 |
* gm2-compiler/SymbolTable.def (GetNthParamAnyClosest): New |
| 388 |
procedure function. |
| 389 |
* gm2-compiler/SymbolTable.mod (BreakSym): Remove constant. |
| 390 |
(BreakSym): Add Variable. |
| 391 |
(stop): Remove. |
| 392 |
(gdbhook): New procedure. |
| 393 |
(BreakWhenSymCreated): Ditto. |
| 394 |
(CheckBreak): Ditto. |
| 395 |
(NewSym): Call CheckBreak. |
| 396 |
(Init): Add gdbhook and initialize interactive watch point. |
| 397 |
(MakeProcedure): Replace guarded call to stop with CheckBreak. |
| 398 |
(GetNthParamChoice): New procedure function. |
| 399 |
(GetNthParamOrdered): Ditto. |
| 400 |
(GetNthParamAnyClosest): Ditto. |
| 401 |
(GetOuterModuleScope): Ditto. |
| 402 |
|
| 403 |
2025-04-25 Release Manager |
| 404 |
|
| 405 |
* GCC 15.1.0 released. |
| 406 |
|
| 407 |
2025-04-11 Gaius Mulley <[email protected]> |
| 408 |
|
| 409 |
PR modula2/119735 |
| 410 |
* gm2-compiler/M2MetaError.def: Hide %n from comment. |
| 411 |
* gm2-compiler/SymbolTable.def (PutIncludedByDefinition): Remove ' |
| 412 |
from comment. |
| 413 |
* gm2-gcc/m2expr.def (init): Ditto. |
| 414 |
* gm2-libiberty/pexecute.def: Ditto. |
| 415 |
* gm2-libs-coroutines/Executive.def (InitSemaphore): Ditto. |
| 416 |
(Wait): Ditto. |
| 417 |
* gm2-libs-iso/ClientSocket.def: Ditto. |
| 418 |
* gm2-libs-log/BlockOps.def (BlockMoveBackward): Ditto. |
| 419 |
* gm2-libs-log/InOut.def: Ditto. |
| 420 |
* mc/mcFileName.def: Ditto. |
| 421 |
|
| 422 |
2025-04-09 Jakub Jelinek <[email protected]> |
| 423 |
|
| 424 |
* gm2-compiler/M2MetaError.def: Fix comment typo, range" -> "range2". |
| 425 |
|
| 426 |
2025-03-30 Sandra Loosemore <[email protected]> |
| 427 |
|
| 428 |
* lang.opt.urls: Regenerate. |
| 429 |
|
| 430 |
2025-03-28 Gaius Mulley <[email protected]> |
| 431 |
|
| 432 |
PR modula2/119504 |
| 433 |
* gm2-compiler/M2Quads.mod (BuildHighFunction): Defend against |
| 434 |
Type = NulSym and fall into BuildConstHighFromSym. |
| 435 |
(BuildDesignatorArray): Rewrite to detect an array access to |
| 436 |
a constant string. |
| 437 |
(BuildDesignatorArrayStaticDynamic): New procedure. |
| 438 |
|
| 439 |
2025-03-25 Gaius Mulley <[email protected]> |
| 440 |
|
| 441 |
PR modula2/119449 |
| 442 |
* gm2-compiler/M2GCCDeclare.def (TryDeclareType): Remove tokenno |
| 443 |
parameter. |
| 444 |
* gm2-compiler/M2GCCDeclare.mod (TryDeclareType): Ditto. |
| 445 |
* gm2-compiler/M2GenGCC.mod (FoldTBitsize): Remove op2 and |
| 446 |
rename op1 as res and op3 as type. |
| 447 |
(FoldStandardFunction): Call FoldTBitsize omitting op2. |
| 448 |
* gm2-compiler/M2Quads.mod (GetTypeMin): Rewrite. |
| 449 |
(GetTypeMinLower): New procedure function. |
| 450 |
(GetTypeMax): Rewrite. |
| 451 |
(GetTypeMaxLower): New procedure function. |
| 452 |
* gm2-compiler/M2Range.mod (CheckCancelled): Comment out. |
| 453 |
* gm2-compiler/M2System.mod (CreateMinMaxFor): Add realtype |
| 454 |
parameter. |
| 455 |
(MapType): Rewrite to use realtype. |
| 456 |
(CreateType): Ditto. |
| 457 |
(AttemptToCreateType): Ditto. |
| 458 |
(MakeFixedSizedTypes): Add realtype boolean. |
| 459 |
(InitPIMTypes): Ditto. |
| 460 |
(InitISOTypes): Ditto. |
| 461 |
(MakeExtraSystemTypes): Ditto. |
| 462 |
* gm2-gcc/m2pp.cc (m2pp_nop_expr): Remove code. |
| 463 |
* gm2-gcc/m2type.cc (IsGccRealType): New function. |
| 464 |
(m2type_GetMinFrom): Rewrite. |
| 465 |
(m2type_GetMaxFrom): Ditto. |
| 466 |
(do_min_real): Declare static. |
| 467 |
(do_max_real): Declare static. |
| 468 |
|
| 469 |
2025-03-20 Gaius Mulley <[email protected]> |
| 470 |
|
| 471 |
PR modula2/118600 |
| 472 |
* gm2-compiler/M2GenGCC.mod (PerformCodeBecomes): New procedure. |
| 473 |
(CodeBecomes): Refactor and call PerformCodeBecomes. |
| 474 |
* gm2-gcc/m2builtins.cc (gm2_strncpy_node): New global variable. |
| 475 |
(DoBuiltinStrNCopy): New function. |
| 476 |
(m2builtins_BuiltinStrNCopy): New function. |
| 477 |
(m2builtins_init): Initialize gm2_strncpy_node. |
| 478 |
* gm2-gcc/m2builtins.def (BuiltinStrNCopy): New procedure |
| 479 |
function. |
| 480 |
* gm2-gcc/m2builtins.h (m2builtins_BuiltinStrNCopy): New |
| 481 |
function. |
| 482 |
* gm2-gcc/m2statement.cc (copy_record_fields): New function. |
| 483 |
(copy_array): Ditto. |
| 484 |
(copy_strncpy): Ditto. |
| 485 |
(copy_memcpy): Ditto. |
| 486 |
(CopyByField_Lower): Ditto. |
| 487 |
(m2statement_CopyByField): Ditto. |
| 488 |
* gm2-gcc/m2statement.def (CopyByField): New procedure function. |
| 489 |
* gm2-gcc/m2statement.h (m2statement_CopyByField): New function. |
| 490 |
* gm2-gcc/m2type.cc (check_record_fields): Ditto. |
| 491 |
(check_array_types): Ditto. |
| 492 |
(m2type_IsGccStrictTypeEquivalent): Ditto. |
| 493 |
* gm2-gcc/m2type.def (IsGccStrictTypeEquivalent): New procedure |
| 494 |
function. |
| 495 |
* gm2-gcc/m2type.h (m2type_IsAddress): Replace return type int |
| 496 |
with bool. |
| 497 |
|
| 498 |
2025-03-16 Gaius Mulley <[email protected]> |
| 499 |
|
| 500 |
PR modula2/115111 |
| 501 |
* gm2-compiler/M2GenGCC.mod (CodeStatementNote): Add debugging. |
| 502 |
* gm2-compiler/M2Quads.def (BuildEndWhile): New parameter reltokpos. |
| 503 |
* gm2-compiler/M2Quads.mod (BuildEndWhile): Reimplement using new parameter. |
| 504 |
* gm2-compiler/P3Build.bnf (WhileStatement): Call BuildEndWhile |
| 505 |
with -1 relative position. |
| 506 |
* gm2-gcc/m2block.cc (do_add_stmt): Tidy comment. |
| 507 |
(GetGlobals): Ditto. |
| 508 |
(flush_pending_note): Remove #if 0 code. |
| 509 |
* gm2-gcc/m2pp.cc (m2pp_nop_expr): New function. |
| 510 |
(m2pp_statement): New case clause call m2pp_nop_expr. |
| 511 |
|
| 512 |
2025-03-10 Gaius Mulley <[email protected]> |
| 513 |
|
| 514 |
PR modula2/119192 |
| 515 |
* gm2-compiler/M2GCCDeclare.def (TryDeclareType): New procedure. |
| 516 |
* gm2-compiler/M2GCCDeclare.mod (IsAnyType): New procedure. |
| 517 |
(TryDeclareType): Ditto. |
| 518 |
* gm2-compiler/M2GenGCC.mod (FoldTBitsize): New procedure. |
| 519 |
(FoldStandardFunction): Call FoldTBitsize. |
| 520 |
* gm2-gcc/m2expr.cc (BuildTBitSize): Improve comment. |
| 521 |
(m2expr_BuildSystemTBitSize): New function. |
| 522 |
* gm2-gcc/m2expr.def (BuildSystemTBitSize): New procedure |
| 523 |
function. |
| 524 |
* gm2-gcc/m2expr.h (m2expr_BuildSystemTBitSize): New function |
| 525 |
prototype. |
| 526 |
|
| 527 |
2025-03-05 Gaius Mulley <[email protected]> |
| 528 |
|
| 529 |
PR modula2/118998 |
| 530 |
* gm2-gcc/m2expr.cc (m2expr_BuildLRotate): Convert nBits |
| 531 |
to the return type. |
| 532 |
(m2expr_BuildRRotate): Ditto. |
| 533 |
(m2expr_BuildLogicalRotate): Convert op3 to an integer type. |
| 534 |
Replace op3 aith rotateCount. |
| 535 |
Negate rotateCount if it is negative and call rotate right. |
| 536 |
* gm2-gcc/m2pp.cc (m2pp_bit_and_expr): New function. |
| 537 |
(m2pp_binary_function): Ditto. |
| 538 |
(m2pp_simple_expression): BIT_AND_EXPR new case clause. |
| 539 |
LROTATE_EXPR ditto. |
| 540 |
RROTATE_EXPR ditto. |
| 541 |
|
| 542 |
2025-03-02 Gaius Mulley <[email protected]> |
| 543 |
|
| 544 |
PR modula2/119088 |
| 545 |
* gm2-compiler/M2SymInit.mod (ConfigSymInit): Reimplement to |
| 546 |
defensively check for NulSym type. |
| 547 |
|
| 548 |
2025-02-22 Gaius Mulley <[email protected]> |
| 549 |
|
| 550 |
PR modula2/118978 |
| 551 |
* gm2-compiler/M2Check.mod (checkConstMeta): Add check for |
| 552 |
typed constants. |
| 553 |
* gm2-compiler/M2Quads.mod (BoolFrame): New field RangeDep. |
| 554 |
(CheckProcedureParameters): Call PutRangeDep to associate the |
| 555 |
range dependency with the parameter on the quad stack. |
| 556 |
Pass ParamCheckId to CheckParameter. |
| 557 |
(CheckProcTypeAndProcedure): Add ParamCheckId parameter. |
| 558 |
Pass ParamCheckId to BuildRange. |
| 559 |
(CheckParameter): New parameter ParamCheckId. |
| 560 |
Pass ParamCheckId to CheckProcTypeAndProcedure. |
| 561 |
(CheckParameterOrdinals): Add extra range dep parameter to the |
| 562 |
call of InitParameterRangeCheck. |
| 563 |
(ConvertBooleanToVariable): Initialize RangeDep field. |
| 564 |
(PushBacktok): Ditto. |
| 565 |
(OperandRangeDep): New procedure. |
| 566 |
(PutRangeDep): Ditto. |
| 567 |
* gm2-compiler/M2Range.def (InitTypesParameterCheck): Add new |
| 568 |
parameter depRangeId. |
| 569 |
(InitParameterRangeCheck): Add new parameter parentRangeId. |
| 570 |
(FoldRangeCheck): Add new parameter range. |
| 571 |
* gm2-compiler/M2Range.mod (InitTypesParameterCheck): Add new |
| 572 |
parameter depRangeId. |
| 573 |
(InitParameterRangeCheck): Add new parameter parentRangeId. |
| 574 |
(FoldRangeCheck): Add new parameter range and rewrite. |
| 575 |
(FoldRangeCheckLower): New procedure. |
| 576 |
(Range): New field cancelled. |
| 577 |
New field dependantid. |
| 578 |
(PutRangeParam): Initialize dependantid. |
| 579 |
(PutRangeParamAssign): Ditto. |
| 580 |
(CheckCancelled): New procedure. |
| 581 |
(Cancel): Ditto. |
| 582 |
(IsCancelled): New procedure function. |
| 583 |
(FoldTypeParam): Add depRangeId parameter. |
| 584 |
(WriteRangeCheck): Add dependent debugging. |
| 585 |
|
| 586 |
2025-02-11 Gaius Mulley <[email protected]> |
| 587 |
|
| 588 |
PR modula2/118761 |
| 589 |
* gm2spec.cc (lang_specific_driver): Add case clauses for |
| 590 |
OPT__help, OPT__help_ set in_added_libraries to 0 and early |
| 591 |
return. |
| 592 |
|
| 593 |
2025-02-04 Gaius Mulley <[email protected]> |
| 594 |
|
| 595 |
PR modula2/115112 |
| 596 |
* gm2-compiler/M2Quads.mod (BuildPseudoProcedureCall): Pass |
| 597 |
tokno to each build procedure. |
| 598 |
(BuildThrowProcedure): New parameter functok. |
| 599 |
(BuildIncProcedure): New parameter proctok. |
| 600 |
Pass proctok on the quad stack during every push. |
| 601 |
(BuildDecProcedure): Ditto. |
| 602 |
(BuildInclProcedure): New parameter proctok. |
| 603 |
(BuildExclProcedure): New parameter proctok. |
| 604 |
|
| 605 |
2025-02-01 Gaius Mulley <[email protected]> |
| 606 |
|
| 607 |
PR modula2/118703 |
| 608 |
* gm2-gcc/m2builtins.cc (define_builtin_gcc): New function. |
| 609 |
(m2builtins_init): Call define_builtin_gcc. |
| 610 |
* gm2-libs/Builtins.def (clz): New procedure function. |
| 611 |
(clzll): Ditto. |
| 612 |
(ctz): Ditto. |
| 613 |
(ctzll): Ditto. |
| 614 |
* gm2-libs/Builtins.mod (clz): New procedure function. |
| 615 |
(clzll): Ditto. |
| 616 |
(ctz): Ditto. |
| 617 |
(ctzll): Ditto. |
| 618 |
* gm2-libs/cbuiltin.def (clz): New procedure function. |
| 619 |
(clzll): Ditto. |
| 620 |
(ctz): Ditto. |
| 621 |
(ctzll): Ditto. |
| 622 |
|
| 623 |
2025-01-29 Gaius Mulley <[email protected]> |
| 624 |
|
| 625 |
PR modula2/118010 |
| 626 |
PR modula2/118183 |
| 627 |
PR modula2/116073 |
| 628 |
* gm2-compiler/M2Options.mod (OffTBits): Assign to 0. |
| 629 |
* gm2-gcc/m2type.cc (build_m2_specific_size_type): Ensure that |
| 630 |
layout_type is called before returning c. |
| 631 |
(build_m2_offt_type_node): If GetFileOffsetBits returns 0 then |
| 632 |
use the type size of ssize_t. |
| 633 |
|
| 634 |
2025-01-26 Gaius Mulley <[email protected]> |
| 635 |
|
| 636 |
* gm2-compiler/M2GenGCC.mod (FoldConstBecomes): Remove |
| 637 |
commented out code. |
| 638 |
Improve early return comment. |
| 639 |
|
| 640 |
2025-01-26 Gaius Mulley <[email protected]> |
| 641 |
|
| 642 |
* gm2-compiler/M2GenGCC.mod (FoldStatementNote): Add header |
| 643 |
comment. |
| 644 |
(CodeStatementNote): Ditto. |
| 645 |
(FoldRange): Tidy comment. |
| 646 |
(CodeError): Ditto. |
| 647 |
(CodeProcedureScope): Ditto. |
| 648 |
(CheckConvertCoerceParameter): Replace op1 with nth. |
| 649 |
Replace op2 with callee. |
| 650 |
Replace op3 with actual. |
| 651 |
|
| 652 |
2025-01-25 Gaius Mulley <[email protected]> |
| 653 |
|
| 654 |
PR modula2/117737 |
| 655 |
PR modula2/118010 |
| 656 |
* Make-maintainer.in (PGE-MC-OPTIONS): New macro. |
| 657 |
(m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): Use $(PGE-MC-OPTIONS). |
| 658 |
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.o): Ditto. |
| 659 |
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.o): Ditto. |
| 660 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.o): Ditto. |
| 661 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.o): Ditto. |
| 662 |
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.o): Ditto. |
| 663 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.o): Ditto. |
| 664 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto. |
| 665 |
(m2/gm2-pge-boot/$(SRC_PREFIX)pge.o): Ditto. |
| 666 |
(m2/gm2-auto/pg.o): Ditto. |
| 667 |
(m2/gm2-auto/pge.o): Ditto. |
| 668 |
(mc-autogen): Add include directory $(GMPINC) to $(CXX). |
| 669 |
* mc/keyc.mod (checkGccConfigSystem): Remove |
| 670 |
INCLUDE_MEMORY define. |
| 671 |
* mc-boot/GASCII.cc (INCLUDE_MEMORY): Removed during rebuild. |
| 672 |
* mc-boot/GASCII.h (INCLUDE_MEMORY): Ditto. |
| 673 |
* mc-boot/GArgs.cc (INCLUDE_MEMORY): Ditto. |
| 674 |
* mc-boot/GArgs.h (INCLUDE_MEMORY): Ditto. |
| 675 |
* mc-boot/GAssertion.cc (INCLUDE_MEMORY): Ditto. |
| 676 |
* mc-boot/GAssertion.h (INCLUDE_MEMORY): Ditto. |
| 677 |
* mc-boot/GBreak.cc (INCLUDE_MEMORY): Ditto. |
| 678 |
* mc-boot/GBreak.h (INCLUDE_MEMORY): Ditto. |
| 679 |
* mc-boot/GCOROUTINES.h (INCLUDE_MEMORY): Ditto. |
| 680 |
* mc-boot/GCmdArgs.cc (INCLUDE_MEMORY): Ditto. |
| 681 |
* mc-boot/GCmdArgs.h (INCLUDE_MEMORY): Ditto. |
| 682 |
* mc-boot/GDebug.cc (INCLUDE_MEMORY): Ditto. |
| 683 |
* mc-boot/GDebug.h (INCLUDE_MEMORY): Ditto. |
| 684 |
* mc-boot/GDynamicStrings.cc (INCLUDE_MEMORY): Ditto. |
| 685 |
* mc-boot/GDynamicStrings.h (INCLUDE_MEMORY): Ditto. |
| 686 |
* mc-boot/GEnvironment.cc (INCLUDE_MEMORY): Ditto. |
| 687 |
* mc-boot/GEnvironment.h (INCLUDE_MEMORY): Ditto. |
| 688 |
* mc-boot/GFIO.cc (INCLUDE_MEMORY): Ditto. |
| 689 |
* mc-boot/GFIO.h (INCLUDE_MEMORY): Ditto. |
| 690 |
* mc-boot/GFormatStrings.cc (INCLUDE_MEMORY): Ditto. |
| 691 |
* mc-boot/GFormatStrings.h (INCLUDE_MEMORY): Ditto. |
| 692 |
* mc-boot/GFpuIO.cc (INCLUDE_MEMORY): Ditto. |
| 693 |
* mc-boot/GFpuIO.h (INCLUDE_MEMORY): Ditto. |
| 694 |
* mc-boot/GIO.cc (INCLUDE_MEMORY): Ditto. |
| 695 |
* mc-boot/GIO.h (INCLUDE_MEMORY): Ditto. |
| 696 |
* mc-boot/GIndexing.cc (INCLUDE_MEMORY): Ditto. |
| 697 |
* mc-boot/GIndexing.h (INCLUDE_MEMORY): Ditto. |
| 698 |
* mc-boot/GM2Dependent.cc (INCLUDE_MEMORY): Ditto. |
| 699 |
* mc-boot/GM2Dependent.h (INCLUDE_MEMORY): Ditto. |
| 700 |
* mc-boot/GM2EXCEPTION.cc (INCLUDE_MEMORY): Ditto. |
| 701 |
* mc-boot/GM2EXCEPTION.h (INCLUDE_MEMORY): Ditto. |
| 702 |
* mc-boot/GM2RTS.cc (INCLUDE_MEMORY): Ditto. |
| 703 |
* mc-boot/GM2RTS.h (INCLUDE_MEMORY): Ditto. |
| 704 |
* mc-boot/GMemUtils.cc (INCLUDE_MEMORY): Ditto. |
| 705 |
* mc-boot/GMemUtils.h (INCLUDE_MEMORY): Ditto. |
| 706 |
* mc-boot/GNumberIO.cc (INCLUDE_MEMORY): Ditto. |
| 707 |
* mc-boot/GNumberIO.h (INCLUDE_MEMORY): Ditto. |
| 708 |
* mc-boot/GPushBackInput.cc (INCLUDE_MEMORY): Ditto. |
| 709 |
* mc-boot/GPushBackInput.h (INCLUDE_MEMORY): Ditto. |
| 710 |
* mc-boot/GRTExceptions.cc (INCLUDE_MEMORY): Ditto. |
| 711 |
* mc-boot/GRTExceptions.h (INCLUDE_MEMORY): Ditto. |
| 712 |
* mc-boot/GRTco.h (INCLUDE_MEMORY): Ditto. |
| 713 |
* mc-boot/GRTentity.h (INCLUDE_MEMORY): Ditto. |
| 714 |
* mc-boot/GRTint.cc (INCLUDE_MEMORY): Ditto. |
| 715 |
* mc-boot/GRTint.h (INCLUDE_MEMORY): Ditto. |
| 716 |
* mc-boot/GSArgs.cc (INCLUDE_MEMORY): Ditto. |
| 717 |
* mc-boot/GSArgs.h (INCLUDE_MEMORY): Ditto. |
| 718 |
* mc-boot/GSFIO.cc (INCLUDE_MEMORY): Ditto. |
| 719 |
* mc-boot/GSFIO.h (INCLUDE_MEMORY): Ditto. |
| 720 |
* mc-boot/GSYSTEM.h (INCLUDE_MEMORY): Ditto. |
| 721 |
* mc-boot/GSelective.h (INCLUDE_MEMORY): Ditto. |
| 722 |
* mc-boot/GStdIO.cc (INCLUDE_MEMORY): Ditto. |
| 723 |
* mc-boot/GStdIO.h (INCLUDE_MEMORY): Ditto. |
| 724 |
* mc-boot/GStorage.cc (INCLUDE_MEMORY): Ditto. |
| 725 |
* mc-boot/GStorage.h (INCLUDE_MEMORY): Ditto. |
| 726 |
* mc-boot/GStrCase.cc (INCLUDE_MEMORY): Ditto. |
| 727 |
* mc-boot/GStrCase.h (INCLUDE_MEMORY): Ditto. |
| 728 |
* mc-boot/GStrIO.cc (INCLUDE_MEMORY): Ditto. |
| 729 |
* mc-boot/GStrIO.h (INCLUDE_MEMORY): Ditto. |
| 730 |
* mc-boot/GStrLib.cc (INCLUDE_MEMORY): Ditto. |
| 731 |
* mc-boot/GStrLib.h (INCLUDE_MEMORY): Ditto. |
| 732 |
* mc-boot/GStringConvert.cc (INCLUDE_MEMORY): Ditto. |
| 733 |
* mc-boot/GStringConvert.h (INCLUDE_MEMORY): Ditto. |
| 734 |
* mc-boot/GSysExceptions.h (INCLUDE_MEMORY): Ditto. |
| 735 |
* mc-boot/GSysStorage.cc (INCLUDE_MEMORY): Ditto. |
| 736 |
* mc-boot/GSysStorage.h (INCLUDE_MEMORY): Ditto. |
| 737 |
* mc-boot/GTimeString.cc (INCLUDE_MEMORY): Ditto. |
| 738 |
* mc-boot/GTimeString.h (INCLUDE_MEMORY): Ditto. |
| 739 |
* mc-boot/GUnixArgs.h (INCLUDE_MEMORY): Ditto. |
| 740 |
* mc-boot/Galists.cc (INCLUDE_MEMORY): Ditto. |
| 741 |
* mc-boot/Galists.h (INCLUDE_MEMORY): Ditto. |
| 742 |
* mc-boot/Gdecl.cc (INCLUDE_MEMORY): Ditto. |
| 743 |
* mc-boot/Gdecl.h (INCLUDE_MEMORY): Ditto. |
| 744 |
* mc-boot/Gdtoa.h (INCLUDE_MEMORY): Ditto. |
| 745 |
* mc-boot/Gerrno.h (INCLUDE_MEMORY): Ditto. |
| 746 |
* mc-boot/Gkeyc.cc (INCLUDE_MEMORY): Ditto. |
| 747 |
* mc-boot/Gkeyc.h (INCLUDE_MEMORY): Ditto. |
| 748 |
* mc-boot/Gldtoa.h (INCLUDE_MEMORY): Ditto. |
| 749 |
* mc-boot/Glibc.h (INCLUDE_MEMORY): Ditto. |
| 750 |
* mc-boot/Glibm.h (INCLUDE_MEMORY): Ditto. |
| 751 |
* mc-boot/Glists.cc (INCLUDE_MEMORY): Ditto. |
| 752 |
* mc-boot/Glists.h (INCLUDE_MEMORY): Ditto. |
| 753 |
* mc-boot/GmcComment.cc (INCLUDE_MEMORY): Ditto. |
| 754 |
* mc-boot/GmcComment.h (INCLUDE_MEMORY): Ditto. |
| 755 |
* mc-boot/GmcComp.cc (INCLUDE_MEMORY): Ditto. |
| 756 |
* mc-boot/GmcComp.h (INCLUDE_MEMORY): Ditto. |
| 757 |
* mc-boot/GmcDebug.cc (INCLUDE_MEMORY): Ditto. |
| 758 |
* mc-boot/GmcDebug.h (INCLUDE_MEMORY): Ditto. |
| 759 |
* mc-boot/GmcError.cc (INCLUDE_MEMORY): Ditto. |
| 760 |
* mc-boot/GmcError.h (INCLUDE_MEMORY): Ditto. |
| 761 |
* mc-boot/GmcFileName.cc (INCLUDE_MEMORY): Ditto. |
| 762 |
* mc-boot/GmcFileName.h (INCLUDE_MEMORY): Ditto. |
| 763 |
* mc-boot/GmcLexBuf.cc (INCLUDE_MEMORY): Ditto. |
| 764 |
* mc-boot/GmcLexBuf.h (INCLUDE_MEMORY): Ditto. |
| 765 |
* mc-boot/GmcMetaError.cc (INCLUDE_MEMORY): Ditto. |
| 766 |
* mc-boot/GmcMetaError.h (INCLUDE_MEMORY): Ditto. |
| 767 |
* mc-boot/GmcOptions.cc (INCLUDE_MEMORY): Ditto. |
| 768 |
* mc-boot/GmcOptions.h (INCLUDE_MEMORY): Ditto. |
| 769 |
* mc-boot/GmcPreprocess.cc (INCLUDE_MEMORY): Ditto. |
| 770 |
* mc-boot/GmcPreprocess.h (INCLUDE_MEMORY): Ditto. |
| 771 |
* mc-boot/GmcPretty.cc (INCLUDE_MEMORY): Ditto. |
| 772 |
* mc-boot/GmcPretty.h (INCLUDE_MEMORY): Ditto. |
| 773 |
* mc-boot/GmcPrintf.cc (INCLUDE_MEMORY): Ditto. |
| 774 |
* mc-boot/GmcPrintf.h (INCLUDE_MEMORY): Ditto. |
| 775 |
* mc-boot/GmcQuiet.cc (INCLUDE_MEMORY): Ditto. |
| 776 |
* mc-boot/GmcQuiet.h (INCLUDE_MEMORY): Ditto. |
| 777 |
* mc-boot/GmcReserved.cc (INCLUDE_MEMORY): Ditto. |
| 778 |
* mc-boot/GmcReserved.h (INCLUDE_MEMORY): Ditto. |
| 779 |
* mc-boot/GmcSearch.cc (INCLUDE_MEMORY): Ditto. |
| 780 |
* mc-boot/GmcSearch.h (INCLUDE_MEMORY): Ditto. |
| 781 |
* mc-boot/GmcStack.cc (INCLUDE_MEMORY): Ditto. |
| 782 |
* mc-boot/GmcStack.h (INCLUDE_MEMORY): Ditto. |
| 783 |
* mc-boot/GmcStream.cc (INCLUDE_MEMORY): Ditto. |
| 784 |
* mc-boot/GmcStream.h (INCLUDE_MEMORY): Ditto. |
| 785 |
* mc-boot/Gmcflex.h (INCLUDE_MEMORY): Ditto. |
| 786 |
* mc-boot/Gmcp1.cc (INCLUDE_MEMORY): Ditto. |
| 787 |
* mc-boot/Gmcp1.h (INCLUDE_MEMORY): Ditto. |
| 788 |
* mc-boot/Gmcp2.cc (INCLUDE_MEMORY): Ditto. |
| 789 |
* mc-boot/Gmcp2.h (INCLUDE_MEMORY): Ditto. |
| 790 |
* mc-boot/Gmcp3.cc (INCLUDE_MEMORY): Ditto. |
| 791 |
* mc-boot/Gmcp3.h (INCLUDE_MEMORY): Ditto. |
| 792 |
* mc-boot/Gmcp4.cc (INCLUDE_MEMORY): Ditto. |
| 793 |
* mc-boot/Gmcp4.h (INCLUDE_MEMORY): Ditto. |
| 794 |
* mc-boot/Gmcp5.cc (INCLUDE_MEMORY): Ditto. |
| 795 |
* mc-boot/Gmcp5.h (INCLUDE_MEMORY): Ditto. |
| 796 |
* mc-boot/GnameKey.cc (INCLUDE_MEMORY): Ditto. |
| 797 |
* mc-boot/GnameKey.h (INCLUDE_MEMORY): Ditto. |
| 798 |
* mc-boot/GsymbolKey.cc (INCLUDE_MEMORY): Ditto. |
| 799 |
* mc-boot/GsymbolKey.h (INCLUDE_MEMORY): Ditto. |
| 800 |
* mc-boot/Gtermios.h (INCLUDE_MEMORY): Ditto. |
| 801 |
* mc-boot/Gtop.cc (INCLUDE_MEMORY): Ditto. |
| 802 |
* mc-boot/Gvarargs.cc (INCLUDE_MEMORY): Ditto. |
| 803 |
* mc-boot/Gvarargs.h (INCLUDE_MEMORY): Ditto. |
| 804 |
* mc-boot/Gwlists.cc (INCLUDE_MEMORY): Ditto. |
| 805 |
* mc-boot/Gwlists.h (INCLUDE_MEMORY): Ditto. |
| 806 |
* mc-boot/Gwrapc.h (INCLUDE_MEMORY): Ditto. |
| 807 |
* pge-boot/GIndexing.h (INCLUDE_MEMORY): Ditto. |
| 808 |
* pge-boot/GSEnvironment.h (INCLUDE_MEMORY): Ditto. |
| 809 |
* pge-boot/GScan.h (INCLUDE_MEMORY): Ditto. |
| 810 |
|
| 811 |
2025-01-25 Gaius Mulley <[email protected]> |
| 812 |
|
| 813 |
PR modula2/118010 |
| 814 |
* gm2-libs-log/FileSystem.mod (doModeChange): Replace |
| 815 |
LONGINT with COFF_T. |
| 816 |
(SetPos): Use COFF_T for the return value and offset type |
| 817 |
when calling lseek. |
| 818 |
* gm2-libs/FIO.mod (SetPositionFromBeginning): Convert pos |
| 819 |
to COFF_T. |
| 820 |
(SetPositionFromEnd): Ditto. |
| 821 |
* mc-boot/GFIO.cc: Rebuild. |
| 822 |
* mc-boot/Glibc.h: Ditto. |
| 823 |
* pge-boot/GFIO.cc: Ditto. |
| 824 |
* pge-boot/Glibc.h: Ditto. |
| 825 |
|
| 826 |
2025-01-25 Gaius Mulley <[email protected]> |
| 827 |
|
| 828 |
PR modula2/118010 |
| 829 |
* gm2-compiler/P2SymBuild.mod (Debug): Comment out unused |
| 830 |
procedure. |
| 831 |
* gm2-libs/libc.def (lseek): Declare second parameter offset |
| 832 |
as COFF_T. |
| 833 |
|
| 834 |
2025-01-25 Gaius Mulley <[email protected]> |
| 835 |
|
| 836 |
PR modula2/118589 |
| 837 |
* gm2-compiler/M2MetaError.mod (symDesc): Add opaque type |
| 838 |
description. |
| 839 |
* gm2-compiler/M2Quads.mod (BuildDesignatorPointerError): New |
| 840 |
procedure. |
| 841 |
(BuildDesignatorPointer): Reimplement. |
| 842 |
* gm2-compiler/P3Build.bnf (SubDesignator): Tidy up error message. |
| 843 |
Use MetaErrorT2 rather than WriteForma1 and use the token pos from |
| 844 |
the quad stack. |
| 845 |
|
| 846 |
2025-01-13 Gaius Mulley <[email protected]> |
| 847 |
|
| 848 |
PR modula2/116557 |
| 849 |
* COPYING.FDL: Remove physical address and replace with a URL. |
| 850 |
|
| 851 |
2025-01-13 Gaius Mulley <[email protected]> |
| 852 |
|
| 853 |
PR modula2/118453 |
| 854 |
* gm2-compiler/M2Check.mod (buildError4): Call MetaError1 |
| 855 |
for the actual and formal parameter type. |
| 856 |
* gm2-compiler/P2Build.bnf (SubrangeType): Construct a virtual |
| 857 |
token containing the subrange type declaration. |
| 858 |
(PrefixedSubrangeType): Ditto. |
| 859 |
* gm2-compiler/P2SymBuild.def (BuildSubrange): Add tok parameter. |
| 860 |
* gm2-compiler/P2SymBuild.mod (BuildSubrange): Use tok parameter, |
| 861 |
rather than the token at the start of the subrange. |
| 862 |
|
| 863 |
2025-01-07 Gaius Mulley <[email protected]> |
| 864 |
|
| 865 |
PR modula2/118010 |
| 866 |
PR modula2/118183 |
| 867 |
* gm2-compiler/M2GCCDeclare.mod (Import): COffT, GetCOffTType. |
| 868 |
(DeclareDefaultSimpleTypes): Declare COFF_T. |
| 869 |
* gm2-compiler/M2GenGCC.mod (GetParamSize): Correct first |
| 870 |
parameter to BuildSize to use location rather than a token position. |
| 871 |
* gm2-compiler/M2Options.def (SetFileOffsetBits): New procedure. |
| 872 |
(GetFileOffsetBits): New procedure function. |
| 873 |
* gm2-compiler/M2Options.mod (SetFileOffsetBits): New procedure. |
| 874 |
(GetFileOffsetBits): New procedure function. |
| 875 |
(OffTBits): New variable. |
| 876 |
* gm2-compiler/M2System.def (COffT): New variable. |
| 877 |
* gm2-compiler/M2System.mod (MakeExtraSystemTypes): Declare |
| 878 |
COffT. |
| 879 |
* gm2-compiler/P1SymBuild.mod (EndBuildProcedure): Call |
| 880 |
PutProcedureDefined. |
| 881 |
* gm2-compiler/P2SymBuild.mod (Debug): Reimplement. |
| 882 |
* gm2-compiler/SymbolTable.mod (InitProcedureDeclaration): |
| 883 |
Initialize ProcedureTok. |
| 884 |
* gm2-gcc/gcctypes.def (location_t): Declare as CARDINAL64. |
| 885 |
* gm2-gcc/m2linemap.cc (m2linemap_GetLocationBinary): Add |
| 886 |
call to linemap_add indication a LC_LEAVE. |
| 887 |
* gm2-gcc/m2options.h (M2Options_SetFileOffsetBits): New procedure. |
| 888 |
(M2Options_GetFileOffsetBits): New procedure function. |
| 889 |
* gm2-gcc/m2type.cc (m2_offt_type_node): New variable. |
| 890 |
(m2type_GetCSizeTType): Reword comment. |
| 891 |
(m2type_GetCSSizeTType): Reword comment. |
| 892 |
(m2type_GetCOffTType): New function. |
| 893 |
(build_m2_offt_type_node): New function. |
| 894 |
(m2type_InitSystemTypes): Initialize m2_offt_type_node. |
| 895 |
* gm2-gcc/m2type.def (GetCSizeTType): Reword comment. |
| 896 |
(GetCOffTType): New procedure function. |
| 897 |
* gm2-gcc/m2type.h (m2type_GetCOffTType): New prototype. |
| 898 |
* gm2-lang.cc (gm2_langhook_handle_option): New clause |
| 899 |
OPT_fm2_file_offset_bits_. |
| 900 |
* gm2-libs-coroutines/SYSTEM.def: Add COFF_T to export list. |
| 901 |
* gm2-libs-iso/SYSTEM.def: Ditto. |
| 902 |
* gm2-libs-min/SYSTEM.def: Ditto. |
| 903 |
* gm2-libs/SYSTEM.def: Add COFF_T and CARDINAL64 to export list. |
| 904 |
* gm2-libs/libc.def (lseek): Change return type to COFF_T. |
| 905 |
* lang.opt (-fm2-file-offset-bits=): New option. |
| 906 |
* mc-boot-ch/Glibc.c (libc_lseek): Change result to use off_t. |
| 907 |
* mc-boot/GASCII.cc: Rebuilt. |
| 908 |
* mc-boot/GASCII.h: Ditto. |
| 909 |
* mc-boot/GArgs.cc: Ditto. |
| 910 |
* mc-boot/GArgs.h: Ditto. |
| 911 |
* mc-boot/GAssertion.cc: Ditto. |
| 912 |
* mc-boot/GAssertion.h: Ditto. |
| 913 |
* mc-boot/GBreak.cc: Ditto. |
| 914 |
* mc-boot/GBreak.h: Ditto. |
| 915 |
* mc-boot/GCOROUTINES.h: Ditto. |
| 916 |
* mc-boot/GCmdArgs.cc: Ditto. |
| 917 |
* mc-boot/GCmdArgs.h: Ditto. |
| 918 |
* mc-boot/GDebug.cc: Ditto. |
| 919 |
* mc-boot/GDebug.h: Ditto. |
| 920 |
* mc-boot/GDynamicStrings.cc: Ditto. |
| 921 |
* mc-boot/GDynamicStrings.h: Ditto. |
| 922 |
* mc-boot/GEnvironment.cc: Ditto. |
| 923 |
* mc-boot/GEnvironment.h: Ditto. |
| 924 |
* mc-boot/GFIO.cc: Ditto. |
| 925 |
* mc-boot/GFIO.h: Ditto. |
| 926 |
* mc-boot/GFormatStrings.cc: Ditto. |
| 927 |
* mc-boot/GFormatStrings.h: Ditto. |
| 928 |
* mc-boot/GFpuIO.cc: Ditto. |
| 929 |
* mc-boot/GFpuIO.h: Ditto. |
| 930 |
* mc-boot/GIO.cc: Ditto. |
| 931 |
* mc-boot/GIO.h: Ditto. |
| 932 |
* mc-boot/GIndexing.cc: Ditto. |
| 933 |
* mc-boot/GIndexing.h: Ditto. |
| 934 |
* mc-boot/GM2Dependent.cc: Ditto. |
| 935 |
* mc-boot/GM2Dependent.h: Ditto. |
| 936 |
* mc-boot/GM2EXCEPTION.cc: Ditto. |
| 937 |
* mc-boot/GM2EXCEPTION.h: Ditto. |
| 938 |
* mc-boot/GM2RTS.cc: Ditto. |
| 939 |
(M2RTS_Halt): Call libc_exit. |
| 940 |
(M2RTS_HaltC): Ditto. |
| 941 |
* mc-boot/GM2RTS.h: Rebuilt. |
| 942 |
* mc-boot/GMemUtils.cc: Ditto. |
| 943 |
* mc-boot/GMemUtils.h: Ditto. |
| 944 |
* mc-boot/GNumberIO.cc: Ditto. |
| 945 |
* mc-boot/GNumberIO.h: Ditto. |
| 946 |
* mc-boot/GPushBackInput.cc: Ditto. |
| 947 |
* mc-boot/GPushBackInput.h: Ditto. |
| 948 |
* mc-boot/GRTExceptions.cc: Ditto. |
| 949 |
* mc-boot/GRTExceptions.h: Ditto. |
| 950 |
* mc-boot/GRTco.h: Ditto. |
| 951 |
* mc-boot/GRTentity.h: Ditto. |
| 952 |
* mc-boot/GRTint.cc: Ditto. |
| 953 |
* mc-boot/GRTint.h: Ditto. |
| 954 |
* mc-boot/GSArgs.cc: Ditto. |
| 955 |
* mc-boot/GSArgs.h: Ditto. |
| 956 |
* mc-boot/GSFIO.cc: Ditto. |
| 957 |
* mc-boot/GSFIO.h: Ditto. |
| 958 |
* mc-boot/GSYSTEM.h: Ditto. |
| 959 |
* mc-boot/GSelective.h: Ditto. |
| 960 |
* mc-boot/GStdIO.cc: Ditto. |
| 961 |
* mc-boot/GStdIO.h: Ditto. |
| 962 |
* mc-boot/GStorage.cc: Ditto. |
| 963 |
* mc-boot/GStorage.h: Ditto. |
| 964 |
* mc-boot/GStrCase.cc: Ditto. |
| 965 |
* mc-boot/GStrCase.h: Ditto. |
| 966 |
* mc-boot/GStrIO.cc: Ditto. |
| 967 |
* mc-boot/GStrIO.h: Ditto. |
| 968 |
* mc-boot/GStrLib.cc: Ditto. |
| 969 |
* mc-boot/GStrLib.h: Ditto. |
| 970 |
* mc-boot/GStringConvert.cc: Ditto. |
| 971 |
* mc-boot/GStringConvert.h: Ditto. |
| 972 |
* mc-boot/GSysExceptions.h: Ditto. |
| 973 |
* mc-boot/GSysStorage.cc: Ditto. |
| 974 |
* mc-boot/GSysStorage.h: Ditto. |
| 975 |
* mc-boot/GTimeString.cc: Ditto. |
| 976 |
* mc-boot/GTimeString.h: Ditto. |
| 977 |
* mc-boot/GUnixArgs.h: Ditto. |
| 978 |
* mc-boot/Galists.cc: Ditto. |
| 979 |
* mc-boot/Galists.h: Ditto. |
| 980 |
* mc-boot/Gdecl.cc: Ditto. |
| 981 |
* mc-boot/Gdecl.h: Rebuilt. |
| 982 |
* mc-boot/Gdtoa.h: Ditto. |
| 983 |
* mc-boot/Gerrno.h: Ditto. |
| 984 |
* mc-boot/Gkeyc.cc: Ditto. |
| 985 |
* mc-boot/Gkeyc.h: Rebuilt. |
| 986 |
* mc-boot/Gldtoa.h: Ditto. |
| 987 |
* mc-boot/Glibc.h: Ditto. |
| 988 |
* mc-boot/Glibm.h: Ditto. |
| 989 |
* mc-boot/Glists.cc: Ditto. |
| 990 |
* mc-boot/Glists.h: Ditto. |
| 991 |
* mc-boot/GmcComment.cc: Ditto. |
| 992 |
* mc-boot/GmcComment.h: Ditto. |
| 993 |
* mc-boot/GmcComp.cc: Ditto. |
| 994 |
* mc-boot/GmcComp.h: Ditto. |
| 995 |
* mc-boot/GmcDebug.cc: Ditto. |
| 996 |
* mc-boot/GmcDebug.h: Ditto. |
| 997 |
* mc-boot/GmcError.cc: Ditto. |
| 998 |
* mc-boot/GmcError.h: Ditto. |
| 999 |
* mc-boot/GmcFileName.cc: Ditto. |
| 1000 |
* mc-boot/GmcFileName.h: Ditto. |
| 1001 |
* mc-boot/GmcLexBuf.cc: Ditto. |
| 1002 |
* mc-boot/GmcLexBuf.h: Ditto. |
| 1003 |
* mc-boot/GmcMetaError.cc: Ditto. |
| 1004 |
* mc-boot/GmcMetaError.h: Ditto. |
| 1005 |
* mc-boot/GmcOptions.cc: Ditto. |
| 1006 |
* mc-boot/GmcOptions.h: Ditto. |
| 1007 |
* mc-boot/GmcPreprocess.cc: Ditto. |
| 1008 |
* mc-boot/GmcPreprocess.h: Ditto. |
| 1009 |
* mc-boot/GmcPretty.cc: Ditto. |
| 1010 |
* mc-boot/GmcPretty.h: Ditto. |
| 1011 |
* mc-boot/GmcPrintf.cc: Ditto. |
| 1012 |
* mc-boot/GmcPrintf.h: Ditto. |
| 1013 |
* mc-boot/GmcQuiet.cc: Ditto. |
| 1014 |
* mc-boot/GmcQuiet.h: Ditto. |
| 1015 |
* mc-boot/GmcReserved.cc: Ditto. |
| 1016 |
* mc-boot/GmcReserved.h: Ditto. |
| 1017 |
* mc-boot/GmcSearch.cc: Ditto. |
| 1018 |
* mc-boot/GmcSearch.h: Ditto. |
| 1019 |
* mc-boot/GmcStack.cc: Ditto. |
| 1020 |
* mc-boot/GmcStack.h: Ditto. |
| 1021 |
* mc-boot/GmcStream.cc: Ditto. |
| 1022 |
* mc-boot/GmcStream.h: Ditto. |
| 1023 |
* mc-boot/Gmcflex.h: Ditto. |
| 1024 |
* mc-boot/Gmcp1.cc: Ditto. |
| 1025 |
* mc-boot/Gmcp1.h: Ditto. |
| 1026 |
* mc-boot/Gmcp2.cc: Ditto. |
| 1027 |
* mc-boot/Gmcp2.h: Ditto. |
| 1028 |
* mc-boot/Gmcp3.cc: Ditto. |
| 1029 |
* mc-boot/Gmcp3.h: Ditto. |
| 1030 |
* mc-boot/Gmcp4.cc: Ditto. |
| 1031 |
* mc-boot/Gmcp4.h: Ditto. |
| 1032 |
* mc-boot/Gmcp5.cc: Ditto. |
| 1033 |
* mc-boot/Gmcp5.h: Ditto. |
| 1034 |
* mc-boot/GnameKey.cc: Ditto. |
| 1035 |
* mc-boot/GnameKey.h: Ditto. |
| 1036 |
* mc-boot/GsymbolKey.cc: Ditto. |
| 1037 |
* mc-boot/GsymbolKey.h: Ditto. |
| 1038 |
* mc-boot/Gtermios.h: Ditto. |
| 1039 |
* mc-boot/Gtop.cc: Ditto. |
| 1040 |
* mc-boot/Gvarargs.cc: Ditto. |
| 1041 |
* mc-boot/Gvarargs.h: Ditto. |
| 1042 |
* mc-boot/Gwlists.cc: Ditto. |
| 1043 |
* mc-boot/Gwlists.h: Ditto. |
| 1044 |
* mc-boot/Gwrapc.h: Ditto. |
| 1045 |
* mc/decl.mod (cofft): New enum. |
| 1046 |
(cardinal64): Ditto. |
| 1047 |
(cofftN): New variable. |
| 1048 |
(cardinal64N): Ditto. |
| 1049 |
(isProcedure): Remove. |
| 1050 |
(getSymName): Add clause for cofft and cardinal64. |
| 1051 |
(makeBase): Ditto. |
| 1052 |
(isOrdinal): Ditto. |
| 1053 |
(getType): Ditto. |
| 1054 |
(doGetExprType): Ditto. |
| 1055 |
(getScope): Ditto. |
| 1056 |
(doExprC): Ditto. |
| 1057 |
(isSystem): Ditto. |
| 1058 |
(doSystemC): Ditto. |
| 1059 |
(doDependants): Ditto. |
| 1060 |
(visitDependants): Ditto. |
| 1061 |
(genKind): Ditto. |
| 1062 |
(doSystemM2): Ditto. |
| 1063 |
(doDupExpr): Ditto. |
| 1064 |
(makeSystem): Initialize cofftN and cardinal64N. |
| 1065 |
* mc/keyc.mod (useUIntMin): Remove. |
| 1066 |
(useUIntMax): Ditto. |
| 1067 |
* pge-boot/GIndexing.h: Rebuilt. |
| 1068 |
* pge-boot/GSEnvironment.h: Ditto. |
| 1069 |
* pge-boot/GScan.h: Ditto. |
| 1070 |
* pge-boot/Glibc.h: Ditto. |
| 1071 |
|
| 1072 |
2024-12-23 Wilken Gottwalt <[email protected]> |
| 1073 |
|
| 1074 |
* gm2-libs-log/InOut.mod: Fix bad identifier warning. |
| 1075 |
|
| 1076 |
2024-12-10 Gaius Mulley <[email protected]> |
| 1077 |
|
| 1078 |
PR modula2/117120 |
| 1079 |
* gm2-compiler/M2CaseList.mod (CaseBoundsResolved): Rewrite. |
| 1080 |
(ConvertNulStr2NulChar): New procedure function. |
| 1081 |
(NulStr2NulChar): Ditto. |
| 1082 |
(GetCaseExpression): Ditto. |
| 1083 |
(OverlappingCaseBound): Rewrite. |
| 1084 |
* gm2-compiler/M2GCCDeclare.mod (CheckResolveSubrange): Allow |
| 1085 |
'' to be used as the subrange low limit. |
| 1086 |
* gm2-compiler/M2GenGCC.mod (FoldConvert): Rewrite. |
| 1087 |
(PopKindTree): Ditto. |
| 1088 |
(BuildHighFromString): Reformat. |
| 1089 |
* gm2-compiler/SymbolTable.mod (PushConstString): Add test for |
| 1090 |
length 0 and PushChar (nul). |
| 1091 |
|
| 1092 |
2024-12-09 Gaius Mulley <[email protected]> |
| 1093 |
|
| 1094 |
PR modula2/115328 |
| 1095 |
* gm2-compiler/M2Options.def (GetEnableForward): New procedure |
| 1096 |
function. |
| 1097 |
(SetEnableForward): New procedure. |
| 1098 |
* gm2-compiler/M2Options.mod (GetEnableForward): New procedure |
| 1099 |
function. |
| 1100 |
(SetEnableForward): New procedure. |
| 1101 |
(EnableForward): New boolean. |
| 1102 |
* gm2-compiler/P1SymBuild.mod (EndBuildForward): Check |
| 1103 |
GetEnableForward and generate an error message if false. |
| 1104 |
|
| 1105 |
2024-12-07 Gaius Mulley <[email protected]> |
| 1106 |
|
| 1107 |
PR modula2/117948 |
| 1108 |
* gm2-compiler/P1Build.bnf (ForwardDeclaration): Pass token |
| 1109 |
position of the FORWARD keyword to EndBuildForward. |
| 1110 |
* gm2-compiler/P1SymBuild.def (EndBuildForward): New parameter |
| 1111 |
forwardPos. |
| 1112 |
* gm2-compiler/P1SymBuild.mod (EndBuildForward): Issue an error at |
| 1113 |
forwardPos if the Iso boolean is false. |
| 1114 |
|
| 1115 |
2024-12-05 Gaius Mulley <[email protected]> |
| 1116 |
|
| 1117 |
PR modula2/117904 |
| 1118 |
* gm2-compiler/M2GenGCC.mod (PerformLastForIterator): Add call to |
| 1119 |
BuildConvert when increment is > 0. |
| 1120 |
|
| 1121 |
2024-11-25 Gaius Mulley <[email protected]> |
| 1122 |
|
| 1123 |
PR modula2/117777 |
| 1124 |
* gm2-compiler/P0SyntaxCheck.bnf (AsmOperands): Allow term after |
| 1125 |
ConstExpression to be optional. |
| 1126 |
* gm2-compiler/P1Build.bnf (AsmOperands): Ditto. |
| 1127 |
* gm2-compiler/P2Build.bnf (AsmOperands): Ditto. |
| 1128 |
* gm2-compiler/PCBuild.bnf (AsmOperands): Ditto. |
| 1129 |
* gm2-compiler/PHBuild.bnf (AsmOperands): Ditto. |
| 1130 |
|
| 1131 |
2024-11-23 Maciej W. Rozycki <[email protected]> |
| 1132 |
|
| 1133 |
* Make-lang.in (m2 modula-2 modula2): Remove $(GCC_PARTS). |
| 1134 |
|
| 1135 |
2024-11-22 Andrew Pinski <[email protected]> |
| 1136 |
|
| 1137 |
PR bootstrap/117737 |
| 1138 |
* gm2-gcc/gcc-consolidation.h (INCLUDE_MEMORY): Remove. |
| 1139 |
* gm2-gcc/m2configure.cc (INCLUDE_MEMORY): Remove. |
| 1140 |
* mc-boot/GASCII.cc (INCLUDE_MEMORY): Remove. |
| 1141 |
* mc-boot/GASCII.h (INCLUDE_MEMORY): Remove. |
| 1142 |
* mc-boot/GArgs.cc (INCLUDE_MEMORY): Remove. |
| 1143 |
* mc-boot/GArgs.h (INCLUDE_MEMORY): Remove. |
| 1144 |
* mc-boot/GAssertion.cc (INCLUDE_MEMORY): Remove. |
| 1145 |
* mc-boot/GAssertion.h (INCLUDE_MEMORY): Remove. |
| 1146 |
* mc-boot/GBreak.cc (INCLUDE_MEMORY): Remove. |
| 1147 |
* mc-boot/GBreak.h (INCLUDE_MEMORY): Remove. |
| 1148 |
* mc-boot/GCOROUTINES.h (INCLUDE_MEMORY): Remove. |
| 1149 |
* mc-boot/GCmdArgs.cc (INCLUDE_MEMORY): Remove. |
| 1150 |
* mc-boot/GCmdArgs.h (INCLUDE_MEMORY): Remove. |
| 1151 |
* mc-boot/GDebug.cc (INCLUDE_MEMORY): Remove. |
| 1152 |
* mc-boot/GDebug.h (INCLUDE_MEMORY): Remove. Remove. |
| 1153 |
* mc-boot/GDynamicStrings.cc (INCLUDE_MEMORY): Remove. |
| 1154 |
* mc-boot/GDynamicStrings.h (INCLUDE_MEMORY): Remove. |
| 1155 |
* mc-boot/GEnvironment.cc (INCLUDE_MEMORY): Remove. |
| 1156 |
* mc-boot/GEnvironment.h (INCLUDE_MEMORY): Remove. |
| 1157 |
* mc-boot/GFIO.cc (INCLUDE_MEMORY): Remove. |
| 1158 |
* mc-boot/GFIO.h (INCLUDE_MEMORY): Remove. |
| 1159 |
* mc-boot/GFormatStrings.cc (INCLUDE_MEMORY): Remove. |
| 1160 |
* mc-boot/GFormatStrings.h (INCLUDE_MEMORY): Remove. |
| 1161 |
* mc-boot/GFpuIO.cc (INCLUDE_MEMORY): Remove. |
| 1162 |
* mc-boot/GFpuIO.h (INCLUDE_MEMORY): Remove. |
| 1163 |
* mc-boot/GIO.cc (INCLUDE_MEMORY): Remove. |
| 1164 |
* mc-boot/GIO.h (INCLUDE_MEMORY): Remove. |
| 1165 |
* mc-boot/GIndexing.cc (INCLUDE_MEMORY): Remove. |
| 1166 |
* mc-boot/GIndexing.h (INCLUDE_MEMORY): Remove. |
| 1167 |
* mc-boot/GM2Dependent.cc (INCLUDE_MEMORY): Remove. |
| 1168 |
* mc-boot/GM2Dependent.h (INCLUDE_MEMORY): Remove. |
| 1169 |
* mc-boot/GM2EXCEPTION.cc (INCLUDE_MEMORY): Remove. |
| 1170 |
* mc-boot/GM2EXCEPTION.h (INCLUDE_MEMORY): Remove. |
| 1171 |
* mc-boot/GM2RTS.cc (INCLUDE_MEMORY): Remove. |
| 1172 |
* mc-boot/GM2RTS.h (INCLUDE_MEMORY): Remove. Remove. |
| 1173 |
* mc-boot/GMemUtils.cc (INCLUDE_MEMORY): Remove. |
| 1174 |
* mc-boot/GMemUtils.h (INCLUDE_MEMORY): Remove. |
| 1175 |
* mc-boot/GNumberIO.cc (INCLUDE_MEMORY): Remove. |
| 1176 |
* mc-boot/GNumberIO.h (INCLUDE_MEMORY): Remove. |
| 1177 |
* mc-boot/GPushBackInput.cc (INCLUDE_MEMORY): Remove. |
| 1178 |
* mc-boot/GPushBackInput.h (INCLUDE_MEMORY): Remove. |
| 1179 |
* mc-boot/GRTExceptions.cc (INCLUDE_MEMORY): Remove. |
| 1180 |
* mc-boot/GRTExceptions.h (INCLUDE_MEMORY): Remove. |
| 1181 |
* mc-boot/GRTco.h (INCLUDE_MEMORY): Remove. |
| 1182 |
* mc-boot/GRTentity.h (INCLUDE_MEMORY): Remove. |
| 1183 |
* mc-boot/GRTint.cc (INCLUDE_MEMORY): Remove. |
| 1184 |
* mc-boot/GRTint.h (INCLUDE_MEMORY): Remove. |
| 1185 |
* mc-boot/GSArgs.cc (INCLUDE_MEMORY): Remove. |
| 1186 |
* mc-boot/GSArgs.h (INCLUDE_MEMORY): Remove. |
| 1187 |
* mc-boot/GSFIO.cc (INCLUDE_MEMORY): Remove. |
| 1188 |
* mc-boot/GSFIO.h (INCLUDE_MEMORY): Remove. |
| 1189 |
* mc-boot/GSYSTEM.h (INCLUDE_MEMORY): Remove. |
| 1190 |
* mc-boot/GSelective.h (INCLUDE_MEMORY): Remove. |
| 1191 |
* mc-boot/GStdIO.cc (INCLUDE_MEMORY): Remove. |
| 1192 |
* mc-boot/GStdIO.h (INCLUDE_MEMORY): Remove. |
| 1193 |
* mc-boot/GStorage.cc (INCLUDE_MEMORY): Remove. |
| 1194 |
* mc-boot/GStorage.h (INCLUDE_MEMORY): Remove. |
| 1195 |
* mc-boot/GStrCase.cc (INCLUDE_MEMORY): Remove. |
| 1196 |
* mc-boot/GStrCase.h (INCLUDE_MEMORY): Remove. |
| 1197 |
* mc-boot/GStrIO.cc (INCLUDE_MEMORY): Remove. |
| 1198 |
* mc-boot/GStrIO.h (INCLUDE_MEMORY): Remove. |
| 1199 |
* mc-boot/GStrLib.cc (INCLUDE_MEMORY): Remove. |
| 1200 |
* mc-boot/GStrLib.h (INCLUDE_MEMORY): Remove. |
| 1201 |
* mc-boot/GStringConvert.cc (INCLUDE_MEMORY): Remove. |
| 1202 |
* mc-boot/GStringConvert.h (INCLUDE_MEMORY): Remove. |
| 1203 |
* mc-boot/GSysExceptions.h (INCLUDE_MEMORY): Remove. |
| 1204 |
* mc-boot/GSysStorage.cc (INCLUDE_MEMORY): Remove. |
| 1205 |
* mc-boot/GSysStorage.h (INCLUDE_MEMORY): Remove. |
| 1206 |
* mc-boot/GTimeString.cc (INCLUDE_MEMORY): Remove. |
| 1207 |
* mc-boot/GTimeString.h (INCLUDE_MEMORY): Remove. |
| 1208 |
* mc-boot/GUnixArgs.h (INCLUDE_MEMORY): Remove. |
| 1209 |
* mc-boot/Galists.cc (INCLUDE_MEMORY): Remove. |
| 1210 |
* mc-boot/Galists.h (INCLUDE_MEMORY): Remove. |
| 1211 |
* mc-boot/Gdecl.cc (INCLUDE_MEMORY): Remove. |
| 1212 |
* mc-boot/Gdecl.h (INCLUDE_MEMORY): Remove. |
| 1213 |
* mc-boot/Gdtoa.h (INCLUDE_MEMORY): Remove. |
| 1214 |
* mc-boot/Gerrno.h (INCLUDE_MEMORY): Remove. |
| 1215 |
* mc-boot/Gkeyc.cc (INCLUDE_MEMORY): Remove. |
| 1216 |
(checkGccConfigSystem): Remove printing out `#define INCLUDE_MEMORY`. |
| 1217 |
* mc-boot/Gkeyc.h (INCLUDE_MEMORY): Remove. |
| 1218 |
* mc-boot/Gldtoa.h (INCLUDE_MEMORY): Remove. |
| 1219 |
* mc-boot/Glibc.h (INCLUDE_MEMORY): Remove. |
| 1220 |
* mc-boot/Glibm.h (INCLUDE_MEMORY): Remove. |
| 1221 |
* mc-boot/Glists.cc (INCLUDE_MEMORY): Remove. |
| 1222 |
* mc-boot/Glists.h (INCLUDE_MEMORY): Remove. |
| 1223 |
* mc-boot/GmcComment.cc (INCLUDE_MEMORY): Remove. |
| 1224 |
* mc-boot/GmcComment.h (INCLUDE_MEMORY): Remove. |
| 1225 |
* mc-boot/GmcComp.cc (INCLUDE_MEMORY): Remove. |
| 1226 |
* mc-boot/GmcComp.h (INCLUDE_MEMORY): Remove. |
| 1227 |
* mc-boot/GmcDebug.cc (INCLUDE_MEMORY): Remove. |
| 1228 |
* mc-boot/GmcDebug.h (INCLUDE_MEMORY): Remove. |
| 1229 |
* mc-boot/GmcError.cc (INCLUDE_MEMORY): Remove. |
| 1230 |
* mc-boot/GmcError.h (INCLUDE_MEMORY): Remove. |
| 1231 |
* mc-boot/GmcFileName.cc (INCLUDE_MEMORY): Remove. |
| 1232 |
* mc-boot/GmcFileName.h (INCLUDE_MEMORY): Remove. |
| 1233 |
* mc-boot/GmcLexBuf.cc (INCLUDE_MEMORY): Remove. |
| 1234 |
* mc-boot/GmcLexBuf.h (INCLUDE_MEMORY): Remove. |
| 1235 |
* mc-boot/GmcMetaError.cc (INCLUDE_MEMORY): Remove. |
| 1236 |
* mc-boot/GmcMetaError.h (INCLUDE_MEMORY): Remove. |
| 1237 |
* mc-boot/GmcOptions.cc (INCLUDE_MEMORY): Remove. |
| 1238 |
* mc-boot/GmcOptions.h (INCLUDE_MEMORY): Remove. |
| 1239 |
* mc-boot/GmcPreprocess.cc (INCLUDE_MEMORY): Remove. |
| 1240 |
* mc-boot/GmcPreprocess.h (INCLUDE_MEMORY): Remove. |
| 1241 |
* mc-boot/GmcPretty.cc (INCLUDE_MEMORY): Remove. |
| 1242 |
* mc-boot/GmcPretty.h (INCLUDE_MEMORY): Remove. |
| 1243 |
* mc-boot/GmcPrintf.cc (INCLUDE_MEMORY): Remove. |
| 1244 |
* mc-boot/GmcPrintf.h (INCLUDE_MEMORY): Remove. |
| 1245 |
* mc-boot/GmcQuiet.cc (INCLUDE_MEMORY): Remove. |
| 1246 |
* mc-boot/GmcQuiet.h (INCLUDE_MEMORY): Remove. |
| 1247 |
* mc-boot/GmcReserved.cc (INCLUDE_MEMORY): Remove. |
| 1248 |
* mc-boot/GmcReserved.h (INCLUDE_MEMORY): Remove. |
| 1249 |
* mc-boot/GmcSearch.cc (INCLUDE_MEMORY): Remove. |
| 1250 |
* mc-boot/GmcSearch.h (INCLUDE_MEMORY): Remove. |
| 1251 |
* mc-boot/GmcStack.cc (INCLUDE_MEMORY): Remove. |
| 1252 |
* mc-boot/GmcStack.h (INCLUDE_MEMORY): Remove. |
| 1253 |
* mc-boot/GmcStream.cc (INCLUDE_MEMORY): Remove. |
| 1254 |
* mc-boot/GmcStream.h (INCLUDE_MEMORY): Remove. |
| 1255 |
* mc-boot/Gmcflex.h (INCLUDE_MEMORY): Remove. |
| 1256 |
* mc-boot/Gmcp1.cc (INCLUDE_MEMORY): Remove. |
| 1257 |
* mc-boot/Gmcp1.h (INCLUDE_MEMORY): Remove. |
| 1258 |
* mc-boot/Gmcp2.cc (INCLUDE_MEMORY): Remove. |
| 1259 |
* mc-boot/Gmcp2.h (INCLUDE_MEMORY): Remove. |
| 1260 |
* mc-boot/Gmcp3.cc (INCLUDE_MEMORY): Remove. |
| 1261 |
* mc-boot/Gmcp3.h (INCLUDE_MEMORY): Remove. |
| 1262 |
* mc-boot/Gmcp4.cc (INCLUDE_MEMORY): Remove. |
| 1263 |
* mc-boot/Gmcp4.h (INCLUDE_MEMORY): Remove. |
| 1264 |
* mc-boot/Gmcp5.cc (INCLUDE_MEMORY): Remove. |
| 1265 |
* mc-boot/Gmcp5.h (INCLUDE_MEMORY): Remove. |
| 1266 |
* mc-boot/GnameKey.cc (INCLUDE_MEMORY): Remove. |
| 1267 |
* mc-boot/GnameKey.h (INCLUDE_MEMORY): Remove. |
| 1268 |
* mc-boot/GsymbolKey.cc (INCLUDE_MEMORY): Remove. |
| 1269 |
* mc-boot/GsymbolKey.h (INCLUDE_MEMORY): Remove. |
| 1270 |
* mc-boot/Gtermios.h (INCLUDE_MEMORY): Remove. |
| 1271 |
* mc-boot/Gtop.cc (INCLUDE_MEMORY): Remove. |
| 1272 |
* mc-boot/Gvarargs.cc (INCLUDE_MEMORY): Remove. |
| 1273 |
* mc-boot/Gvarargs.h (INCLUDE_MEMORY): Remove. |
| 1274 |
* mc-boot/Gwlists.cc (INCLUDE_MEMORY): Remove. |
| 1275 |
* mc-boot/Gwlists.h (INCLUDE_MEMORY): Remove. |
| 1276 |
* mc-boot/Gwrapc.h (INCLUDE_MEMORY): Remove. |
| 1277 |
* pge-boot/GIndexing.h (INCLUDE_MEMORY): Remove. |
| 1278 |
* pge-boot/GSEnvironment.h (INCLUDE_MEMORY): Remove. |
| 1279 |
* pge-boot/GScan.h (INCLUDE_MEMORY): Remove. |
| 1280 |
|
| 1281 |
2024-11-18 Gaius Mulley <[email protected]> |
| 1282 |
|
| 1283 |
PR modula2/117555 |
| 1284 |
* gm2-libs-iso/M2EXCEPTION.mod (M2Exception): Add missing |
| 1285 |
return statement. |
| 1286 |
* gm2-libs-iso/RealConv.mod (ValueReal): Ditto. |
| 1287 |
* gm2-libs-iso/RndFile.mod (StartPos): Ditto. |
| 1288 |
(EndPos): Ditto. |
| 1289 |
(NewPos): Ditto. |
| 1290 |
* gm2-libs-iso/ShortConv.mod (ValueReal): Ditto. |
| 1291 |
* gm2-libs-iso/WholeConv.mod (ValueInt): Ditto. |
| 1292 |
(ValueCard): Ditto. |
| 1293 |
|
| 1294 |
2024-11-18 Gaius Mulley <[email protected]> |
| 1295 |
|
| 1296 |
PR modula2/117660 |
| 1297 |
* gm2-compiler/P2Build.bnf (ArrayType): Update tok with the |
| 1298 |
composite token produced during array type declaration. |
| 1299 |
* gm2-compiler/P2SymBuild.mod (EndBuildArray): Create the |
| 1300 |
combinedtok and store it into the symbol table. |
| 1301 |
Also ensure combinedtok is pushed to the quad stack. |
| 1302 |
(BuildFieldArray): Preserve typetok. |
| 1303 |
* gm2-compiler/SymbolTable.def (PutArray): Rename parameters. |
| 1304 |
* gm2-compiler/SymbolTable.mod (PutArray): Rename parameters. |
| 1305 |
|
| 1306 |
2024-11-18 Gaius Mulley <[email protected]> |
| 1307 |
|
| 1308 |
PR modula2/117371 |
| 1309 |
* gm2-compiler/M2GenGCC.mod (PerformLastForIterator): |
| 1310 |
Add check for zero step value and issue an error message. |
| 1311 |
|
| 1312 |
2024-11-16 Gaius Mulley <[email protected]> |
| 1313 |
|
| 1314 |
PR modula2/117555 |
| 1315 |
* gm2-libs-iso/EXCEPTIONS.mod (CurrentNumber): Add return |
| 1316 |
statement. |
| 1317 |
* gm2-libs-iso/IOChan.mod (ReadResult): Ditto. |
| 1318 |
(CurrentFlags): Ditto. |
| 1319 |
(DeviceError): Ditto. |
| 1320 |
* gm2-libs-iso/IOLink.mod (DeviceTablePtrValue): Ditto. |
| 1321 |
* gm2-libs-iso/LongConv.mod (ValueReal): Ditto. |
| 1322 |
* gm2-libs/M2RTS.mod (Halt): Add noreturn attribute. |
| 1323 |
Add exit (1). |
| 1324 |
(HaltC): Add exit (1). |
| 1325 |
* pge-boot/GM2RTS.cc (M2RTS_Halt): Add exit (1). |
| 1326 |
(M2RTS_HaltC): Ditto. |
| 1327 |
|
| 1328 |
2024-11-15 Gaius Mulley <[email protected]> |
| 1329 |
|
| 1330 |
PR modula2/117371 |
| 1331 |
* gm2-compiler/M2Base.mod (MixMetaTypes): Add parameter TRUE to |
| 1332 |
MetaErrorDecl. |
| 1333 |
(IsUserType): Test against ZType. |
| 1334 |
(MixTypesDecl): Test for ZType. |
| 1335 |
* gm2-compiler/M2GenGCC.mod (ErrorMessageDecl): Add parameter TRUE to |
| 1336 |
MetaErrorDecl. |
| 1337 |
(CodeLastForIterator): New procedure. |
| 1338 |
(FoldLastForIterator): Ditto. |
| 1339 |
(PerformLastForIterator): Ditto. |
| 1340 |
(CodeStatement): Add case clause for LastForIteratorOp. |
| 1341 |
(ErrorMessageDecl): Add iserror parameter. |
| 1342 |
Call MetaErrorDecl with iserror parameter. |
| 1343 |
(checkIncorrectMeta): Call MetaErrorDecl with TRUE parameter. |
| 1344 |
(CheckBinaryExpressionTypes): Ditto. |
| 1345 |
(CheckElementSetTypes): Ditto. |
| 1346 |
* gm2-compiler/M2LexBuf.def (MakeVirtualTok): Update comment |
| 1347 |
detailing the fall back when UnknownTokenNo is encountered. |
| 1348 |
(MakeVirtual2Tok): Ditto. |
| 1349 |
* gm2-compiler/M2LexBuf.mod (MakeVirtualTok): Check against |
| 1350 |
UnknownTokenNo. |
| 1351 |
(MakeVirtual2Tok): Ditto. |
| 1352 |
* gm2-compiler/M2MetaError.def (MetaErrorDecl): Add error parameter. |
| 1353 |
* gm2-compiler/M2MetaError.mod (MetaErrorDecl): Add error |
| 1354 |
parameter. |
| 1355 |
Issue warning if error is FALSE. |
| 1356 |
* gm2-compiler/M2Quads.def (QuadOperator): Add LastForIteratorOp. |
| 1357 |
* gm2-compiler/M2Quads.mod (AddQuadInformation): New case clause |
| 1358 |
LastForIteratorOp. |
| 1359 |
(CheckAddTuple2Read): New procedure. |
| 1360 |
(BuildForLoopToRangeCheck): Remove. |
| 1361 |
(ForLoopLastIteratorVariable): Ditto. |
| 1362 |
(ForLoopLastIteratorConstant): Ditto. |
| 1363 |
(ForLoopLastIterator): Reimplement. |
| 1364 |
(BuildForToByDo): Remove ByType from call to ForLoopLastIterator. |
| 1365 |
(WriteQuad): New case clause LastForIteratorOp. |
| 1366 |
(WriteOperator): Ditto. |
| 1367 |
* gm2-compiler/M2Students.def |
| 1368 |
(CheckForVariableThatLooksLikeKeyword): Replace with ... |
| 1369 |
(CheckVariableAgainstKeyword): ... this. |
| 1370 |
* gm2-compiler/M2Students.mod |
| 1371 |
(CheckForVariableThatLooksLikeKeyword): Replace with ... |
| 1372 |
(CheckVariableAgainstKeyword): ... this. |
| 1373 |
* gm2-compiler/M2SymInit.mod (CheckLastForIterator): New |
| 1374 |
procedure. |
| 1375 |
(CheckReadBeforeInitQuad): New case clause to call |
| 1376 |
CheckLastForIterator. |
| 1377 |
* gm2-compiler/P2SymBuild.mod: Replace |
| 1378 |
CheckForVariableThatLooksLikeKeyword with CheckVariableAgainstKeyword. |
| 1379 |
|
| 1380 |
2024-11-15 Gaius Mulley <[email protected]> |
| 1381 |
|
| 1382 |
* Make-lang.in (m2/gm2-compiler-boot/P0SyntaxCheck.c): |
| 1383 |
New rule. |
| 1384 |
(m2/gm2-compiler-boot/P0SyntaxCheck.o): Ditto. |
| 1385 |
(m2/gm2-compiler-boot/P1Build.c): Ditto. |
| 1386 |
(m2/gm2-compiler-boot/P1Build.o): Ditto. |
| 1387 |
(m2/gm2-compiler-boot/P2Build.c): Ditto. |
| 1388 |
(m2/gm2-compiler-boot/P2Build.o): Ditto. |
| 1389 |
(m2/gm2-compiler-boot/P3Build.c): Ditto. |
| 1390 |
(m2/gm2-compiler-boot/P3Build.o): Ditto. |
| 1391 |
(m2/gm2-compiler-boot/PCBuild.c): Ditto. |
| 1392 |
(m2/gm2-compiler-boot/PCBuild.o): Ditto. |
| 1393 |
(m2/gm2-compiler-boot/PHBuild.c): Ditto. |
| 1394 |
(m2/gm2-compiler-boot/PHBuild.o): Ditto. |
| 1395 |
|
| 1396 |
2024-11-11 Gaius Mulley <[email protected]> |
| 1397 |
|
| 1398 |
* gm2-compiler/M2Base.def (MixTypes): Rename parameters. |
| 1399 |
(MixTypesDecl): New procedure function. |
| 1400 |
* gm2-compiler/M2Base.mod (BuildOrdFunctions): Add |
| 1401 |
DefProcedure parameter to PutFunction. |
| 1402 |
(BuildTruncFunctions): Ditto. |
| 1403 |
(BuildFloatFunctions): Ditto. |
| 1404 |
(BuildIntFunctions): Ditto. |
| 1405 |
(InitBaseFunctions): Ditto. |
| 1406 |
(MixTypesDecl): New procedure function. |
| 1407 |
(MixTypes): Reimplement. |
| 1408 |
* gm2-compiler/M2Check.mod (checkProcType): Replace |
| 1409 |
NoOfParam with NoOfParamAny. |
| 1410 |
Replace IsVarParam with IsVarParamAny. |
| 1411 |
(checkProcedureProcType): Ditto. |
| 1412 |
* gm2-compiler/M2Error.def: Remove unnecessary export qualified list. |
| 1413 |
* gm2-compiler/M2GCCDeclare.mod: Replace NoOfParam with NoOfParamAny. |
| 1414 |
Replace IsVarParam with IsVarParamAny. |
| 1415 |
(DeclareProcedureToGccWholeProgram): Rename son to |
| 1416 |
Variable. |
| 1417 |
(DeclareProcedureToGccSeparateProgram): Ditto. |
| 1418 |
(PrintKind): New procedure. |
| 1419 |
(PrintProcedureParameters): Ditto. |
| 1420 |
(PrintProcedureReturnType): Ditto. |
| 1421 |
(PrintProcedure): Reimplement. |
| 1422 |
(PrintProcTypeParameters): New procedure. |
| 1423 |
(PrintProcType): Ditto. |
| 1424 |
(DeclareProcType): Rename Son to Parameter. |
| 1425 |
* gm2-compiler/M2GenGCC.mod: Replace NoOfParam with NoOfParamAny. |
| 1426 |
Replace IsVarParam with IsVarParamAny. |
| 1427 |
(ErrorMessageDecl): New procedure. |
| 1428 |
(checkIncorrectMeta): Replace call to MetaErrorT2 with |
| 1429 |
ErrorMessageDecl. |
| 1430 |
(ComparisonMixTypes): Add varleft and varright parameters. |
| 1431 |
Adjust all callers of ComparisonMixTypes. |
| 1432 |
* gm2-compiler/M2MetaError.def (MetaErrorDecl): New procedure. |
| 1433 |
* gm2-compiler/M2MetaError.mod (MetaErrorDecl): New procedure. |
| 1434 |
* gm2-compiler/M2Options.def (SetXCode): Add -fd flag description |
| 1435 |
to comment. |
| 1436 |
* gm2-compiler/M2Options.mod (SetXCode): Add -fd flag description |
| 1437 |
to comment. |
| 1438 |
* gm2-compiler/M2Quads.mod (CheckBreak): New procedure. |
| 1439 |
Replace NoOfParam with NoOfParamAny. |
| 1440 |
Replace IsVarParam with IsVarParamAny. |
| 1441 |
(FailParameter): Reimplement using GetVarDeclFullTok. |
| 1442 |
Generate message for formal parameter, actual parameter and |
| 1443 |
declaration of actual parameter. |
| 1444 |
(WarnParameter): Ditto. |
| 1445 |
(CheckBuildFunction): Reimplement error message using MetaErrorT1. |
| 1446 |
* gm2-compiler/M2Range.mod: Replace NoOfParam with NoOfParamAny. |
| 1447 |
Replace IsVarParam with IsVarParamAny. |
| 1448 |
* gm2-compiler/M2Scaffold.mod (DeclareScaffoldFunctions): Call |
| 1449 |
PutProcedureDefined after every procedure declaration. |
| 1450 |
(DeclareArgEnvParams): Add ProperProcedure parameter to PutParam. |
| 1451 |
* gm2-compiler/M2Size.mod (MakeSize): Add DefProcedure parameter |
| 1452 |
to PutFunction. |
| 1453 |
* gm2-compiler/M2Swig.mod: Replace NoOfParam with NoOfParamAny. |
| 1454 |
Replace IsVarParam with IsVarParamAny. |
| 1455 |
* gm2-compiler/M2SymInit.mod: Ditto. |
| 1456 |
* gm2-compiler/M2System.mod (InitSystem): Add DefProcedure |
| 1457 |
parameter to PutFunction. |
| 1458 |
* gm2-compiler/P1SymBuild.mod (StartBuildProcedure): Reimplement. |
| 1459 |
(EndBuildProcedure): Ditto. |
| 1460 |
(EndBuildForward): Ditto. |
| 1461 |
* gm2-compiler/P2Build.bnf (BuildProcedureDefinedByForward): |
| 1462 |
Remove. |
| 1463 |
(BuildProcedureDefinedByProper): Ditto. |
| 1464 |
(ForwardDeclaration): Remove BuildProcedureDefinedByForward. |
| 1465 |
(BuildNoReturnAttribute): Remove parameter. |
| 1466 |
* gm2-compiler/P2SymBuild.def (BuildNoReturnAttribute): Remove |
| 1467 |
parameter. |
| 1468 |
(BuildProcedureDefinedByForward): Remove. |
| 1469 |
(BuildProcedureDefinedByProper): Ditto. |
| 1470 |
* gm2-compiler/P2SymBuild.mod (Import): Remove |
| 1471 |
AreParametersDefinedInDefinition, |
| 1472 |
AreParametersDefinedInImplementation, |
| 1473 |
AreProcedureParametersDefined, |
| 1474 |
ParametersDefinedInDefinition, |
| 1475 |
ParametersDefinedInImplementation, |
| 1476 |
GetProcedureDeclaredDefinition, |
| 1477 |
GetProcedureDeclaredForward, |
| 1478 |
GetProcedureDeclaredProper, |
| 1479 |
GetParametersDefinedByForward, |
| 1480 |
GetParametersDefinedByProper and |
| 1481 |
PutProcedureNoReturn. |
| 1482 |
Add PutProcedureParametersDefined, |
| 1483 |
GetProcedureParametersDefined, |
| 1484 |
GetProcedureKindDesc, |
| 1485 |
GetProcedureDeclaredTok, |
| 1486 |
GetProcedureKind, |
| 1487 |
GetReturnTypeTok, |
| 1488 |
SetReturnOptional, |
| 1489 |
IsReturnOptional, |
| 1490 |
PutProcedureNoReturn and |
| 1491 |
PutProcedureDefined. |
| 1492 |
(Debug): New procedure. |
| 1493 |
(P2StartBuildDefModule): Space formatting. |
| 1494 |
(BuildVariable): Reimplement to record full declaration. |
| 1495 |
(StartBuildProcedure): Reimplement using token to determine |
| 1496 |
the kind of procedure. |
| 1497 |
(BuildProcedureHeading): Ditto. |
| 1498 |
(BuildFPSection): Ditto. |
| 1499 |
(BuildVarArgs): Ditto. |
| 1500 |
(BuildOptArg): Ditto. |
| 1501 |
(BuildProcedureDefinedByForward): Remove. |
| 1502 |
(BuildProcedureDefinedByProper): Ditto. |
| 1503 |
(BuildFormalParameterSection): Reimplement so that the |
| 1504 |
quad stack is unchanged. |
| 1505 |
(CheckFormalParameterSection): Ditto. |
| 1506 |
(RemoveFPParameters): New procedure. |
| 1507 |
(ParameterError): Reimplement. |
| 1508 |
(StartBuildFormalParameters): Add annotation. |
| 1509 |
(ParameterMismatch): Reimplement. |
| 1510 |
(EndBuildFormalParameters): Reimplement to check against |
| 1511 |
all procedure kinds. |
| 1512 |
(GetSourceDesc): Remove. |
| 1513 |
(GetCurSrcDesc): Ditto. |
| 1514 |
(GetDeclared): Ditto. |
| 1515 |
(ReturnTypeMismatch): Reimplement. |
| 1516 |
(BuildFunction): Ditto. |
| 1517 |
(BuildOptFunction): Ditto. |
| 1518 |
(CheckOptFunction): New procedure. |
| 1519 |
(BuildNoReturnAttribute): Remove parameter and obtain |
| 1520 |
procedure symbol from quad stack. |
| 1521 |
(CheckProcedureReturn): New procedure. |
| 1522 |
* gm2-compiler/P3SymBuild.mod (BuildOptArgInitializer): |
| 1523 |
Preserve ProcSym tok on the quad stack. |
| 1524 |
Add Assert. |
| 1525 |
* gm2-compiler/PCSymBuild.mod (fixupProcedureType): Replace |
| 1526 |
NoOfParam with NoOfParamAny. |
| 1527 |
* gm2-compiler/SymbolTable.def (GetNthParam): Add ProcedureKind |
| 1528 |
parameter. |
| 1529 |
(PutFunction): Ditto. |
| 1530 |
(PutOptFunction): Ditto. |
| 1531 |
(IsReturnOptional): Ditto. |
| 1532 |
(PutParam): Ditto. |
| 1533 |
(PutVarParam): Ditto. |
| 1534 |
(PutParamName): Ditto. |
| 1535 |
(PutProcedureNoReturn): Ditto. |
| 1536 |
(IsProcedureNoReturn): Ditto. |
| 1537 |
(IsVarParam): Ditto. |
| 1538 |
(IsUnboundedParam): Ditto. |
| 1539 |
(NoOfParam): Ditto. |
| 1540 |
(ForeachLocalSymDo): Ditto. |
| 1541 |
(GetProcedureKind): Ditto. |
| 1542 |
(GetProcedureDeclaredTok): Ditto. |
| 1543 |
(PutProcedureDeclaredTok): Ditto. |
| 1544 |
(GetReturnTypeTok): Ditto. |
| 1545 |
(PutReturnTypeTok): Ditto. |
| 1546 |
(PutParametersDefinedByForward): New procedure. |
| 1547 |
(PutProcedureParametersDefined): Ditto. |
| 1548 |
(PutProcedureDefined): Ditto. |
| 1549 |
(GetParametersDefinedByProper): Ditto. |
| 1550 |
(GetProcedureDeclaredForward): Ditto. |
| 1551 |
(GetProcedureDeclaredProper): Ditto. |
| 1552 |
(PutProcedureDeclaredProper): Ditto. |
| 1553 |
(GetProcedureDeclaredDefinition): Ditto. |
| 1554 |
(PutProcedureDeclaredDefinition): Ditto. |
| 1555 |
(GetProcedureDefined): Ditto. |
| 1556 |
(PutUseOptArg): Ditto. |
| 1557 |
(UsesOptArg): Ditto. |
| 1558 |
(PutOptArgInit): Ditto. |
| 1559 |
(SetReturnOptional): Ditto. |
| 1560 |
(UsesOptArgAny): Ditto. |
| 1561 |
(GetProcedureKindDesc): Ditto. |
| 1562 |
(IsReturnOptionalAny): New procedure function. |
| 1563 |
(GetNthParamAny): Ditto. |
| 1564 |
(NoOfParamAny): Ditto. |
| 1565 |
(IsProcedureAnyNoReturn): Ditto. |
| 1566 |
(AreParametersDefinedInImplementation): Remove. |
| 1567 |
(ParametersDefinedInImplementation): Ditto. |
| 1568 |
(AreParametersDefinedInDefinition): Ditto. |
| 1569 |
(AreProcedureParametersDefined): Ditto. |
| 1570 |
(ParametersDefinedInDefinition): Ditto. |
| 1571 |
(ProcedureParametersDefined): Ditto. |
| 1572 |
(PutParametersDefinedByProper): Ditto. |
| 1573 |
(PutProcedureDeclaredForward): Ditto. |
| 1574 |
(GetParametersDefinedByForward): Ditto. |
| 1575 |
(GetProcedureParametersDefined): Ditto. |
| 1576 |
(PushOffset): Ditto. |
| 1577 |
(PopSize): Ditto. |
| 1578 |
(PushParamSize): Ditto. |
| 1579 |
(PushSumOfLocalVarSize): Ditto. |
| 1580 |
(PushSumOfParamSize): Ditto. |
| 1581 |
(PopOffset): Ditto. |
| 1582 |
(PopSumOfParamSize): Ditto. |
| 1583 |
* gm2-compiler/SymbolTable.mod (MakeProcedure): Reimplement. |
| 1584 |
(PutProcedureNoReturn): Add ProcedureKind parameter. |
| 1585 |
(GetNthParam): Ditto. |
| 1586 |
(PutFunction): Ditto. |
| 1587 |
(PutOptFunction): Ditto. |
| 1588 |
(IsReturnOptional): Ditto. |
| 1589 |
(MakeVariableForParam): Ditto. |
| 1590 |
(PutParam): Ditto. |
| 1591 |
(PutVarParam): Ditto. |
| 1592 |
(PutParamName): Ditto. |
| 1593 |
(AddParameter): Ditto. |
| 1594 |
(IsVarParam): Ditto. |
| 1595 |
(IsVarParamAny): Ditto. |
| 1596 |
(NoOfParam): Ditto. |
| 1597 |
(HasVarParameters): Ditto. |
| 1598 |
(IsUnboundedParam): Ditto. |
| 1599 |
(PutUseVarArgs): Ditto. |
| 1600 |
(UsesVarArgs): Ditto. |
| 1601 |
(PutUseOptArg): Ditto. |
| 1602 |
(UsesOptArg): Ditto. |
| 1603 |
(UsesOptArgAny): Ditto. |
| 1604 |
(PutOptArgInit): Ditto. |
| 1605 |
(IsProcedure): Ditto. |
| 1606 |
(IsPointer): Ditto. |
| 1607 |
(IsRecord): Ditto. |
| 1608 |
(IsArray): Ditto. |
| 1609 |
(IsEnumeration): Ditto. |
| 1610 |
(IsUnbounded): Ditto. |
| 1611 |
(IsSet): Ditto. |
| 1612 |
(IsSetPacked): Ditto. |
| 1613 |
(CheckUnbounded): Ditto. |
| 1614 |
(IsOAFamily): Ditto. |
| 1615 |
(IsModuleWithinProcedure): Ditto. |
| 1616 |
(GetDeclaredDef): Ditto. |
| 1617 |
(GetDeclaredMod): Ditto. |
| 1618 |
(GetDeclaredFor): Ditto. |
| 1619 |
(GetProcedureDeclaredForward): Ditto. |
| 1620 |
(GetProcedureKind): Ditto. |
| 1621 |
(PutProcedureDeclaredForward): Ditto. |
| 1622 |
(GetProcedureDeclaredTok): Ditto. |
| 1623 |
(GetProcedureDeclaredProper): Ditto. |
| 1624 |
(PutProcedureDeclaredTok): Ditto. |
| 1625 |
(PutProcedureDeclaredProper): Ditto. |
| 1626 |
(GetReturnTypeTok): Ditto. |
| 1627 |
(GetProcedureDeclaredDefinition): Ditto. |
| 1628 |
(PutReturnTypeTok): Ditto. |
| 1629 |
(PutProcedureDeclaredDefinition): Ditto. |
| 1630 |
(GetProcedureKindDesc): Ditto. |
| 1631 |
(IsProcedureVariable): Ditto. |
| 1632 |
(IsAModula2Type): Ditto. |
| 1633 |
(GetParam): Ditto. |
| 1634 |
(ProcedureParametersDefined): Ditto. |
| 1635 |
(AreParametersDefinedInImplementation): Remove. |
| 1636 |
(AreParametersDefinedInDefinition): Ditto. |
| 1637 |
(AreProcedureParametersDefined): Ditto. |
| 1638 |
(IsSizeSolved): Ditto. |
| 1639 |
(IsOffsetSolved): Ditto. |
| 1640 |
(IsValueSolved): Ditto. |
| 1641 |
(IsSumOfParamSizeSolved): Ditto. |
| 1642 |
(PushSize): Ditto. |
| 1643 |
(PushOffset): Ditto. |
| 1644 |
(PopSize): Ditto. |
| 1645 |
(PushValue): Ditto. |
| 1646 |
(PushParamSize): Ditto. |
| 1647 |
(PushSumOfLocalVarSize): Ditto. |
| 1648 |
(PushSumOfParamSize): Ditto. |
| 1649 |
(PushVarSize): Ditto. |
| 1650 |
(PopValue): Ditto. |
| 1651 |
(PopSize): Ditto. |
| 1652 |
(PopOffset): Ditto. |
| 1653 |
(PopSumOfParamSize): Ditto. |
| 1654 |
(PutParametersDefinedByForward): New procedure. |
| 1655 |
(PutProcedureParametersDefined): Ditto. |
| 1656 |
(PutProcedureDefined): Ditto. |
| 1657 |
(GetParametersDefinedByProper): Ditto. |
| 1658 |
(GetProcedureDeclaredForward): Ditto. |
| 1659 |
(GetProcedureDeclaredProper): Ditto. |
| 1660 |
(PutProcedureDeclaredProper): Ditto. |
| 1661 |
(GetProcedureDeclaredDefinition): Ditto. |
| 1662 |
(PutProcedureDeclaredDefinition): Ditto. |
| 1663 |
(GetProcedureDefined): Ditto. |
| 1664 |
(PutUseOptArg): Ditto. |
| 1665 |
(UsesOptArg): Ditto. |
| 1666 |
(PutOptArgInit): Ditto. |
| 1667 |
(SetReturnOptional): Ditto. |
| 1668 |
(UsesOptArgAny): Ditto. |
| 1669 |
(GetProcedureKindDesc): Ditto. |
| 1670 |
(PutParametersDefinedByProper): Ditto. |
| 1671 |
(GetParametersDefinedByProper): Ditto. |
| 1672 |
(IsReturnOptionalAny): New procedure function. |
| 1673 |
(IsProcedureAnyDefaultBoolean): Ditto. |
| 1674 |
(IsProcedureAnyBoolean): Ditto. |
| 1675 |
(IsProcedureAnyNoReturn): Ditto. |
| 1676 |
(GetNthParamAny): Ditto. |
| 1677 |
(NoOfParamAny): Ditto. |
| 1678 |
(IsProcedureAnyNoReturn): Ditto. |
| 1679 |
(GetProcedureKind): Ditto. |
| 1680 |
(IsVarParamAny): Ditto. |
| 1681 |
(IsUnboundedParamAny): Ditto. |
| 1682 |
(ForeachParamSymDo): New comment. |
| 1683 |
* gm2-libs-coroutines/SYSTEM.mod: Reformat. |
| 1684 |
|
| 1685 |
2024-11-09 Jakub Jelinek <[email protected]> |
| 1686 |
|
| 1687 |
* Make-lang.in (m2_OBJS): Add $(BUILD-LIBS-BOOT), |
| 1688 |
$(BUILD-COMPILER-BOOT) and $(MC_LIBS). |
| 1689 |
|
| 1690 |
2024-10-25 Jakub Jelinek <[email protected]> |
| 1691 |
|
| 1692 |
* mc-boot/GFpuIO.cc: Remove trailing whitespace. |
| 1693 |
* mc-boot/GFIO.cc: Likewise. |
| 1694 |
* mc-boot/GFormatStrings.cc: Likewise. |
| 1695 |
* mc-boot/GCmdArgs.cc: Likewise. |
| 1696 |
* mc-boot/GDebug.h: Likewise. |
| 1697 |
* mc-boot/GM2Dependent.cc: Likewise. |
| 1698 |
* mc-boot/GRTint.cc: Likewise. |
| 1699 |
* mc-boot/GDebug.cc: Likewise. |
| 1700 |
* mc-boot/GmcError.cc: Likewise. |
| 1701 |
* mc-boot/Gmcp4.cc: Likewise. |
| 1702 |
* mc-boot/GM2RTS.cc: Likewise. |
| 1703 |
* mc-boot/GIO.cc: Likewise. |
| 1704 |
* mc-boot/Gmcp5.cc: Likewise. |
| 1705 |
* mc-boot/GDynamicStrings.cc: Likewise. |
| 1706 |
* mc-boot/Gmcp1.cc: Likewise. |
| 1707 |
* mc-boot/GFormatStrings.h: Likewise. |
| 1708 |
* mc-boot/Gmcp2.cc: Likewise. |
| 1709 |
* mc-boot/Gmcp3.cc: Likewise. |
| 1710 |
* pge-boot/GFIO.cc: Likewise. |
| 1711 |
* pge-boot/GDebug.h: Likewise. |
| 1712 |
* pge-boot/GM2Dependent.cc: Likewise. |
| 1713 |
* pge-boot/GDebug.cc: Likewise. |
| 1714 |
* pge-boot/GM2RTS.cc: Likewise. |
| 1715 |
* pge-boot/GSymbolKey.cc: Likewise. |
| 1716 |
* pge-boot/GIO.cc: Likewise. |
| 1717 |
* pge-boot/GIndexing.cc: Likewise. |
| 1718 |
* pge-boot/GDynamicStrings.cc: Likewise. |
| 1719 |
* pge-boot/GFormatStrings.h: Likewise. |
| 1720 |
|
| 1721 |
2024-10-24 David Malcolm <[email protected]> |
| 1722 |
Gaius Mulley <[email protected]> |
| 1723 |
|
| 1724 |
PR other/116613 |
| 1725 |
* gm2-gcc/gcc-consolidation.h: Add #define INCLUDE_MEMORY. |
| 1726 |
* gm2-gcc/m2configure.cc: Likewise. |
| 1727 |
* mc-boot/GASCII.cc: Regenerate. |
| 1728 |
* mc-boot/GASCII.h: Ditto. |
| 1729 |
* mc-boot/GArgs.cc: Ditto. |
| 1730 |
* mc-boot/GArgs.h: Ditto. |
| 1731 |
* mc-boot/GAssertion.cc: Ditto. |
| 1732 |
* mc-boot/GAssertion.h: Ditto. |
| 1733 |
* mc-boot/GBreak.cc: Ditto. |
| 1734 |
* mc-boot/GBreak.h: Ditto. |
| 1735 |
* mc-boot/GCOROUTINES.h: Ditto. |
| 1736 |
* mc-boot/GCmdArgs.cc: Ditto. |
| 1737 |
* mc-boot/GCmdArgs.h: Ditto. |
| 1738 |
* mc-boot/GDebug.cc: Ditto. |
| 1739 |
* mc-boot/GDebug.h: Ditto. |
| 1740 |
* mc-boot/GDynamicStrings.cc: Ditto. |
| 1741 |
* mc-boot/GDynamicStrings.h: Ditto. |
| 1742 |
* mc-boot/GEnvironment.cc: Ditto. |
| 1743 |
* mc-boot/GEnvironment.h: Ditto. |
| 1744 |
* mc-boot/GFIO.cc: Ditto. |
| 1745 |
* mc-boot/GFIO.h: Ditto. |
| 1746 |
* mc-boot/GFormatStrings.cc: Ditto. |
| 1747 |
* mc-boot/GFormatStrings.h: Ditto. |
| 1748 |
* mc-boot/GFpuIO.cc: Ditto. |
| 1749 |
* mc-boot/GFpuIO.h: Ditto. |
| 1750 |
* mc-boot/GIO.cc: Ditto. |
| 1751 |
* mc-boot/GIO.h: Ditto. |
| 1752 |
* mc-boot/GIndexing.cc: Ditto. |
| 1753 |
* mc-boot/GIndexing.h: Ditto. |
| 1754 |
* mc-boot/GM2Dependent.cc: Ditto. |
| 1755 |
* mc-boot/GM2Dependent.h: Ditto. |
| 1756 |
* mc-boot/GM2EXCEPTION.cc: Ditto. |
| 1757 |
* mc-boot/GM2EXCEPTION.h: Ditto. |
| 1758 |
* mc-boot/GM2RTS.cc: Ditto. |
| 1759 |
* mc-boot/GM2RTS.h: Ditto. |
| 1760 |
* mc-boot/GMemUtils.cc: Ditto. |
| 1761 |
* mc-boot/GMemUtils.h: Ditto. |
| 1762 |
* mc-boot/GNumberIO.cc: Ditto. |
| 1763 |
* mc-boot/GNumberIO.h: Ditto. |
| 1764 |
* mc-boot/GPushBackInput.cc: Ditto. |
| 1765 |
* mc-boot/GPushBackInput.h: Ditto. |
| 1766 |
* mc-boot/GRTExceptions.cc: Ditto. |
| 1767 |
* mc-boot/GRTExceptions.h: Ditto. |
| 1768 |
* mc-boot/GRTco.h: Ditto. |
| 1769 |
* mc-boot/GRTentity.h: Ditto. |
| 1770 |
* mc-boot/GRTint.cc: Ditto. |
| 1771 |
* mc-boot/GRTint.h: Ditto. |
| 1772 |
* mc-boot/GSArgs.cc: Ditto. |
| 1773 |
* mc-boot/GSArgs.h: Ditto. |
| 1774 |
* mc-boot/GSFIO.cc: Ditto. |
| 1775 |
* mc-boot/GSFIO.h: Ditto. |
| 1776 |
* mc-boot/GSYSTEM.h: Ditto. |
| 1777 |
* mc-boot/GSelective.h: Ditto. |
| 1778 |
* mc-boot/GStdIO.cc: Ditto. |
| 1779 |
* mc-boot/GStdIO.h: Ditto. |
| 1780 |
* mc-boot/GStorage.cc: Ditto. |
| 1781 |
* mc-boot/GStorage.h: Ditto. |
| 1782 |
* mc-boot/GStrCase.cc: Ditto. |
| 1783 |
* mc-boot/GStrCase.h: Ditto. |
| 1784 |
* mc-boot/GStrIO.cc: Ditto. |
| 1785 |
* mc-boot/GStrIO.h: Ditto. |
| 1786 |
* mc-boot/GStrLib.cc: Ditto. |
| 1787 |
* mc-boot/GStrLib.h: Ditto. |
| 1788 |
* mc-boot/GStringConvert.cc: Ditto. |
| 1789 |
* mc-boot/GStringConvert.h: Ditto. |
| 1790 |
* mc-boot/GSysExceptions.h: Ditto. |
| 1791 |
* mc-boot/GSysStorage.cc: Ditto. |
| 1792 |
* mc-boot/GSysStorage.h: Ditto. |
| 1793 |
* mc-boot/GTimeString.cc: Ditto. |
| 1794 |
* mc-boot/GTimeString.h: Ditto. |
| 1795 |
* mc-boot/GUnixArgs.h: Ditto. |
| 1796 |
* mc-boot/Galists.cc: Ditto. |
| 1797 |
* mc-boot/Galists.h: Ditto. |
| 1798 |
* mc-boot/Gdecl.cc: Ditto. |
| 1799 |
* mc-boot/Gdecl.h: Ditto. |
| 1800 |
* mc-boot/Gdtoa.h: Ditto. |
| 1801 |
* mc-boot/Gerrno.h: Ditto. |
| 1802 |
* mc-boot/Gkeyc.cc: Ditto. |
| 1803 |
* mc-boot/Gkeyc.h: Ditto. |
| 1804 |
* mc-boot/Gldtoa.h: Ditto. |
| 1805 |
* mc-boot/Glibc.h: Ditto. |
| 1806 |
* mc-boot/Glibm.h: Ditto. |
| 1807 |
* mc-boot/Glists.cc: Ditto. |
| 1808 |
* mc-boot/Glists.h: Ditto. |
| 1809 |
* mc-boot/GmcComment.cc: Ditto. |
| 1810 |
* mc-boot/GmcComment.h: Ditto. |
| 1811 |
* mc-boot/GmcComp.cc: Ditto. |
| 1812 |
* mc-boot/GmcComp.h: Ditto. |
| 1813 |
* mc-boot/GmcDebug.cc: Ditto. |
| 1814 |
* mc-boot/GmcDebug.h: Ditto. |
| 1815 |
* mc-boot/GmcError.cc: Ditto. |
| 1816 |
* mc-boot/GmcError.h: Ditto. |
| 1817 |
* mc-boot/GmcFileName.cc: Ditto. |
| 1818 |
* mc-boot/GmcFileName.h: Ditto. |
| 1819 |
* mc-boot/GmcLexBuf.cc: Ditto. |
| 1820 |
* mc-boot/GmcLexBuf.h: Ditto. |
| 1821 |
* mc-boot/GmcMetaError.cc: Ditto. |
| 1822 |
* mc-boot/GmcMetaError.h: Ditto. |
| 1823 |
* mc-boot/GmcOptions.cc: Ditto. |
| 1824 |
* mc-boot/GmcOptions.h: Ditto. |
| 1825 |
* mc-boot/GmcPreprocess.cc: Ditto. |
| 1826 |
* mc-boot/GmcPreprocess.h: Ditto. |
| 1827 |
* mc-boot/GmcPretty.cc: Ditto. |
| 1828 |
* mc-boot/GmcPretty.h: Ditto. |
| 1829 |
* mc-boot/GmcPrintf.cc: Ditto. |
| 1830 |
* mc-boot/GmcPrintf.h: Ditto. |
| 1831 |
* mc-boot/GmcQuiet.cc: Ditto. |
| 1832 |
* mc-boot/GmcQuiet.h: Ditto. |
| 1833 |
* mc-boot/GmcReserved.cc: Ditto. |
| 1834 |
* mc-boot/GmcReserved.h: Ditto. |
| 1835 |
* mc-boot/GmcSearch.cc: Ditto. |
| 1836 |
* mc-boot/GmcSearch.h: Ditto. |
| 1837 |
* mc-boot/GmcStack.cc: Ditto. |
| 1838 |
* mc-boot/GmcStack.h: Ditto. |
| 1839 |
* mc-boot/GmcStream.cc: Ditto. |
| 1840 |
* mc-boot/GmcStream.h: Ditto. |
| 1841 |
* mc-boot/Gmcflex.h: Ditto. |
| 1842 |
* mc-boot/Gmcp1.cc: Ditto. |
| 1843 |
* mc-boot/Gmcp1.h: Ditto. |
| 1844 |
* mc-boot/Gmcp2.cc: Ditto. |
| 1845 |
* mc-boot/Gmcp2.h: Ditto. |
| 1846 |
* mc-boot/Gmcp3.cc: Ditto. |
| 1847 |
* mc-boot/Gmcp3.h: Ditto. |
| 1848 |
* mc-boot/Gmcp4.cc: Ditto. |
| 1849 |
* mc-boot/Gmcp4.h: Ditto. |
| 1850 |
* mc-boot/Gmcp5.cc: Ditto. |
| 1851 |
* mc-boot/Gmcp5.h: Ditto. |
| 1852 |
* mc-boot/GnameKey.cc: Ditto. |
| 1853 |
* mc-boot/GnameKey.h: Ditto. |
| 1854 |
* mc-boot/GsymbolKey.cc: Ditto. |
| 1855 |
* mc-boot/GsymbolKey.h: Ditto. |
| 1856 |
* mc-boot/Gtermios.h: Ditto. |
| 1857 |
* mc-boot/Gtop.cc: Ditto. |
| 1858 |
* mc-boot/Gvarargs.cc: Ditto. |
| 1859 |
* mc-boot/Gvarargs.h: Ditto. |
| 1860 |
* mc-boot/Gwlists.cc: Ditto. |
| 1861 |
* mc-boot/Gwlists.h: Ditto. |
| 1862 |
* mc-boot/Gwrapc.h: Ditto. |
| 1863 |
* mc/keyc.mod (checkGccConfigSystem): Add |
| 1864 |
#define INCLUDE_MEMORY. |
| 1865 |
* pge-boot/GASCII.cc: Regenerate. |
| 1866 |
* pge-boot/GASCII.h: Ditto. |
| 1867 |
* pge-boot/GArgs.cc: Ditto. |
| 1868 |
* pge-boot/GArgs.h: Ditto. |
| 1869 |
* pge-boot/GAssertion.cc: Ditto. |
| 1870 |
* pge-boot/GAssertion.h: Ditto. |
| 1871 |
* pge-boot/GBreak.h: Ditto. |
| 1872 |
* pge-boot/GCmdArgs.h: Ditto. |
| 1873 |
* pge-boot/GDebug.cc: Ditto. |
| 1874 |
* pge-boot/GDebug.h: Ditto. |
| 1875 |
* pge-boot/GDynamicStrings.cc: Ditto. |
| 1876 |
* pge-boot/GDynamicStrings.h: Ditto. |
| 1877 |
* pge-boot/GEnvironment.h: Ditto. |
| 1878 |
* pge-boot/GFIO.cc: Ditto. |
| 1879 |
* pge-boot/GFIO.h: Ditto. |
| 1880 |
* pge-boot/GFormatStrings.h: Ditto. |
| 1881 |
* pge-boot/GFpuIO.h: Ditto. |
| 1882 |
* pge-boot/GIO.cc: Ditto. |
| 1883 |
* pge-boot/GIO.h: Ditto. |
| 1884 |
* pge-boot/GIndexing.cc: Ditto. |
| 1885 |
* pge-boot/GIndexing.h: Ditto. |
| 1886 |
* pge-boot/GLists.cc: Ditto. |
| 1887 |
* pge-boot/GLists.h: Ditto. |
| 1888 |
* pge-boot/GM2Dependent.cc: Ditto. |
| 1889 |
* pge-boot/GM2Dependent.h: Ditto. |
| 1890 |
* pge-boot/GM2EXCEPTION.cc: Ditto. |
| 1891 |
* pge-boot/GM2EXCEPTION.h: Ditto. |
| 1892 |
* pge-boot/GM2RTS.cc: Ditto. |
| 1893 |
* pge-boot/GM2RTS.h: Ditto. |
| 1894 |
* pge-boot/GNameKey.cc: Ditto. |
| 1895 |
* pge-boot/GNameKey.h: Ditto. |
| 1896 |
* pge-boot/GNumberIO.cc: Ditto. |
| 1897 |
* pge-boot/GNumberIO.h: Ditto. |
| 1898 |
* pge-boot/GOutput.cc: Ditto. |
| 1899 |
* pge-boot/GOutput.h: Ditto. |
| 1900 |
* pge-boot/GPushBackInput.cc: Ditto. |
| 1901 |
* pge-boot/GPushBackInput.h: Ditto. |
| 1902 |
* pge-boot/GRTExceptions.cc: Ditto. |
| 1903 |
* pge-boot/GRTExceptions.h: Ditto. |
| 1904 |
* pge-boot/GSArgs.h: Ditto. |
| 1905 |
* pge-boot/GSEnvironment.h: Ditto. |
| 1906 |
* pge-boot/GSFIO.cc: Ditto. |
| 1907 |
* pge-boot/GSFIO.h: Ditto. |
| 1908 |
* pge-boot/GSYSTEM.h: Ditto. |
| 1909 |
* pge-boot/GScan.h: Ditto. |
| 1910 |
* pge-boot/GStdIO.cc: Ditto. |
| 1911 |
* pge-boot/GStdIO.h: Ditto. |
| 1912 |
* pge-boot/GStorage.cc: Ditto. |
| 1913 |
* pge-boot/GStorage.h: Ditto. |
| 1914 |
* pge-boot/GStrCase.cc: Ditto. |
| 1915 |
* pge-boot/GStrCase.h: Ditto. |
| 1916 |
* pge-boot/GStrIO.cc: Ditto. |
| 1917 |
* pge-boot/GStrIO.h: Ditto. |
| 1918 |
* pge-boot/GStrLib.cc: Ditto. |
| 1919 |
* pge-boot/GStrLib.h: Ditto. |
| 1920 |
* pge-boot/GStringConvert.h: Ditto. |
| 1921 |
* pge-boot/GSymbolKey.cc: Ditto. |
| 1922 |
* pge-boot/GSymbolKey.h: Ditto. |
| 1923 |
* pge-boot/GSysExceptions.h: Ditto. |
| 1924 |
* pge-boot/GSysStorage.cc: Ditto. |
| 1925 |
* pge-boot/GSysStorage.h: Ditto. |
| 1926 |
* pge-boot/GTimeString.h: Ditto. |
| 1927 |
* pge-boot/GUnixArgs.h: Ditto. |
| 1928 |
* pge-boot/Gbnflex.cc: Ditto. |
| 1929 |
* pge-boot/Gbnflex.h: Ditto. |
| 1930 |
* pge-boot/Gdtoa.h: Ditto. |
| 1931 |
* pge-boot/Gerrno.h: Ditto. |
| 1932 |
* pge-boot/Gldtoa.h: Ditto. |
| 1933 |
* pge-boot/Glibc.h: Ditto. |
| 1934 |
* pge-boot/Glibm.h: Ditto. |
| 1935 |
* pge-boot/Gpge.cc: Ditto. |
| 1936 |
* pge-boot/Gtermios.h: Ditto. |
| 1937 |
* pge-boot/Gwrapc.h: Ditto. |
| 1938 |
|
| 1939 |
2024-10-20 Gaius Mulley <[email protected]> |
| 1940 |
|
| 1941 |
* gm2-compiler/M2MetaError.mod (op): Corrected ordering. |
| 1942 |
* gm2-compiler/P2SymBuild.def: Remove comment. |
| 1943 |
* gm2-compiler/P2SymBuild.mod (GetComparison): Replace |
| 1944 |
the word less with fewer. |
| 1945 |
|
| 1946 |
2024-10-19 Gaius Mulley <[email protected]> |
| 1947 |
|
| 1948 |
* gm2-compiler/M2MetaError.mod (op): Alphabetically order |
| 1949 |
each case label and comment. |
| 1950 |
|
| 1951 |
2024-10-19 Gaius Mulley <[email protected]> |
| 1952 |
|
| 1953 |
PR modula2/115328 |
| 1954 |
* gm2-compiler/M2MetaError.def: Extend comment documentating |
| 1955 |
new format specifiers. |
| 1956 |
* gm2-compiler/M2MetaError.mod (GetTokProcedure): New declaration. |
| 1957 |
(doErrorScopeModule): New procedure. |
| 1958 |
(doErrorScopeForward): Ditto. |
| 1959 |
(doErrorScopeMod): Reimplement. |
| 1960 |
(doErrorScopeFor): New procedure. |
| 1961 |
(declarationMod): Ditto. |
| 1962 |
(doErrorScopeDefinition): Ditto. |
| 1963 |
(doErrorScopeDef): Reimplement. |
| 1964 |
(declaredDef): New procedure. |
| 1965 |
(declaredFor): Ditto. |
| 1966 |
(doErrorScopeProc): Ditto. |
| 1967 |
(declaredVar): Ditto. |
| 1968 |
(declaredType): Ditto. |
| 1969 |
(declaredFull): Ditto. |
| 1970 |
* gm2-compiler/M2Options.mod (SetAutoInit): Add missing |
| 1971 |
return type. |
| 1972 |
(GetDumpGimple): Remove duplicate implementation. |
| 1973 |
* gm2-compiler/M2Quads.def (DupFrame): New procedure. |
| 1974 |
* gm2-compiler/M2Quads.mod (DupFrame): New procedure. |
| 1975 |
* gm2-compiler/M2Reserved.def (ForwardTok): New variable. |
| 1976 |
* gm2-compiler/M2Reserved.mod (ForwardTok): Initialize variable. |
| 1977 |
* gm2-compiler/M2Scaffold.mod (DeclareArgEnvParams): Add |
| 1978 |
tokno parameter for call to PutParam. |
| 1979 |
* gm2-compiler/P0SymBuild.def (EndForward): New procedure. |
| 1980 |
* gm2-compiler/P0SymBuild.mod (EndForward): New procedure. |
| 1981 |
* gm2-compiler/P0SyntaxCheck.bnf (BlockAssert): New procedure. |
| 1982 |
(ProcedureDeclaration): Reimplement rule. |
| 1983 |
(PostProcedureHeading): New rule. |
| 1984 |
(ForwardDeclaration): Ditto. |
| 1985 |
(ProperProcedure): Ditto. |
| 1986 |
* gm2-compiler/P1Build.bnf (ProcedureDeclaration): Reimplement rule. |
| 1987 |
(PostProcedureHeading): New rule. |
| 1988 |
(ForwardDeclaration): Ditto. |
| 1989 |
(ProperProcedure): Ditto. |
| 1990 |
* gm2-compiler/P1SymBuild.def (Export): Removed unnecessary |
| 1991 |
export. |
| 1992 |
(EndBuildForward): New procedure. |
| 1993 |
* gm2-compiler/P1SymBuild.mod (StartBuildProcedure): Reimplement. |
| 1994 |
(EndBuildProcedure): Ditto. |
| 1995 |
(EndBuildForward): Ditto. |
| 1996 |
* gm2-compiler/P2Build.bnf (ProcedureDeclaration): Reimplement rule. |
| 1997 |
(PostProcedureHeading): New rule. |
| 1998 |
(ForwardDeclaration): Ditto. |
| 1999 |
(ProperProcedure): Ditto. |
| 2000 |
* gm2-compiler/P2SymBuild.def (BuildProcedureDefinedByForward): |
| 2001 |
New procedure. |
| 2002 |
(BuildProcedureDefinedByProper): Ditto. |
| 2003 |
(CheckProcedure): Ditto. |
| 2004 |
(EndBuildForward): Ditto. |
| 2005 |
* gm2-compiler/P2SymBuild.mod (EndBuildProcedure): Reimplement. |
| 2006 |
(EndBuildForward): New procedure. |
| 2007 |
(BuildFPSection): Reimplement to allow forward declaration or |
| 2008 |
checking of parameters. |
| 2009 |
(BuildProcedureDefinedByProper): New procedure. |
| 2010 |
(BuildProcedureDefinedByForward): Ditto |
| 2011 |
(FailParameter): Remove. |
| 2012 |
(ParameterError): New procedure. |
| 2013 |
(ParameterMismatch): Ditto. |
| 2014 |
(EndBuildFormalParameters): Add parameter number check. |
| 2015 |
(GetComparison): New procedure function. |
| 2016 |
(GetSourceDesc): Ditto. |
| 2017 |
(GetCurSrcDesc): Ditto. |
| 2018 |
(GetDeclared): New procedure. |
| 2019 |
(ReturnTypeMismatch): Ditto. |
| 2020 |
(BuildFunction): Reimplement. |
| 2021 |
(CheckProcedure): New procedure. |
| 2022 |
(CheckFormalParameterSection): Reimplement using ParameterError. |
| 2023 |
* gm2-compiler/P3Build.bnf (ProcedureDeclaration): Reimplement rule. |
| 2024 |
(PostProcedureHeading): New rule. |
| 2025 |
(ForwardDeclaration): Ditto. |
| 2026 |
(ProperProcedure): Ditto. |
| 2027 |
* gm2-compiler/P3SymBuild.def (Export): Remove unnecessary export. |
| 2028 |
(EndBuildForward): New procedure. |
| 2029 |
* gm2-compiler/P3SymBuild.mod (EndBuildForward): New procedure. |
| 2030 |
* gm2-compiler/PCBuild.bnf (ProcedureDeclaration): Reimplement rule. |
| 2031 |
(PostProcedureHeading): New rule. |
| 2032 |
(ForwardDeclaration): Ditto. |
| 2033 |
(ProperProcedure): Ditto. |
| 2034 |
* gm2-compiler/PCSymBuild.def (EndBuildForward): New procedure. |
| 2035 |
* gm2-compiler/PCSymBuild.mod (EndBuildForward): Ditto. |
| 2036 |
* gm2-compiler/PHBuild.bnf (ProcedureDeclaration): Reimplement rule. |
| 2037 |
(PostProcedureHeading): New rule. |
| 2038 |
(ForwardDeclaration): Ditto. |
| 2039 |
(ProperProcedure): Ditto. |
| 2040 |
* gm2-compiler/SymbolTable.def (PutVarTok): New procedure. |
| 2041 |
(PutParam): Add typetok parameter. |
| 2042 |
(PutVarParam): Ditto. |
| 2043 |
(PutParamName): Ditto. |
| 2044 |
(GetDeclaredFor): New procedure function. |
| 2045 |
(AreParametersDefinedInDefinition): Ditto. |
| 2046 |
(PutParametersDefinedByForward): New procedure. |
| 2047 |
(GetParametersDefinedByForward): New procedure function. |
| 2048 |
(PutParametersDefinedByProper): New procedure. |
| 2049 |
(GetParametersDefinedByProper): New procedure function. |
| 2050 |
(GetProcedureDeclaredForward): Ditto. |
| 2051 |
(PutProcedureDeclaredForward): New procedure. |
| 2052 |
(GetProcedureDeclaredProper): New procedure function. |
| 2053 |
(PutProcedureDeclaredProper): New procedure. |
| 2054 |
(GetProcedureDeclaredDefinition): New procedure function. |
| 2055 |
(PutProcedureDeclaredDefinition): New procedure. |
| 2056 |
(GetVarDeclTypeTok): Ditto. |
| 2057 |
(PutVarDeclTypeTok): New procedure. |
| 2058 |
(GetVarDeclTok): Ditto. |
| 2059 |
(PutVarDeclTok): New procedure. |
| 2060 |
(GetVarDeclFullTok): Ditto. |
| 2061 |
* gm2-compiler/SymbolTable.mod (ProcedureDecl): New record type. |
| 2062 |
(VarDecl): Ditto. |
| 2063 |
(SymProcedure): Add new field Declared. |
| 2064 |
(SymVar): Add new field Declared. |
| 2065 |
(PutVarTok): New procedure. |
| 2066 |
(PutParam): Add typetok parameter. |
| 2067 |
(PutVarParam): Ditto. |
| 2068 |
(PutParamName): Ditto. |
| 2069 |
(GetDeclaredFor): New procedure function. |
| 2070 |
(AreParametersDefinedInDefinition): Ditto. |
| 2071 |
(PutParametersDefinedByForward): New procedure. |
| 2072 |
(GetParametersDefinedByForward): New procedure function. |
| 2073 |
(PutParametersDefinedByProper): New procedure. |
| 2074 |
(GetParametersDefinedByProper): New procedure function. |
| 2075 |
(GetProcedureDeclaredForward): Ditto. |
| 2076 |
(PutProcedureDeclaredForward): New procedure. |
| 2077 |
(GetProcedureDeclaredProper): New procedure function. |
| 2078 |
(PutProcedureDeclaredProper): New procedure. |
| 2079 |
(GetProcedureDeclaredDefinition): New procedure function. |
| 2080 |
(PutProcedureDeclaredDefinition): New procedure. |
| 2081 |
(GetVarDeclTypeTok): Ditto. |
| 2082 |
(PutVarDeclTypeTok): New procedure. |
| 2083 |
(GetVarDeclTok): Ditto. |
| 2084 |
(PutVarDeclTok): New procedure. |
| 2085 |
(GetVarDeclFullTok): Ditto. |
| 2086 |
(MakeProcedure): Initialize Declared field. |
| 2087 |
(MakeVar): Initialize Declared field. |
| 2088 |
* gm2-libs-log/FileSystem.def (FileNameChar): Add |
| 2089 |
missing return type. |
| 2090 |
* m2.flex: Add FORWARD keyword. |
| 2091 |
|
| 2092 |
2024-10-04 Gaius Mulley <[email protected]> |
| 2093 |
|
| 2094 |
PR modula2/116918 |
| 2095 |
* gm2-compiler/M2Swig.mod (DoCheckUnbounded): Escape |
| 2096 |
the % character used in array_functions with %%. |
| 2097 |
|
| 2098 |
2024-10-01 Gaius Mulley <[email protected]> |
| 2099 |
|
| 2100 |
* gm2-libs/Indexing.def (FindIndice): New procedure |
| 2101 |
function. |
| 2102 |
* gm2-libs/Indexing.mod (FindIndice): Implement new |
| 2103 |
procedure function. |
| 2104 |
|
| 2105 |
2024-10-01 Gaius Mulley <[email protected]> |
| 2106 |
|
| 2107 |
PR modula2/116918 |
| 2108 |
* gm2-compiler/M2Swig.mod (AnnotateProcedure): Capitalize |
| 2109 |
the generated comment, split comment into multiple lines and |
| 2110 |
terminate the comment with ". */". |
| 2111 |
(DoCheckUnbounded): Escape the % character with %%. |
| 2112 |
(DoWriteFile): Ditto. |
| 2113 |
|
| 2114 |
2024-09-25 Mikael Morin <[email protected]> |
| 2115 |
|
| 2116 |
PR other/116801 |
| 2117 |
* lang.opt.urls: Regenerate. |
| 2118 |
|
| 2119 |
2024-09-23 Gaius Mulley <[email protected]> |
| 2120 |
|
| 2121 |
* Make-lang.in (m2/gm2-libs-boot/M2RTS.o): Remove |
| 2122 |
--suppress-noreturn. |
| 2123 |
* gm2-libs/M2RTS.mod (HaltC): Add noreturn attribute. |
| 2124 |
* gm2-libs-min/M2RTS.mod (HALT): Add LOOP END. |
| 2125 |
|
| 2126 |
2024-09-21 Gaius Mulley <[email protected]> |
| 2127 |
|
| 2128 |
* gm2-compiler/M2Comp.mod (GenerateDependencies): Remove |
| 2129 |
unused parameter. |
| 2130 |
(WriteDep): Remove parameter dep. |
| 2131 |
(WritePhoneDep): Ditto. |
| 2132 |
|
| 2133 |
2024-09-20 Gaius Mulley <[email protected]> |
| 2134 |
|
| 2135 |
* gm2-compiler/M2Check.mod (checkUnboundedArray): New |
| 2136 |
procedure function. |
| 2137 |
(checkUnboundedUnbounded): Ditto. |
| 2138 |
(checkUnbounded): Rewrite to check the unbounded data |
| 2139 |
type. |
| 2140 |
(checkPair): Add comment. |
| 2141 |
(doCheckPair): Add comment. |
| 2142 |
Remove tinfo parameter from the call to checkTypeKindViolation. |
| 2143 |
(checkTypeKindViolation): Remove ununsed parameter tinfo. |
| 2144 |
* gm2-libs-ch/UnixArgs.cc (GM2RTS.h): Remove include. |
| 2145 |
* gm2-libs-ch/m2rts.h (M2RTS_INIT): New define. |
| 2146 |
(M2RTS_DEP): Ditto. |
| 2147 |
(M2RTS_RegisterModule): New prototype. |
| 2148 |
(GM2RTS.h): Add include to the MC_M2 block. |
| 2149 |
|
| 2150 |
2024-09-16 Gaius Mulley <[email protected]> |
| 2151 |
|
| 2152 |
* Make-lang.in (GM2_BOOT_INCLUDES): New variable. |
| 2153 |
(m2/gm2-compiler-boot/M2GCCDeclare.o): Rewrite to use |
| 2154 |
GM2_BOOT_INCLUDES. |
| 2155 |
(m2/gm2-compiler-boot/M2Error.o): Ditto. |
| 2156 |
(m2/gm2-compiler-boot/%.o): Ditto. |
| 2157 |
|
| 2158 |
2024-09-16 Gaius Mulley <[email protected]> |
| 2159 |
|
| 2160 |
PR modula2/116181 |
| 2161 |
* Make-lang.in (GM2-GCC-DEFS): Add gcctypes.def and |
| 2162 |
CDataTypes.def. |
| 2163 |
(MC-LIB-DEFS): Add CDataTypes.def. |
| 2164 |
* Make-maintainer.in (m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): |
| 2165 |
Change include path to pge-boot. |
| 2166 |
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.o): Ditto. |
| 2167 |
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.o): Ditto. |
| 2168 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.o): Ditto. |
| 2169 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.o): Ditto. |
| 2170 |
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.o): Ditto. |
| 2171 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.h): Ditto. |
| 2172 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.o): Ditto. |
| 2173 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto. |
| 2174 |
(GM2PATH): Add -I$(srcdir)/m2/gm2-gcc. |
| 2175 |
(m2/mc-boot-gen/$(SRC_PREFIX)%.h): Add -I$(srcdir)/m2/gm2-gcc. |
| 2176 |
(m2/mc-boot-gen/$(SRC_PREFIX)%.cc): Ditto. |
| 2177 |
* gm2-compiler/M2ALU.def (PushIntegerTree): Replace Tree with tree. |
| 2178 |
(PopIntegerTree): Ditto. |
| 2179 |
(PushRealTree): Ditto. |
| 2180 |
(PopRealTree): Ditto. |
| 2181 |
(PushComplexTree): Ditto. |
| 2182 |
(PopComplexTree): Ditto. |
| 2183 |
(PushSetTree): Ditto. |
| 2184 |
(PopSetTree): Ditto. |
| 2185 |
(PopConstructorTree): Ditto. |
| 2186 |
(ConstructSetConstant): Ditto. |
| 2187 |
(BuildRange): Ditto. |
| 2188 |
(CheckOrResetOverflow): Ditto. |
| 2189 |
(PushTypeOfTree): Ditto. |
| 2190 |
* gm2-compiler/M2ALU.mod (Tree): Replace with ... |
| 2191 |
(tree): ... this. |
| 2192 |
(gcctypes): Import location_t and tree. |
| 2193 |
(m2linemap): Remove import of location_t. |
| 2194 |
* gm2-compiler/M2Base.def (m2linemap): Replace with ... |
| 2195 |
(gcctypes): ... this. |
| 2196 |
* gm2-compiler/M2Base.mod (gcctypes): Import of location_t. |
| 2197 |
(m2linemap): Remove import of location_t. |
| 2198 |
* gm2-compiler/M2Bitset.mod (m2tree): Remove import of Tree. |
| 2199 |
* gm2-compiler/M2CaseList.mod (gcctypes): Import tree. |
| 2200 |
(m2tree): Remove import of Tree. |
| 2201 |
(Tree): Replace with ... |
| 2202 |
(tree): ... this. |
| 2203 |
* gm2-compiler/M2Emit.def (gcctypes): Import location_t. |
| 2204 |
* gm2-compiler/M2GCCDeclare.def (gcctypes): Import tree. |
| 2205 |
(PromoteToString): Replace Tree with tree. |
| 2206 |
(PromoteToCString): Ditto. |
| 2207 |
(ConstantKnownAndUsed): Ditto. |
| 2208 |
* gm2-compiler/M2GCCDeclare.mod (gcctypes): Import tree. |
| 2209 |
(m2tree): Remove import of Tree. |
| 2210 |
(Tree): Replace with ... |
| 2211 |
(tree): ... this. |
| 2212 |
* gm2-compiler/M2GenGCC.def (gcctypes): Import tree. |
| 2213 |
(m2tree): Remove import of Tree. |
| 2214 |
(Tree): Replace with ... |
| 2215 |
(tree): ... this. |
| 2216 |
(GetHighFromUnbounded): Replace Tree with tree. |
| 2217 |
(StringToChar): Ditto. |
| 2218 |
(LValueToGenericPtr): Ditto. |
| 2219 |
(ZConstToTypedConst): Ditto. |
| 2220 |
(PrepareCopyString): Ditto. |
| 2221 |
* gm2-compiler/M2GenGCC.mod (gcctypes): Import tree. |
| 2222 |
(m2tree): Remove import of Tree. |
| 2223 |
(Tree): Replace with ... |
| 2224 |
(tree): ... this. |
| 2225 |
* gm2-compiler/M2LangDump.def (gcctypes): Import tree. |
| 2226 |
(m2tree): Remove import of Tree. |
| 2227 |
(Tree): Replace with ... |
| 2228 |
(tree): ... this. |
| 2229 |
* gm2-compiler/M2LangDump.mod (Tree): Replace with ... |
| 2230 |
(tree): ... this. |
| 2231 |
* gm2-compiler/M2LexBuf.def (m2linemap): Replace with ... |
| 2232 |
(gcctypes): ... this. |
| 2233 |
* gm2-compiler/M2LexBuf.mod (m2linemap): Replace with ... |
| 2234 |
(gcctypes): ... this. |
| 2235 |
* gm2-compiler/M2Options.def (m2linemap): Replace with ... |
| 2236 |
(gcctypes): ... this. |
| 2237 |
* gm2-compiler/M2Options.mod (m2linemap): Replace with ... |
| 2238 |
(gcctypes): ... this. |
| 2239 |
* gm2-compiler/M2Range.def (m2linemap): Replace with ... |
| 2240 |
(gcctypes): ... this. |
| 2241 |
(CDataTypes): Import ConstCharStar. |
| 2242 |
(CodeErrorCheck): Replace Tree with tree. |
| 2243 |
(OverlapsRange): Ditto. |
| 2244 |
(IsEqual): Ditto. |
| 2245 |
(IsGreaterOrEqual): Ditto. |
| 2246 |
(IsGreater): Ditto. |
| 2247 |
(BuildIfCallWholeHandlerLoc): Replace Tree with tree. |
| 2248 |
Replace ADDRESS with ConstCharStar. |
| 2249 |
(BuildIfCallRealHandlerLoc): Ditto. |
| 2250 |
(GetMinMax): Ditto. |
| 2251 |
* gm2-compiler/M2Range.mod (m2tree): Remove Tree. |
| 2252 |
(CodeErrorCheck): Replace Tree with tree. |
| 2253 |
(OverlapsRange): Ditto. |
| 2254 |
(IsEqual): Ditto. |
| 2255 |
(IsGreaterOrEqual): Ditto. |
| 2256 |
(IsGreater): Ditto. |
| 2257 |
(GetMinMax): Ditto. |
| 2258 |
(BuildIfCallWholeHandlerLoc): Replace Tree with tree. |
| 2259 |
Replace ADDRESS with ConstCharStar. |
| 2260 |
(BuildIfCallRealHandlerLoc): Ditto. |
| 2261 |
* gm2-compiler/M2System.def (m2linemap): Replace with ... |
| 2262 |
(gcctypes): ... this. |
| 2263 |
* gm2-compiler/M2System.mod (m2linemap): Replace with ... |
| 2264 |
(gcctypes): ... this. |
| 2265 |
(CreateMinMaxFor): Replace Tree with tree. |
| 2266 |
(CreateType): Ditto. |
| 2267 |
(AttemptToCreateType): Ditto. |
| 2268 |
(CreateSetType): Ditto. |
| 2269 |
(AttemptToCreateSetType): Ditto. |
| 2270 |
* gm2-compiler/P2SymBuild.mod (m2linemap): Replace with ... |
| 2271 |
(gcctypes): ... this. |
| 2272 |
* gm2-compiler/SymbolConversion.def (m2tree): Replace with ... |
| 2273 |
(gcctypes): ... this. |
| 2274 |
(Mod2Gcc): Replace Tree with tree. |
| 2275 |
(Gcc2Mod): Ditto. |
| 2276 |
(AddModGcc): Ditto. |
| 2277 |
* gm2-compiler/SymbolConversion.mod (m2tree): Replace with ... |
| 2278 |
(gcctypes): ... this. |
| 2279 |
(Mod2Gcc): Replace Tree with tree. |
| 2280 |
(Gcc2Mod): Ditto. |
| 2281 |
(AddModGcc): Ditto. |
| 2282 |
(Mod2GccWithoutGCCPoison): Ditto. |
| 2283 |
* gm2-compiler/SymbolTable.def (m2tree): Replace with ... |
| 2284 |
(gcctypes): ... this. |
| 2285 |
(PutModuleFinallyFunction): Replace Tree with tree. |
| 2286 |
(GetModuleFinallyFunction): Ditto. |
| 2287 |
* gm2-compiler/SymbolTable.mod (m2tree): Replace with ... |
| 2288 |
(gcctypes): ... this. |
| 2289 |
(PutModuleFinallyFunction): Replace Tree with tree. |
| 2290 |
(GetModuleFinallyFunction): Ditto. |
| 2291 |
* gm2-compiler/m2flex.def (m2linemap): Replace with ... |
| 2292 |
(gcctypes): ... this. |
| 2293 |
* gm2-gcc/init.def (PerCompilationInit): Replace ADDRESS with ConstCharStar. |
| 2294 |
(CDataTypes): Import ConstCharStar. |
| 2295 |
* gm2-gcc/m2block.def (SYSTEM): Remove import. |
| 2296 |
(CDataTypes): Import ConstCharStar. |
| 2297 |
(m2linemap): Remove import. |
| 2298 |
(m2tree): Remove import. |
| 2299 |
(gcctypes): Import tree. |
| 2300 |
(global_constant): Replace Tree with tree. |
| 2301 |
(RememberInitModuleFunction): Ditto. |
| 2302 |
(DumpGlobalConstants): Ditto. |
| 2303 |
(RememberConstant): Ditto. |
| 2304 |
(RememberType): Ditto. |
| 2305 |
(pushDecl): Ditto. |
| 2306 |
(popFunctionScope): Ditto. |
| 2307 |
(pushFunctionScope): Ditto. |
| 2308 |
(finishFunctionCode): Ditto. |
| 2309 |
(finishFunctionDecl): Ditto. |
| 2310 |
(GetErrorNode): Ditto. |
| 2311 |
(includeDecl): Ditto. |
| 2312 |
(GetGlobals): Ditto. |
| 2313 |
(GetGlobalContext): Ditto. |
| 2314 |
(begin_statement_list): Ditto. |
| 2315 |
(push_statement_list): Ditto. |
| 2316 |
(pop_statement_list): Ditto. |
| 2317 |
(getLabel): Replace Tree with tree. |
| 2318 |
Replace ADDRESS with ConstCharStar. |
| 2319 |
* gm2-gcc/m2builtins.def (CDataTypes): Import ConstCharStar. |
| 2320 |
(GetBuiltinConst): Replace Tree with tree. |
| 2321 |
(GetBuiltinConstType): Ditto. |
| 2322 |
(GetBuiltinTypeInfoType): Ditto. |
| 2323 |
(GetBuiltinTypeInfo): Ditto. |
| 2324 |
(BuiltinExists): Ditto. |
| 2325 |
(BuildBuiltinTree): Ditto. |
| 2326 |
(BuiltinMemCopy): Ditto. |
| 2327 |
(BuiltinMemSet): Ditto. |
| 2328 |
(BuiltInAlloca): Ditto. |
| 2329 |
(BuiltInIsfinite): Ditto. |
| 2330 |
* gm2-gcc/m2convert.def (CDataTypes): Import ConstCharStar. |
| 2331 |
(ToWord): Ditto. |
| 2332 |
(ToCardinal): Ditto. |
| 2333 |
(ToInteger): Ditto. |
| 2334 |
(ToBitset): Ditto. |
| 2335 |
(ConvertToPtr): Ditto. |
| 2336 |
(BuildConvert): Ditto. |
| 2337 |
(ConvertConstantAndCheck): Ditto. |
| 2338 |
(ConvertString): Ditto. |
| 2339 |
(GenericToType): Ditto. |
| 2340 |
* gm2-gcc/m2decl.cc (m2decl_BuildParameterDeclaration): Add |
| 2341 |
const attribute. |
| 2342 |
* gm2-gcc/m2decl.def (CDataTypes): Import ConstCharStar. |
| 2343 |
(BuildModuleCtor): Ditto. |
| 2344 |
(DeclareModuleCtor): Ditto. |
| 2345 |
(DeclareM2linkForcedModuleInitOrder): Ditto. |
| 2346 |
(DeclareM2linkStaticInitialization): Ditto. |
| 2347 |
(BuildPtrToTypeString): Ditto. |
| 2348 |
(BuildIntegerConstant): Ditto. |
| 2349 |
(BuildStringConstantType): Ditto. |
| 2350 |
(DeclareKnownVariable): Ditto. |
| 2351 |
(DeclareKnownConstant): Ditto. |
| 2352 |
(BuildParameterDeclaration): Ditto. |
| 2353 |
(BuildEndFunctionDeclaration): Ditto. |
| 2354 |
(RememberVariables): Ditto. |
| 2355 |
(BuildConstLiteralNumber): Ditto. |
| 2356 |
(BuildStringConstant): Ditto. |
| 2357 |
(BuildCStringConstant): Ditto. |
| 2358 |
(GetDeclContext): Ditto. |
| 2359 |
* gm2-gcc/m2decl.h (m2decl_BuildParameterDeclaration): Add |
| 2360 |
const attribute. |
| 2361 |
* gm2-gcc/m2except.def (CDataTypes): Import ConstCharStar. |
| 2362 |
(BuildThrow): Ditto. |
| 2363 |
(BuildTryBegin): Ditto. |
| 2364 |
(BuildTryEnd): Ditto. |
| 2365 |
(BuildCatchBegin): Ditto. |
| 2366 |
(BuildCatchEnd): Ditto. |
| 2367 |
* gm2-gcc/m2expr.def (CDataTypes): Import ConstCharStar. |
| 2368 |
(CSTIntToString): Ditto. |
| 2369 |
(CSTIntToChar): Ditto. |
| 2370 |
(CheckConstStrZtypeRange): Ditto. |
| 2371 |
(CompareTrees): Ditto. |
| 2372 |
(GetPointerOne): Ditto. |
| 2373 |
(GetPointerZero): Ditto. |
| 2374 |
(GetWordOne): Ditto. |
| 2375 |
(GetWordZero): Ditto. |
| 2376 |
(GetIntegerOne): Ditto. |
| 2377 |
(GetIntegerZero): Ditto. |
| 2378 |
(GetCardinalOne): Ditto. |
| 2379 |
(GetCardinalZero): Ditto. |
| 2380 |
(GetSizeOfInBits): Ditto. |
| 2381 |
(GetSizeOf): Ditto. |
| 2382 |
(BuildLogicalRotate): Ditto. |
| 2383 |
(BuildLRRn): Ditto. |
| 2384 |
(BuildLRLn): Ditto. |
| 2385 |
(BuildMask): Ditto. |
| 2386 |
(BuildMult): Ditto. |
| 2387 |
(BuildMultCheck): Ditto. |
| 2388 |
(BuildLRR): Ditto. |
| 2389 |
(BuildLRL): Ditto. |
| 2390 |
(BuildLogicalShift): Ditto. |
| 2391 |
(BuildLSR): Ditto. |
| 2392 |
(BuildLSL): Ditto. |
| 2393 |
(BuildDivM2): Ditto. |
| 2394 |
(BuildDivM2Check): Ditto. |
| 2395 |
(BuildModM2): Ditto. |
| 2396 |
(BuildModM2Check): Ditto. |
| 2397 |
(BuildModFloor): Ditto. |
| 2398 |
(BuildDivCeil): Ditto. |
| 2399 |
(BuildModCeil): Ditto. |
| 2400 |
(BuildDivFloor): Ditto. |
| 2401 |
(BuildModTrunc): Ditto. |
| 2402 |
(BuildDivTrunc): Ditto. |
| 2403 |
(BuildDivTruncCheck): Ditto. |
| 2404 |
(BuildRDiv): Ditto. |
| 2405 |
(BuildSubCheck): Ditto. |
| 2406 |
(BuildAddCheck): Ditto. |
| 2407 |
(BuildSub): Ditto. |
| 2408 |
(BuildAdd): Ditto. |
| 2409 |
(FoldAndStrip): Ditto. |
| 2410 |
(StringLength): Ditto. |
| 2411 |
(TreeOverflow): Ditto. |
| 2412 |
(RemoveOverflow): Ditto. |
| 2413 |
(BuildCoerce): Ditto. |
| 2414 |
(BuildTrunc): Ditto. |
| 2415 |
(BuildNegate): Ditto. |
| 2416 |
(BuildNegateCheck): Ditto. |
| 2417 |
(BuildSetNegate): Ditto. |
| 2418 |
(BuildTBitSize): Ditto. |
| 2419 |
(BuildSize): Ditto. |
| 2420 |
(BuildAddr): Ditto. |
| 2421 |
(BuildOffset1): Ditto. |
| 2422 |
(BuildOffset): Ditto. |
| 2423 |
(BuildLogicalOrAddress): Ditto. |
| 2424 |
(BuildLogicalOr): Ditto. |
| 2425 |
(BuildLogicalAnd): Ditto. |
| 2426 |
(BuildSymmetricDifference): Ditto. |
| 2427 |
(BuildLogicalDifference): Ditto. |
| 2428 |
(BuildLessThan): Ditto. |
| 2429 |
(BuildGreaterThan): Ditto. |
| 2430 |
(BuildLessThanOrEqual): Ditto. |
| 2431 |
(BuildGreaterThanOrEqual): Ditto. |
| 2432 |
(BuildEqualTo): Ditto. |
| 2433 |
(BuildNotEqualTo): Ditto. |
| 2434 |
(BuildIsSuperset): Ditto. |
| 2435 |
(BuildIsNotSuperset): Ditto. |
| 2436 |
(BuildIsSubset): Ditto. |
| 2437 |
(BuildIsNotSubset): Ditto. |
| 2438 |
(BuildIfConstInVar): Ditto. |
| 2439 |
(BuildIfNotConstInVar): Ditto. |
| 2440 |
(BuildIfVarInVar): Ditto. |
| 2441 |
(BuildIfNotVarInVar): Ditto. |
| 2442 |
(BuildForeachWordInSetDoIfExpr): Ditto. |
| 2443 |
(BuildIfInRangeGoto): Ditto. |
| 2444 |
(BuildIfNotInRangeGoto): Ditto. |
| 2445 |
(BuildArray): Ditto. |
| 2446 |
(BuildComponentRef): Ditto. |
| 2447 |
(BuildIndirect): Ditto. |
| 2448 |
(IsTrue): Ditto. |
| 2449 |
(IsFalse): Ditto. |
| 2450 |
(GetCstInteger): Ditto. |
| 2451 |
(AreConstantsEqual): Ditto. |
| 2452 |
(AreRealOrComplexConstantsEqual): Ditto. |
| 2453 |
(DetermineSign): Ditto. |
| 2454 |
(BuildCap): Ditto. |
| 2455 |
(BuildAbs): Ditto. |
| 2456 |
(BuildRe): Ditto. |
| 2457 |
(BuildIm): Ditto. |
| 2458 |
(BuildCmplx): Ditto. |
| 2459 |
(BuildBinaryForeachWordDo): Ditto. |
| 2460 |
(BuildBinarySetDo): Ditto. |
| 2461 |
(ConstantExpressionWarning): Ditto. |
| 2462 |
(BuildAddAddress): Ditto. |
| 2463 |
(calcNbits): Ditto. |
| 2464 |
(OverflowZType): Ditto. |
| 2465 |
(BuildCondIfExpression): Ditto. |
| 2466 |
* gm2-gcc/m2linemap.def (CDataTypes): Import ConstCharStar. |
| 2467 |
* gm2-gcc/m2misc.def (m2tree): Replace with ... |
| 2468 |
(gcctypes): ... this. |
| 2469 |
(DebugTree): Replace Tree with tree. |
| 2470 |
* gm2-gcc/m2pp.def (m2tree): Replace with ... |
| 2471 |
(gcctypes): ... this. |
| 2472 |
(DumpGimpleFd): Replace Tree with tree. |
| 2473 |
* gm2-gcc/m2statement.cc (m2statement_BuildBuiltinCallTree): |
| 2474 |
Remove unused location parameter. |
| 2475 |
* gm2-gcc/m2statement.def (m2linemap): Replace with ... |
| 2476 |
(gcctypes): ... this. |
| 2477 |
(CDataTypes): Import CharStar. |
| 2478 |
(DoJump): Replace Tree with tree. |
| 2479 |
Replace ADDRESS with CharStar. |
| 2480 |
(BuildStartFunctionCode): Replace Tree with tree. |
| 2481 |
(BuildEndFunctionCode): Ditto. |
| 2482 |
(BuildReturnValueCode): Ditto. |
| 2483 |
(BuildAssignmentTree): Ditto. |
| 2484 |
(BuildAssignmentStatement): Ditto. |
| 2485 |
(BuildGoto): Ditto. |
| 2486 |
(DeclareLabel): Ditto. |
| 2487 |
(BuildIfThenDoEnd): Ditto. |
| 2488 |
(BuildIfThenElseEnd): Ditto. |
| 2489 |
(BuildParam): Ditto. |
| 2490 |
(BuildFunctionCallTree): Ditto. |
| 2491 |
(BuildProcedureCallTree): Ditto. |
| 2492 |
(BuildIndirectProcedureCallTree): Ditto. |
| 2493 |
(BuildFunctValue): Ditto. |
| 2494 |
(BuildCall2): Ditto. |
| 2495 |
(BuildCall3): Ditto. |
| 2496 |
(SetLastFunction): Ditto. |
| 2497 |
(GetLastFunction): Ditto. |
| 2498 |
(GetParamTree): Ditto. |
| 2499 |
(BuildTryFinally): Ditto. |
| 2500 |
(BuildCleanUp): Ditto. |
| 2501 |
(BuildAsm): Ditto. |
| 2502 |
(BuildUnaryForeachWordDo): Ditto. |
| 2503 |
(BuildExcludeVarConst): Ditto. |
| 2504 |
(BuildExcludeVarVar): Ditto. |
| 2505 |
(BuildIncludeVarConst): Ditto. |
| 2506 |
(BuildIncludeVarVar): Ditto. |
| 2507 |
(BuildStart): Ditto. |
| 2508 |
(BuildEnd): Ditto. |
| 2509 |
(BuildCallInner): Ditto. |
| 2510 |
(BuildBuiltinCallTree): Remove unused location parameter. |
| 2511 |
* gm2-gcc/m2statement.h (m2statement_BuildBuiltinCallTree): Remove |
| 2512 |
unused location parameter. |
| 2513 |
* gm2-gcc/m2tree.def (gcctypes): Import tree. |
| 2514 |
(IsAConstant): Replace Tree with tree. |
| 2515 |
(IsOrdinal): Ditto. |
| 2516 |
(IsTreeOverflow): Ditto. |
| 2517 |
(skip_const_decl): Ditto. |
| 2518 |
(skip_type_decl): Ditto. |
| 2519 |
(is_type): Ditto. |
| 2520 |
(is_array): Ditto. |
| 2521 |
(is_var): Ditto. |
| 2522 |
(debug_tree): Ditto. |
| 2523 |
(IstreeOverflow): Ditto. |
| 2524 |
* gm2-gcc/m2treelib.def (m2linemap): Replace with ... |
| 2525 |
(gcctypes): ... this. |
| 2526 |
(get_set_address_if_var): Ditto. |
| 2527 |
(get_set_field_rhs): Ditto. |
| 2528 |
(get_set_field_lhs): Ditto. |
| 2529 |
(get_set_address): Ditto. |
| 2530 |
(get_set_value): Ditto. |
| 2531 |
(get_field_no): Ditto. |
| 2532 |
(get_rvalue): Ditto. |
| 2533 |
(DoCall): Ditto. |
| 2534 |
(build_modify_expr): Ditto. |
| 2535 |
(do_jump_if_bit): Ditto. |
| 2536 |
* gm2-gcc/m2type.def (m2linemap): Replace with ... |
| 2537 |
(gcctypes): ... this. |
| 2538 |
(m2tree): Remove. |
| 2539 |
(CDataTypes): Import ConstCharStar and charStar. |
| 2540 |
(ValueInTypeRange): Replace Tree with tree. |
| 2541 |
(ValueOutOfTypeRange): Ditto. |
| 2542 |
(ExceedsTypeRange): Ditto. |
| 2543 |
(WithinTypeRange): Ditto. |
| 2544 |
(BuildSubrangeType): Ditto. |
| 2545 |
(BuildCharConstant): Ditto. |
| 2546 |
(BuildCharConstantChar): Ditto. |
| 2547 |
(BuildArrayConstructorElement): Ditto. |
| 2548 |
(BuildEndArrayConstructor): Ditto. |
| 2549 |
(BuildStartArrayConstructor): Ditto. |
| 2550 |
(BuildRecordConstructorElement): Ditto. |
| 2551 |
(BuildEndRecordConstructor): Ditto. |
| 2552 |
(BuildStartRecordConstructor): Ditto. |
| 2553 |
(BuildEndSetConstructor): Ditto. |
| 2554 |
(BuildSetConstructorElement): Ditto. |
| 2555 |
(BuildStartSetConstructor): Ditto. |
| 2556 |
(BuildSetType): Ditto. |
| 2557 |
(BuildConstPointerType): Ditto. |
| 2558 |
(BuildPointerType): Ditto. |
| 2559 |
(BuildEnumerator): Ditto. |
| 2560 |
(BuildEndEnumeration): Ditto. |
| 2561 |
(BuildStartEnumeration): Ditto. |
| 2562 |
(BuildTypeDeclaration): Ditto. |
| 2563 |
(GetMaxFrom): Ditto. |
| 2564 |
(GetMinFrom): Ditto. |
| 2565 |
(GetDefaultType): Ditto. |
| 2566 |
(BuildEndType): Ditto. |
| 2567 |
(BuildStartType): Ditto. |
| 2568 |
(BuildVariableArrayAndDeclare): Ditto. |
| 2569 |
(BuildProcTypeParameterDeclaration): Ditto. |
| 2570 |
(BuildStartFunctionType): Ditto. |
| 2571 |
(BuildEndFunctionType): Ditto. |
| 2572 |
(GetTreeType): Ditto. |
| 2573 |
(DeclareKnownType): Ditto. |
| 2574 |
(GetM2ZType): Ditto. |
| 2575 |
(GetM2RType): Ditto. |
| 2576 |
(BuildSetTypeFromSubrange): Ditto. |
| 2577 |
(BuildSmallestTypeRange): Ditto. |
| 2578 |
(GetBooleanType): Ditto. |
| 2579 |
(GetBooleanFalse): Ditto. |
| 2580 |
(GetBooleanTrue): Ditto. |
| 2581 |
(GetPackedBooleanType): Ditto. |
| 2582 |
(GetCharType): Ditto. |
| 2583 |
(GetByteType): Ditto. |
| 2584 |
(GetVoidType): Ditto. |
| 2585 |
(GetBitnumType): Ditto. |
| 2586 |
(GetRealType): Ditto. |
| 2587 |
(GetLongRealType): Ditto. |
| 2588 |
(GetShortRealType): Ditto. |
| 2589 |
(GetLongIntType): Ditto. |
| 2590 |
(GetPointerType): Ditto. |
| 2591 |
(GetCardinalType): Ditto. |
| 2592 |
(GetIntegerType): Ditto. |
| 2593 |
(GetWordType): Ditto. |
| 2594 |
(GetM2CardinalType): Ditto. |
| 2595 |
(GetBitsetType): Ditto. |
| 2596 |
(GetM2CType): Ditto. |
| 2597 |
(GetProcType): Ditto. |
| 2598 |
(GetM2ComplexType): Ditto. |
| 2599 |
(GetM2LongComplexType): Ditto. |
| 2600 |
(GetM2ShortComplexType): Ditto. |
| 2601 |
(GetM2Complex128): Ditto. |
| 2602 |
(GetM2Complex96): Ditto. |
| 2603 |
(GetM2Complex64): Ditto. |
| 2604 |
(GetM2Complex32): Ditto. |
| 2605 |
(GetM2Real128): Ditto. |
| 2606 |
(GetM2Real96): Ditto. |
| 2607 |
(GetM2Real64): Ditto. |
| 2608 |
(GetM2Real32): Ditto. |
| 2609 |
(GetM2Bitset32): Ditto. |
| 2610 |
(GetM2Bitset16): Ditto. |
| 2611 |
(GetM2Bitset8): Ditto. |
| 2612 |
(GetM2Word64): Ditto. |
| 2613 |
(GetM2Word32): Ditto. |
| 2614 |
(GetM2Word16): Ditto. |
| 2615 |
(GetM2Cardinal64): Ditto. |
| 2616 |
(GetM2Cardinal32): Ditto. |
| 2617 |
(GetM2Cardinal16): Ditto. |
| 2618 |
(GetM2Cardinal8): Ditto. |
| 2619 |
(GetM2Integer64): Ditto. |
| 2620 |
(GetM2Integer32): Ditto. |
| 2621 |
(GetM2Integer16): Ditto. |
| 2622 |
(GetM2Integer8): Ditto. |
| 2623 |
(GetISOLocType): Ditto. |
| 2624 |
(GetISOByteType): Ditto. |
| 2625 |
(GetISOWordType): Ditto. |
| 2626 |
(GetShortCardType): Ditto. |
| 2627 |
(GetM2ShortCardType): Ditto. |
| 2628 |
(GetShortIntType): Ditto. |
| 2629 |
(GetM2ShortIntType): Ditto. |
| 2630 |
(GetM2LongCardType): Ditto. |
| 2631 |
(GetM2LongIntType): Ditto. |
| 2632 |
(GetM2LongRealType): Ditto. |
| 2633 |
(GetM2RealType): Ditto. |
| 2634 |
(GetM2ShortRealType): Ditto. |
| 2635 |
(GetM2IntegerType): Ditto. |
| 2636 |
(GetM2CharType): Ditto. |
| 2637 |
(GetCSizeTType): Ditto. |
| 2638 |
(GetCSSizeTType): Ditto. |
| 2639 |
(BuildArrayStringConstructor): Ditto. |
| 2640 |
(RealToTree): Ditto. |
| 2641 |
(BuildStartRecord): Ditto. |
| 2642 |
(BuildStartUnion): Ditto. |
| 2643 |
(BuildStartVarient): Ditto. |
| 2644 |
(BuildEndVarient): Ditto. |
| 2645 |
(BuildStartFieldVarient): Ditto. |
| 2646 |
(BuildEndFieldVarient): Ditto. |
| 2647 |
(BuildStartFieldRecord): Ditto. |
| 2648 |
(BuildFieldRecord): Ditto. |
| 2649 |
(ChainOn): Ditto. |
| 2650 |
(ChainOnParamValue): Ditto. |
| 2651 |
(AddStringToTreeList): Ditto. |
| 2652 |
(BuildEndRecord): Ditto. |
| 2653 |
(SetAlignment): Ditto. |
| 2654 |
(SetDeclPacked): Ditto. |
| 2655 |
(SetTypePacked): Ditto. |
| 2656 |
(SetRecordFieldOffset): Ditto. |
| 2657 |
(BuildPackedFieldRecord): Ditto. |
| 2658 |
(BuildNumberOfArrayElements): Ditto. |
| 2659 |
(AddStatement): Ditto. |
| 2660 |
(MarkFunctionReferenced): Ditto. |
| 2661 |
(BuildArrayIndexType): Ditto. |
| 2662 |
(GetArrayNoOfElements): Ditto. |
| 2663 |
(BuildEndArrayType): Ditto. |
| 2664 |
(PutArrayType): Ditto. |
| 2665 |
(BuildStartArrayType): Ditto. |
| 2666 |
(IsAddress): Ditto. |
| 2667 |
(SameRealType): Ditto. |
| 2668 |
* m2.flex (Gm2linemap.h): Include. |
| 2669 |
* mc-boot/GDynamicStrings.cc: Rebuild. |
| 2670 |
* mc-boot/GFIO.cc: Ditto. |
| 2671 |
* mc-boot/GIndexing.cc: Ditto. |
| 2672 |
* mc-boot/GM2Dependent.cc: Ditto. |
| 2673 |
* mc-boot/GSArgs.cc: Ditto. |
| 2674 |
* mc-boot/GStringConvert.cc: Ditto. |
| 2675 |
* mc-boot/Gdecl.cc: Ditto. |
| 2676 |
* mc-boot/Gdecl.h: Ditto. |
| 2677 |
* mc-boot/Gdtoa.h: Ditto. |
| 2678 |
* mc-boot/Gkeyc.cc: Ditto. |
| 2679 |
* mc-boot/Gkeyc.h: Ditto. |
| 2680 |
* mc-boot/Glibc.h: Ditto. |
| 2681 |
* mc-boot/GmcComp.cc: Ditto. |
| 2682 |
* mc-boot/GmcLexBuf.cc: Ditto. |
| 2683 |
* mc-boot/GmcPreprocess.cc: Ditto. |
| 2684 |
* mc-boot/GmcStream.cc: Ditto. |
| 2685 |
* mc-boot/Gmcp1.cc: Ditto. |
| 2686 |
* mc-boot/Gmcp3.cc: Ditto. |
| 2687 |
* mc-boot/Gmcp4.cc: Ditto. |
| 2688 |
* mc-boot/Gmcp5.cc: Ditto. |
| 2689 |
* mc-boot/GnameKey.cc: Ditto. |
| 2690 |
* mc-boot/Gvarargs.cc: Ditto. |
| 2691 |
* mc/decl.def (putDefUnqualified): New procedure function. |
| 2692 |
(isDefUnqualified): Ditto. |
| 2693 |
* mc/decl.mod (defT): Add unqualified field. |
| 2694 |
(charStarN): New variable. |
| 2695 |
(constCharStarN): Ditto. |
| 2696 |
(checkGccType): New procedure. |
| 2697 |
(checkCDataTypes): Ditto. |
| 2698 |
(import): Call checkGccType and checkCDataTypes. |
| 2699 |
(putDefUnqualified): New procedure function. |
| 2700 |
(isDefUnqualified): Ditto. |
| 2701 |
* mc/keyc.def (useGccTree): New procedure. |
| 2702 |
(useGccLocation): Ditto. |
| 2703 |
* mc/keyc.mod (checkGccConfigSystem): Call checkGccConfigSystem. |
| 2704 |
(useGccTree): New procedure. |
| 2705 |
(useGccLocation): Ditto. |
| 2706 |
* mc/mcp1.bnf (decl): Import putDefUnqualified. |
| 2707 |
(Export): Call putDefUnqualified. |
| 2708 |
* gm2-gcc/CDataTypes.def: New file. |
| 2709 |
* gm2-gcc/gcctypes.def: New file. |
| 2710 |
|
| 2711 |
2024-09-02 Gaius Mulley <[email protected]> |
| 2712 |
|
| 2713 |
PR modula2/116557 |
| 2714 |
* gm2-lang.cc: Replace physical address with URL in GPL header. |
| 2715 |
* gm2-lang.h: Ditto. |
| 2716 |
* images/LICENSE.IMG: Ditto. |
| 2717 |
* m2-tree.def: Ditto. |
| 2718 |
* mc-boot/GIndexing.cc: Ditto. |
| 2719 |
* mc-boot/Gkeyc.cc: Ditto. |
| 2720 |
* mc-boot/Glists.cc: Ditto. |
| 2721 |
* mc-boot/GmcComp.cc: Ditto. |
| 2722 |
* mc-boot/GmcDebug.cc: Ditto. |
| 2723 |
* mc-boot/GmcFileName.cc: Ditto. |
| 2724 |
* mc-boot/GmcMetaError.cc: Ditto. |
| 2725 |
* mc-boot/GmcOptions.cc: Ditto. |
| 2726 |
* mc-boot/GmcPreprocess.cc: Ditto. |
| 2727 |
* mc-boot/GmcPretty.cc: Ditto. |
| 2728 |
* mc-boot/GmcPrintf.cc: Ditto. |
| 2729 |
* mc-boot/GmcQuiet.cc: Ditto. |
| 2730 |
* mc-boot/GmcReserved.cc: Ditto. |
| 2731 |
* mc-boot/GmcSearch.cc: Ditto. |
| 2732 |
* mc-boot/GmcStack.cc: Ditto. |
| 2733 |
* mc/Indexing.mod: Ditto. |
| 2734 |
* mc/keyc.mod: Ditto. |
| 2735 |
* mc/lists.mod: Ditto. |
| 2736 |
* mc/mcComp.mod: Ditto. |
| 2737 |
* mc/mcDebug.mod: Ditto. |
| 2738 |
* mc/mcFileName.mod: Ditto. |
| 2739 |
* mc/mcMetaError.mod: Ditto. |
| 2740 |
* mc/mcOptions.mod: Ditto. |
| 2741 |
* mc/mcPreprocess.mod: Ditto. |
| 2742 |
* mc/mcPretty.mod: Ditto. |
| 2743 |
* mc/mcPrintf.mod: Ditto. |
| 2744 |
* mc/mcQuiet.mod: Ditto. |
| 2745 |
* mc/mcReserved.mod: Ditto. |
| 2746 |
* mc/mcSearch.mod: Ditto. |
| 2747 |
* mc/mcStack.mod: Ditto. |
| 2748 |
* tools-src/buildpg: Ditto. |
| 2749 |
* tools-src/calcpath: Ditto. |
| 2750 |
* tools-src/checkmeta.py: Ditto. |
| 2751 |
* tools-src/def2doc.py: Ditto. |
| 2752 |
* tools-src/makeSystem: Ditto. |
| 2753 |
* tools-src/tidydates.py: Ditto. |
| 2754 |
|
| 2755 |
2024-09-02 Richard Sandiford <[email protected]> |
| 2756 |
|
| 2757 |
* gm2-gcc/m2block.cc (flush_pending_note): Rename ASM_INPUT_P |
| 2758 |
to ASM_BASIC_P. |
| 2759 |
* gm2-gcc/m2statement.cc (m2statement_BuildAsm): Likewise. |
| 2760 |
|
| 2761 |
2024-08-30 Gaius Mulley <[email protected]> |
| 2762 |
|
| 2763 |
PR modula2/116181 |
| 2764 |
* pge-boot/GM2RTS.h: Regenerate. |
| 2765 |
* pge-boot/m2rts.h: Ditto. |
| 2766 |
|
| 2767 |
2024-08-28 Gaius Mulley <[email protected]> |
| 2768 |
|
| 2769 |
PR modula2/116181 |
| 2770 |
* Make-lang.in (MC_SRC_FLAGS): New macro. |
| 2771 |
(m2/mc-boot/$(SRC_PREFIX)%.o): Use MC_SRC_FLAGS. |
| 2772 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto. |
| 2773 |
(m2/gm2-libs-boot/M2RTS.o): Ditto. |
| 2774 |
(m2/gm2-libs-boot/%.o): Ditto. |
| 2775 |
(GM2-LIBS-BOOT-H): New macro. |
| 2776 |
(m2/gm2-libs-boot/RTcodummy.o): Use MC_SRC_FLAGS. |
| 2777 |
Remove gm2-libs-host.h from the dependancy. |
| 2778 |
(m2/gm2-libs-boot/wrapc.o): Use MC_SRC_FLAGS. |
| 2779 |
Add dependancy GM2-LIBS-BOOT-H. |
| 2780 |
(m2/gm2-libs-boot/UnixArgs.o): Ditto. |
| 2781 |
(m2/gm2-libs-boot/choosetemp.o): Ditto. |
| 2782 |
(m2/gm2-libs-boot/errno.o): Ditto. |
| 2783 |
(m2/gm2-libs-boot/dtoa.o): Ditto. |
| 2784 |
(m2/gm2-libs-boot/ldtoa.o): Ditto. |
| 2785 |
(m2/gm2-libs-boot/termios.o): Ditto. |
| 2786 |
(m2/gm2-libs-boot/SysExceptions.o): Ditto. |
| 2787 |
(m2/gm2-compiler-boot/M2GCCDeclare.o): Add gm2-libs-ch to the |
| 2788 |
search path. |
| 2789 |
(m2/gm2-compiler-boot/M2Error.o): Ditto. |
| 2790 |
(m2/gm2-compiler-boot/%.o): Ditto. |
| 2791 |
(m2/pge-boot/%.o): Ditto. |
| 2792 |
* gm2-gcc/m2color.cc (m2color_colorize_start): Replace parameter |
| 2793 |
type char to void and recast to char * when calling colorize_start. |
| 2794 |
* gm2-gcc/m2color.h (m2color_colorize_start): Replace parameter |
| 2795 |
type char to void. |
| 2796 |
* gm2-gcc/m2type.h: Remove #if 0 block. |
| 2797 |
* gm2-libs-ch/SysExceptions.c (DECL_PROC_T): Provide alternative |
| 2798 |
defines for MC an gm2. |
| 2799 |
(PROC_FUNC): Ditto. |
| 2800 |
(EXTERN): Force undefine and redefine. |
| 2801 |
(SysExceptions_InitExceptionHandlers): Rewrite function |
| 2802 |
declaration using defined macros. |
| 2803 |
(_M2_SysExceptions_init): Use EXTERN. |
| 2804 |
(_M2_SysExceptions_finish): Replace with ... |
| 2805 |
(_M2_SysExceptions_fini): ... this and add parameters. |
| 2806 |
* gm2-libs-ch/UnixArgs.cc (gm2-libs-host.h): Include. |
| 2807 |
(GUnixArgs.h): Include. |
| 2808 |
(GM2RTS.h): Include. |
| 2809 |
(UnixArgs_GetArgV): Change return type to void *. |
| 2810 |
(UnixArgs_GetEnvV): Ditto. |
| 2811 |
* gm2-libs-ch/m2rts.h (M2RTS_RegisterModule_Cstr): Add new |
| 2812 |
conditional macro. |
| 2813 |
(M2RTS_RequestDependant): Remove. |
| 2814 |
(M2RTS_RegisterModule): Ditto. |
| 2815 |
(M2RTS_Terminate): Ditto. |
| 2816 |
(M2RTS_DeconstructModules): Ditto. |
| 2817 |
(M2RTS_Halt): Ditto. |
| 2818 |
(_M2_M2RTS_init): Ditto. |
| 2819 |
(M2RTS_ConstructModules): Ditto. |
| 2820 |
* gm2-libs-ch/termios.c (_termios_C): Define. |
| 2821 |
(EXTERN): Add conditional definition. |
| 2822 |
(doSetUnset): New function. |
| 2823 |
(_M2_termios_init): Add correct parameters. |
| 2824 |
(_M2_termios_finish): Ditto. |
| 2825 |
(_M2_termios_fini): Ditto. |
| 2826 |
* mc-boot-ch/GSysExceptions.c (DECL_PROC_T): New define. |
| 2827 |
(PROC_FUNC): Ditto. |
| 2828 |
(EXTERN): Force undef. |
| 2829 |
(SysExceptions_InitExceptionHandlers): Rewrite. |
| 2830 |
* mc-boot-ch/Glibc.c (libc_open): Rename parameter |
| 2831 |
oflag to flags. |
| 2832 |
* mc-boot-ch/Gtermios.cc (_termios_C): New define. |
| 2833 |
(KillTermios): Change parameter type from |
| 2834 |
struct termios * to termios_TERMIOS. |
| 2835 |
(tcsnow): Rewrite. |
| 2836 |
(tcsnow): Rewrite. |
| 2837 |
(tcsdrain): Rewrite. |
| 2838 |
(tcsflush): Rewrite. |
| 2839 |
(cfgetospeed): Rewrite. |
| 2840 |
(cfgetispeed): Rewrite. |
| 2841 |
(cfsetospeed): Rewrite. |
| 2842 |
(cfsetispeed): Rewrite. |
| 2843 |
(cfsetspeed): Rewrite. |
| 2844 |
(cfsetspeed): Rewrite. |
| 2845 |
(tcgetattr): Rewrite. |
| 2846 |
(tcsetattr): Rewrite. |
| 2847 |
(cfmakeraw): Rewrite. |
| 2848 |
(tcsendbreak): Rewrite. |
| 2849 |
(tcdrain): Rewrite. |
| 2850 |
(tcflushi): Rewrite. |
| 2851 |
(tcflusho): Rewrite. |
| 2852 |
(tcflushio): Rewrite. |
| 2853 |
(tcflowoni): Rewrite. |
| 2854 |
(tcflowoffi): Rewrite. |
| 2855 |
(tcflowono): Rewrite. |
| 2856 |
(tcflowoffo): Rewrite. |
| 2857 |
(GetFlag): Rewrite. |
| 2858 |
(SetFlag): Rewrite. |
| 2859 |
(GetChar): Rewrite. |
| 2860 |
(SetChar): Rewrite. |
| 2861 |
(InitTermios): Rewrite. |
| 2862 |
* pge-boot/GM2RTS.cc: Regenerate. |
| 2863 |
* pge-boot/GSysExceptions.cc: Ditto. |
| 2864 |
* pge-boot/Gtermios.cc: Ditto. |
| 2865 |
* pge-boot/m2rts.h: Rewrite. |
| 2866 |
* mc-boot-ch/GSYSTEM.h: New file. |
| 2867 |
* mc-boot-ch/GSysExceptions.h: New file. |
| 2868 |
* mc-boot-ch/Gtermios.h: New file. |
| 2869 |
|
| 2870 |
2024-08-24 Gaius Mulley <[email protected]> |
| 2871 |
|
| 2872 |
* gm2-libs/libc.def (atof): Export unqualified. |
| 2873 |
(atoi): Ditto. |
| 2874 |
(atol): Ditto. |
| 2875 |
(atoll): Ditto. |
| 2876 |
(strtod): Ditto. |
| 2877 |
(strtof): Ditto. |
| 2878 |
(strtold): Ditto. |
| 2879 |
(strtol): Ditto. |
| 2880 |
(strtoll): Ditto. |
| 2881 |
(strtoul): Ditto. |
| 2882 |
(strtoull): Ditto. |
| 2883 |
|
| 2884 |
2024-08-16 Gaius Mulley <[email protected]> |
| 2885 |
|
| 2886 |
* gm2-libs-iso/StdChans.mod (in): Rename to ... |
| 2887 |
(inch): ... this. |
| 2888 |
(out): Rename to ... |
| 2889 |
(outch): ... this. |
| 2890 |
(err): Rename to ... |
| 2891 |
(errch): ... this. |
| 2892 |
|
| 2893 |
2024-08-16 Gaius Mulley <[email protected]> |
| 2894 |
|
| 2895 |
* gm2-libs/DynamicStrings.mod (Slice): Rename end to stop. |
| 2896 |
|
| 2897 |
2024-08-16 Gaius Mulley <[email protected]> |
| 2898 |
|
| 2899 |
PR modula2/116378 |
| 2900 |
* gm2-libs-iso/TermFile.mod (termOpen): Add third argument |
| 2901 |
for open. |
| 2902 |
* gm2-libs/libc.def (open): Remove vararg and use INTEGER for |
| 2903 |
mode parameter three. |
| 2904 |
* mc-boot-ch/Glibc.c (tracedb_open): Replace mode_t with int. |
| 2905 |
(libc_open): Rewrite without varargs. |
| 2906 |
* mc-boot/Glibc.h (libc_open): Replace varargs with int mode. |
| 2907 |
* pge-boot/Glibc.cc (libc_open): Rewrite. |
| 2908 |
* pge-boot/Glibc.h (libc_open): Replace varargs with int mode. |
| 2909 |
|
| 2910 |
2024-08-12 Gaius Mulley <[email protected]> |
| 2911 |
|
| 2912 |
PR modula2/116181 |
| 2913 |
* gm2-compiler/ppg.mod (FindStr): Initialize j. |
| 2914 |
* gm2-libs-ch/UnixArgs.cc (_M2_UnixArgs_ctor): Replace |
| 2915 |
M2RTS_RegisterModule with M2RTS_RegisterModule_Cstr. |
| 2916 |
* gm2-libs-ch/dtoa.cc (_M2_dtoa_ctor): Ditto. |
| 2917 |
* gm2-libs-ch/ldtoa.cc (ldtoa_strtold): Cast parameter s |
| 2918 |
for strtod. |
| 2919 |
(_M2_ldtoa_ctor): Replace M2RTS_RegisterModule with |
| 2920 |
M2RTS_RegisterModule_Cstr. |
| 2921 |
* gm2-libs-ch/m2rts.h (M2RTS_RegisterModule_Cstr): New |
| 2922 |
define. |
| 2923 |
(M2RTS_RegisterModule): Remove const. |
| 2924 |
* mc-boot-ch/GSelective.c (Selective_FdIsSet): Return bool |
| 2925 |
rather than int. |
| 2926 |
* mc-boot-ch/Gldtoa.cc (ldtoa_strtold): Change const char to |
| 2927 |
void. |
| 2928 |
Cast s before passing as a parameter to strtod. |
| 2929 |
* mc-boot-ch/Glibc.c (tracedb_open): Replace const char with const |
| 2930 |
void. |
| 2931 |
(libc_perror): Replace char with const char. |
| 2932 |
(libc_printf): Replace char with void. |
| 2933 |
(libc_snprintf): Replace char with void. |
| 2934 |
Add const_cast for parameter to index. |
| 2935 |
Add reinterpret_cast for parameter to vsnprintf. |
| 2936 |
(libc_open): Replace first paramter type char with void. |
| 2937 |
Add vararg for the third parameter. |
| 2938 |
* mc-boot-ch/Gm2rtsdummy.cc (M2RTS_RequestDependant): Remove #if 0 code. |
| 2939 |
(m2pim_M2RTS_RegisterModule): Change const char parameters to void |
| 2940 |
(M2RTS_RegisterModule): Ditto. |
| 2941 |
(_M2_M2RTS_init): Remove #if 0 code. |
| 2942 |
(M2RTS_ConstructModules): Ditto. |
| 2943 |
(M2RTS_Terminate): Ditto. |
| 2944 |
(M2RTS_DeconstructModules): Ditto. |
| 2945 |
(M2RTS_Halt): Ditto. |
| 2946 |
* mc-boot-ch/Gtermios.cc (SetFlag): Return bool. |
| 2947 |
* mc-boot-ch/m2rts.h (M2RTS_RegisterModule_Cstr): New define. |
| 2948 |
(M2RTS_RegisterModule): Change const char parameters to void. |
| 2949 |
* mc-boot/Gdecl.cc: Regenerate. |
| 2950 |
* mc/decl.mod (getNextConstExp): Reimplement. |
| 2951 |
* pge-boot/GDynamicStrings.cc: Regenerate. |
| 2952 |
* pge-boot/GDynamicStrings.h: Ditto. |
| 2953 |
* pge-boot/GM2RTS.h (M2RTS_RegisterModule_Cstr): New function. |
| 2954 |
(M2RTS_RegisterModule): Reformat. |
| 2955 |
* pge-boot/GSymbolKey.cc: Regenerate. |
| 2956 |
* pge-boot/GSysExceptions.cc (_M2_SysExceptions_init): Add correct parameters. |
| 2957 |
(_M2_SysExceptions_fini): Ditto. |
| 2958 |
* pge-boot/GUnixArgs.cc (_M2_UnixArgs_ctor::_M2_UnixArgs_ctor): |
| 2959 |
Replace call to M2RTS_RegisterModule with M2RTS_RegisterModuleCstr. |
| 2960 |
* pge-boot/Gerrno.cc (_M2_errno_init): Add correct parameters. |
| 2961 |
(_M2_errno_fini): Ditto. |
| 2962 |
* pge-boot/Gldtoa.cc (ldtoa_strtold): Replace const char with |
| 2963 |
void. |
| 2964 |
Use reinterpret_cast when passing s to strtod. |
| 2965 |
Replace true with TRUE. |
| 2966 |
* pge-boot/Gldtoa.h (ldtoa_strtold): Tidy up. |
| 2967 |
* pge-boot/Glibc.cc (libc_read): Use size_t as the return type. |
| 2968 |
(libc_write): Ditto. |
| 2969 |
(libc_strlen): Ditto. |
| 2970 |
(libc_perror): Replace char with const char. |
| 2971 |
(libc_printf): Replace char to const char. |
| 2972 |
Cast parameter to index using const_cast. |
| 2973 |
(libc_snprintf): Replace char with void. |
| 2974 |
Cast parameter to index using const_cast. |
| 2975 |
(libc_malloc): Replace parameter type with size_t. |
| 2976 |
(libc_memcpy): Replace third parameter type with size_t. |
| 2977 |
(libc_open): Use varargs. |
| 2978 |
* pge-boot/Glibc.h (libc_perror): Add _string_high parameter. |
| 2979 |
* pge-boot/Gpge.cc: Regenerate. |
| 2980 |
* pge-boot/Gtermios.cc (SetFlag): Replace return type with bool. |
| 2981 |
(_M2_termios_init): Add correct parameters. |
| 2982 |
(_M2_termios_fini): Ditto. |
| 2983 |
* pge-boot/m2rts.h (M2RTS_RegisterModule_Cstr): New define. |
| 2984 |
(M2RTS_RegisterModule): Replace const char with void. |
| 2985 |
|
| 2986 |
2024-08-10 Wilken Gottwalt <[email protected]> |
| 2987 |
|
| 2988 |
* gm2-libs-iso/MemStream.mod: Guard debug output. |
| 2989 |
|
| 2990 |
2024-07-28 Gaius Mulley <[email protected]> |
| 2991 |
|
| 2992 |
PR modula2/115823 |
| 2993 |
* gm2-gcc/m2builtins.cc (define_builtin): Build |
| 2994 |
the function decl using the libname. |
| 2995 |
|
| 2996 |
2024-07-24 Gaius Mulley <[email protected]> |
| 2997 |
|
| 2998 |
* gm2-compiler/M2StateCheck.mod (GenerateError): Add |
| 2999 |
symbol name to the error message. |
| 3000 |
|
| 3001 |
2024-07-23 Gaius Mulley <[email protected]> |
| 3002 |
|
| 3003 |
PR modula2/116048 |
| 3004 |
* Make-lang.in (GM2-COMP-BOOT-DEFS): Add M2StateCheck.def. |
| 3005 |
(GM2-COMP-BOOT-MODS): Add M2StateCheck.mod. |
| 3006 |
(GM2-COMP-DEFS): Add M2StateCheck.def. |
| 3007 |
(GM2-COMP-MODS): Add M2StateCheck.mod. |
| 3008 |
* gm2-compiler/M2Quads.mod (StartBuildWith): Generate |
| 3009 |
unrecoverable error is the qualident type is NulSym. |
| 3010 |
Replace MetaError1 with MetaErrorT1 and position the error |
| 3011 |
to the qualident. |
| 3012 |
* gm2-compiler/P3Build.bnf (M2StateCheck): Import procedures. |
| 3013 |
(seenError): New variable. |
| 3014 |
(WasNoError): Remove variable. |
| 3015 |
(BlockState): New variable. |
| 3016 |
(ErrorString): Rewrite using seenError. |
| 3017 |
(CompilationUnit): Ditto. |
| 3018 |
(QualidentCheck): New rule. |
| 3019 |
(ConstantDeclaration): Bookend with InclConst and ExclConst. |
| 3020 |
(Constructor): Add InclConstructor, ExclConstructor and call |
| 3021 |
CheckQualident. |
| 3022 |
(ConstActualParameters): Call PushState, PopState, InclConstFunc |
| 3023 |
and CheckQualident. |
| 3024 |
(TypeDeclaration): Bookend with InclType and ExclType. |
| 3025 |
(SimpleType): Call QualidentCheck. |
| 3026 |
(CaseTag): Ditto. |
| 3027 |
(OptReturnType): Ditto. |
| 3028 |
(VariableDeclaration): Bookend with InclVar and ExclVar. |
| 3029 |
(Designator): Call QualidentCheck. |
| 3030 |
(Formal;Type): Ditto. |
| 3031 |
* gm2-compiler/PCBuild.bnf (M2StateCheck): Import procedures. |
| 3032 |
(ConstantDeclaration): Rewrite using InclConst and ExclConst. |
| 3033 |
(Constructor): Bookend with InclConstructor and ExclConstructor. |
| 3034 |
Call CheckQualident. |
| 3035 |
(ConstructorOrConstActualParameters): Rewrite and cal |
| 3036 |
l CheckQualident. |
| 3037 |
(ConstActualParameters): Bookend with PushState PopState. |
| 3038 |
Call InclConstFunc and CheckQualident. |
| 3039 |
* gm2-gcc/init.cc (_M2_M2StateCheck_init): New declaration. |
| 3040 |
(_M2_P3Build_init): New declaration. |
| 3041 |
(init_PerCompilationInit): Call _M2_M2StateCheck_init and |
| 3042 |
_M2_P3Build_init. |
| 3043 |
* gm2-compiler/M2StateCheck.def: New file. |
| 3044 |
* gm2-compiler/M2StateCheck.mod: New file. |
| 3045 |
|
| 3046 |
2024-07-16 Gaius Mulley <[email protected]> |
| 3047 |
|
| 3048 |
PR modula2/115957 |
| 3049 |
* gm2-compiler/M2StackAddress.mod (PopAddress): Detect tail=NIL |
| 3050 |
and generate an internal error. |
| 3051 |
* gm2-compiler/PCBuild.bnf (InConstParameter): New variable. |
| 3052 |
(InConstBlock): New variable. |
| 3053 |
(ErrorString): Rewrite using MetaErrorStringT0. |
| 3054 |
(ErrorArrayAt): Rewrite using MetaErrorStringT0. |
| 3055 |
(WarnMissingToken): Use MetaErrorStringT0. |
| 3056 |
(CompilationUnit): Set seenError FALSE. |
| 3057 |
(init): Initialize InConstParameter and InConstBlock. |
| 3058 |
(ConstantDeclaration): Set InConstBlock. |
| 3059 |
(ConstSetOrQualidentOrFunction): Call CheckNotVar if not |
| 3060 |
InConstParameter and InConstBlock. |
| 3061 |
(ConstActualParameters): Set InConstParameter TRUE and restore |
| 3062 |
value at the end. |
| 3063 |
* gm2-compiler/PCSymBuild.def (CheckNotVar): New procedure. |
| 3064 |
Remove all unnecessary export qualified list. |
| 3065 |
* gm2-compiler/PCSymBuild.mod (CheckNotVar): New procedure. |
| 3066 |
|
| 3067 |
2024-07-12 FX Coudert <[email protected]> |
| 3068 |
|
| 3069 |
* gm2-gcc/m2linemap.cc (INCLUDE_STRING): Define before |
| 3070 |
include of gcc-consolidation.h. |
| 3071 |
* gm2spec.cc (INCLUDE_STRING): Define before include of |
| 3072 |
system.h. |
| 3073 |
(INCLUDE_VECTOR): Ditto. |
| 3074 |
|
| 3075 |
2024-07-10 Gaius Mulley <[email protected]> |
| 3076 |
|
| 3077 |
PR modula2/115823 |
| 3078 |
* gm2-gcc/m2builtins.cc (struct builtin_macro_definition): New |
| 3079 |
field builtinname. |
| 3080 |
(builtin_function_match): New function. |
| 3081 |
(builtin_macro_match): Ditto. |
| 3082 |
(m2builtins_BuiltinExists): Use builtin_function_match and |
| 3083 |
builtin_macro_match. |
| 3084 |
(lookup_builtin_macro): Use builtin_macro_match. |
| 3085 |
(lookup_builtin_function): Use builtin_function_match. |
| 3086 |
(define_builtin): Assign builtinname field. |
| 3087 |
|
| 3088 |
2024-07-07 Gaius Mulley <[email protected]> |
| 3089 |
Stefan Schulze Frielinghaus <[email protected]> |
| 3090 |
Andrew Pinski <[email protected]> |
| 3091 |
|
| 3092 |
PR modula2/115804 |
| 3093 |
* gm2-gcc/m2builtins.cc (builtin_function_entry): Add GTY. |
| 3094 |
(DoBuiltinMemCopy): Add rettype and use rettype in the call. |
| 3095 |
(DoBuiltinAlloca): Ditto. |
| 3096 |
(DoBuiltinIsfinite): Ditto. |
| 3097 |
(DoBuiltinIsnan): Ditto. |
| 3098 |
(m2builtins_BuiltInHugeVal): Ditto. |
| 3099 |
(m2builtins_BuiltInHugeValShort): Ditto. |
| 3100 |
(m2builtins_BuiltInHugeValLong): Ditto. |
| 3101 |
|
| 3102 |
2024-06-25 Gaius Mulley <[email protected]> |
| 3103 |
|
| 3104 |
* gm2-compiler/M2GenGCC.mod (QuadCondition): Remove. |
| 3105 |
(FoldIfEqu): Remove WalkAction parameter. |
| 3106 |
(FoldIfNotEqu): Ditto. |
| 3107 |
(FoldIfGreEqu): Ditto. |
| 3108 |
(FoldIfLessEqu): Ditto. |
| 3109 |
(FoldIfGre): Ditto. |
| 3110 |
(FoldIfLess): Ditto. |
| 3111 |
(FoldIfIn): Ditto. |
| 3112 |
(FoldIfNotIn): Ditto. |
| 3113 |
* gm2-compiler/M2Quads.mod (GenQuadOTypeUniquetok): Remove. |
| 3114 |
|
| 3115 |
2024-06-25 Gaius Mulley <[email protected]> |
| 3116 |
|
| 3117 |
PR modula2/115540 |
| 3118 |
* gm2-libs-ch/termios.c (cfmakeraw): Remove return. |
| 3119 |
* mc-boot-ch/Gtermios.cc (cfmakeraw): Remove return. |
| 3120 |
* pge-boot/Gtermios.cc (cfmakeraw): Remove return. |
| 3121 |
|
| 3122 |
2024-06-25 Gaius Mulley <[email protected]> |
| 3123 |
|
| 3124 |
PR modula2/115536 |
| 3125 |
* gm2-compiler/M2BasicBlock.def (GetBasicBlockScope): New procedure. |
| 3126 |
(GetBasicBlockStart): Ditto. |
| 3127 |
(GetBasicBlockEnd): Ditto. |
| 3128 |
(IsBasicBlockFirst): New procedure function. |
| 3129 |
* gm2-compiler/M2BasicBlock.mod (ConvertQuads2BasicBlock): Allow |
| 3130 |
conditional boolean quads to be removed. |
| 3131 |
(GetBasicBlockScope): Implement new procedure. |
| 3132 |
(GetBasicBlockStart): Ditto. |
| 3133 |
(GetBasicBlockEnd): Ditto. |
| 3134 |
(IsBasicBlockFirst): Implement new procedure function. |
| 3135 |
* gm2-compiler/M2GCCDeclare.def (FoldConstants): New parameter |
| 3136 |
declaration. |
| 3137 |
* gm2-compiler/M2GCCDeclare.mod (FoldConstants): New parameter |
| 3138 |
declaration. |
| 3139 |
(DeclareTypesConstantsProceduresInRange): Recreate basic blocks |
| 3140 |
after resolving constant expressions. |
| 3141 |
(CodeBecomes): Guard IsVariableSSA with IsVar. |
| 3142 |
* gm2-compiler/M2GenGCC.def (ResolveConstantExpressions): New |
| 3143 |
parameter declaration. |
| 3144 |
* gm2-compiler/M2GenGCC.mod (FoldIfLess): Remove relop pattern |
| 3145 |
detection. |
| 3146 |
(FoldIfGre): Ditto. |
| 3147 |
(FoldIfLessEqu): Ditto. |
| 3148 |
(FoldIfGreEqu): Ditto. |
| 3149 |
(FoldIfIn): Ditto. |
| 3150 |
(FoldIfNotIn): Ditto. |
| 3151 |
(FoldIfEqu): Ditto. |
| 3152 |
(FoldIfNotEqu): Ditto. |
| 3153 |
(FoldBecomes): Add BasicBlock parameter and allow conditional |
| 3154 |
boolean becomes to be folded in the first basic block. |
| 3155 |
(ResolveConstantExpressions): Reimplement. |
| 3156 |
* gm2-compiler/M2Quads.def (IsConstQuad): New procedure function. |
| 3157 |
(IsConditionalBooleanQuad): Ditto. |
| 3158 |
* gm2-compiler/M2Quads.mod (IsConstQuad): Implement new procedure function. |
| 3159 |
(IsConditionalBooleanQuad): Ditto. |
| 3160 |
(MoveWithMode): Use GenQuadOTypetok. |
| 3161 |
(IsInitialisingConst): Rewrite using OpUsesOp1. |
| 3162 |
(OpUsesOp1): New procedure function. |
| 3163 |
(doBuildAssignment): Mark des as a VarConditional. |
| 3164 |
(ConvertBooleanToVariable): Call PutVarConditional. |
| 3165 |
(DumpQuadSummary): New procedure. |
| 3166 |
(BuildRelOpFromBoolean): Updated debugging and improved comments. |
| 3167 |
(BuildRelOp): Only call BuildRelOpFromBoolean if we are in a const |
| 3168 |
expression and both operands are boolean relops. |
| 3169 |
(GenQuadOTypeUniquetok): New procedure. |
| 3170 |
(BackPatch): Correct comment. |
| 3171 |
* gm2-compiler/SymbolTable.def (PutVarConditional): New procedure. |
| 3172 |
(IsVarConditional): New procedure function. |
| 3173 |
* gm2-compiler/SymbolTable.mod (PutVarConditional): Implement new |
| 3174 |
procedure. |
| 3175 |
(IsVarConditional): Implement new procedure function. |
| 3176 |
(SymConstVar): New field IsConditional. |
| 3177 |
(SymVar): New field IsConditional. |
| 3178 |
(MakeVar): Initialize IsConditional field. |
| 3179 |
(MakeConstVar): Initialize IsConditional field. |
| 3180 |
* gm2-compiler/M2Swig.mod (DoBasicBlock): Change parameters to |
| 3181 |
use BasicBlock. |
| 3182 |
* gm2-compiler/M2Code.mod (SecondDeclareAndOptimize): Use iterator |
| 3183 |
to FoldConstants over basic block list. |
| 3184 |
* gm2-compiler/M2SymInit.mod (AppendEntry): Replace parameters |
| 3185 |
with BasicBlock. |
| 3186 |
* gm2-compiler/P3Build.bnf (Relation): Call RecordOp for #, <> and =. |
| 3187 |
|
| 3188 |
2024-06-17 Kewen Lin <[email protected]> |
| 3189 |
|
| 3190 |
* gm2-gcc/m2type.cc (build_m2_short_real_node): Adjust assertion with |
| 3191 |
TYPE_SIZE check. |
| 3192 |
(build_m2_real_node): Likewise. |
| 3193 |
(build_m2_long_real_node): Add assertion with TYPE_SIZE check. |
| 3194 |
|
| 3195 |
2024-06-11 Gaius Mulley <[email protected]> |
| 3196 |
|
| 3197 |
PR modula2/114529 |
| 3198 |
* Make-lang.in (MC_EXTENDED_OPAQUE): Assign to nothing. |
| 3199 |
* Make-maintainer.in (mc-basetest): New rule. |
| 3200 |
(mc-devel-basetest): New rule. |
| 3201 |
(mc-clean): Remove mc. |
| 3202 |
(m2/mc-boot-gen/$(SRC_PREFIX)decl.cc): Replace --extended-opaque |
| 3203 |
with $(EXTENDED_OPAQUE). |
| 3204 |
(PG-SRC): Move define before generic rules. |
| 3205 |
(PGE-DEF): Ditto. |
| 3206 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)%.h): New rule. |
| 3207 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)libc.o): Ditto. |
| 3208 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)mcrts.o): Ditto. |
| 3209 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)UnixArgs.o): Ditto. |
| 3210 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)Selective.o): Ditto. |
| 3211 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)termios.o): Ditto. |
| 3212 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)SysExceptions.o): Ditto. |
| 3213 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)ldtoa.o): Ditto. |
| 3214 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)wrapc.o): Ditto. |
| 3215 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)SYSTEM.o): Ditto. |
| 3216 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)errno.o): Ditto. |
| 3217 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)M2RTS.o): Ditto. |
| 3218 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)SymbolKey.h): Ditto. |
| 3219 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)SymbolKey.o): Ditto. |
| 3220 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)NameKey.h): Ditto. |
| 3221 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)NameKey.o): Ditto. |
| 3222 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)Lists.h): Ditto. |
| 3223 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)Lists.o): Ditto. |
| 3224 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)Output.h): Ditto. |
| 3225 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)bnflex.h): Ditto. |
| 3226 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)bnflex.o): Ditto. |
| 3227 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTco.h): Ditto. |
| 3228 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTentity.h): Ditto. |
| 3229 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTco.o): Ditto. |
| 3230 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)RTentity.o): Ditto. |
| 3231 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Ditto. |
| 3232 |
(m2/ppg$(exeext)): Ditto. |
| 3233 |
(m2/gm2-ppg-boot/main.o): Ditto. |
| 3234 |
(m2/gm2-auto): Ditto. |
| 3235 |
(c-family/m2pp.o): Ditto. |
| 3236 |
(BUILD-BOOT-PG-H): Correct macro definition. |
| 3237 |
(m2/gm2-pg-boot/$(SRC_PREFIX)%.h): New rule. |
| 3238 |
(m2/gm2-pg-boot/$(SRC_PREFIX)NameKey.h): Ditto. |
| 3239 |
(m2/gm2-pg-boot/$(SRC_PREFIX)NameKey.o): Ditto. |
| 3240 |
(m2/gm2-pg-boot/$(SRC_PREFIX)Lists.h): Ditto. |
| 3241 |
(m2/gm2-pg-boot/$(SRC_PREFIX)Lists.o): Ditto. |
| 3242 |
(m2/gm2-pg-boot/$(SRC_PREFIX)Output.h): Ditto. |
| 3243 |
(m2/gm2-pg-boot/$(SRC_PREFIX)Output.o): Ditto. |
| 3244 |
(m2/gm2-pg-boot/$(SRC_PREFIX)bnflex.h): Ditto. |
| 3245 |
(m2/gm2-pg-boot/$(SRC_PREFIX)bnflex.o): Ditto. |
| 3246 |
(m2/gm2-pg-boot/$(SRC_PREFIX)RTco.h): Ditto. |
| 3247 |
(m2/gm2-pg-boot/$(SRC_PREFIX)RTentity.h): Ditto. |
| 3248 |
(m2/gm2-pg-boot/$(SRC_PREFIX)RTco.o): Ditto. |
| 3249 |
(m2/gm2-pg-boot/$(SRC_PREFIX)RTentity.o): Ditto. |
| 3250 |
(BUILD-BOOT-PGE-H): Correct macro definition. |
| 3251 |
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.h): Ditto. |
| 3252 |
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.o): Ditto. |
| 3253 |
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.h): Ditto. |
| 3254 |
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.o): Ditto. |
| 3255 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.h): Ditto. |
| 3256 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.o): Ditto. |
| 3257 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.h): Ditto. |
| 3258 |
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.o): Ditto. |
| 3259 |
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.h): Ditto. |
| 3260 |
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.o): Ditto. |
| 3261 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTco.h): Ditto. |
| 3262 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.h): Ditto. |
| 3263 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTco.o): Ditto. |
| 3264 |
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.o): Ditto. |
| 3265 |
(mc-basetest): Ditto. |
| 3266 |
(mc-devel-basetest): Ditto. |
| 3267 |
* gm2-compiler/M2Options.def (SetM2Dump): Add BOOLEAN return. |
| 3268 |
* gm2-compiler/M2Quads.def (BuildAlignment): Add tokno parameter. |
| 3269 |
(BuildBitLength): Ditto. |
| 3270 |
* gm2-compiler/P3Build.bnf (ByteAlignment): Move tokpos assignment |
| 3271 |
to the start of the block. |
| 3272 |
* gm2-compiler/PCBuild.bnf (ConstSetOrQualidentOrFunction): Ditto. |
| 3273 |
(SetOrDesignatorOrFunction): Ditto. |
| 3274 |
* gm2-compiler/PHBuild.bnf (ConstSetOrQualidentOrFunction): Ditto. |
| 3275 |
(SetOrDesignatorOrFunction): Ditto. |
| 3276 |
(ByteAlignment): Ditto. |
| 3277 |
* gm2-libs/dtoa.def (dtoa): Change mode to INTEGER. |
| 3278 |
* gm2-libs/ldtoa.def (ldtoa): Ditto. |
| 3279 |
* mc-boot-ch/GSYSTEM.c (_M2_SYSTEM_init): Correct parameter list. |
| 3280 |
(_M2_SYSTEM_fini): Ditto. |
| 3281 |
* mc-boot-ch/Gdtoa.cc (dtoa_calcsign): Return bool. |
| 3282 |
(dtoa_dtoa): Return void * and use bool in the fifth parameter. |
| 3283 |
(_M2_dtoa_init): Correct parameter list. |
| 3284 |
(_M2_dtoa_fini): Ditto. |
| 3285 |
* mc-boot-ch/Gerrno.cc (_M2_errno_init): Ditto. |
| 3286 |
(_M2_errno_fini): Ditto. |
| 3287 |
* mc-boot-ch/Gldtoa.cc (dtoa_calcsign): Return bool. |
| 3288 |
(ldtoa_ldtoa): Return void * and use bool in the fifth parameter. |
| 3289 |
(_M2_ldtoa_init): Correct parameter list. |
| 3290 |
(_M2_ldtoa_fini): Ditto. |
| 3291 |
* mc-boot-ch/Glibc.c (tracedb_zresult): New function. |
| 3292 |
(libc_read): Return size_t and use size_t in parameter three. |
| 3293 |
(libc_write): Return size_t and use size_t in parameter three. |
| 3294 |
(libc_printf): Add const to the format specifier. |
| 3295 |
Change declaration of c to use const. |
| 3296 |
(libc_snprintf): Add const to the format specifier. |
| 3297 |
Change declaration of c to use const. |
| 3298 |
(libc_malloc): Use size_t. |
| 3299 |
(libc_memcpy): Ditto. |
| 3300 |
* mc-boot/GASCII.cc: Regenerate. |
| 3301 |
* mc-boot/GArgs.cc: Ditto. |
| 3302 |
* mc-boot/GAssertion.cc: Ditto. |
| 3303 |
* mc-boot/GBreak.cc: Ditto. |
| 3304 |
* mc-boot/GCmdArgs.cc: Ditto. |
| 3305 |
* mc-boot/GDebug.cc: Ditto. |
| 3306 |
* mc-boot/GDynamicStrings.cc: Ditto. |
| 3307 |
* mc-boot/GEnvironment.cc: Ditto. |
| 3308 |
* mc-boot/GFIO.cc: Ditto. |
| 3309 |
* mc-boot/GFormatStrings.cc: Ditto. |
| 3310 |
* mc-boot/GFpuIO.cc: Ditto. |
| 3311 |
* mc-boot/GIO.cc: Ditto. |
| 3312 |
* mc-boot/GIndexing.cc: Ditto. |
| 3313 |
* mc-boot/GM2Dependent.cc: Ditto. |
| 3314 |
* mc-boot/GM2EXCEPTION.cc: Ditto. |
| 3315 |
* mc-boot/GM2RTS.cc: Ditto. |
| 3316 |
* mc-boot/GMemUtils.cc: Ditto. |
| 3317 |
* mc-boot/GNumberIO.cc: Ditto. |
| 3318 |
* mc-boot/GPushBackInput.cc: Ditto. |
| 3319 |
* mc-boot/GRTExceptions.cc: Ditto. |
| 3320 |
* mc-boot/GRTint.cc: Ditto. |
| 3321 |
* mc-boot/GSArgs.cc: Ditto. |
| 3322 |
* mc-boot/GSFIO.cc: Ditto. |
| 3323 |
* mc-boot/GStdIO.cc: Ditto. |
| 3324 |
* mc-boot/GStorage.cc: Ditto. |
| 3325 |
* mc-boot/GStrCase.cc: Ditto. |
| 3326 |
* mc-boot/GStrIO.cc: Ditto. |
| 3327 |
* mc-boot/GStrLib.cc: Ditto. |
| 3328 |
* mc-boot/GStringConvert.cc: Ditto. |
| 3329 |
* mc-boot/GSysStorage.cc: Ditto. |
| 3330 |
* mc-boot/GTimeString.cc: Ditto. |
| 3331 |
* mc-boot/Galists.cc: Ditto. |
| 3332 |
* mc-boot/Gdecl.cc: Ditto. |
| 3333 |
* mc-boot/Gkeyc.cc: Ditto. |
| 3334 |
* mc-boot/Glists.cc: Ditto. |
| 3335 |
* mc-boot/GmcComment.cc: Ditto. |
| 3336 |
* mc-boot/GmcComp.cc: Ditto. |
| 3337 |
* mc-boot/GmcDebug.cc: Ditto. |
| 3338 |
* mc-boot/GmcError.cc: Ditto. |
| 3339 |
* mc-boot/GmcFileName.cc: Ditto. |
| 3340 |
* mc-boot/GmcLexBuf.cc: Ditto. |
| 3341 |
* mc-boot/GmcMetaError.cc: Ditto. |
| 3342 |
* mc-boot/GmcOptions.cc: Ditto. |
| 3343 |
* mc-boot/GmcPreprocess.cc: Ditto. |
| 3344 |
* mc-boot/GmcPretty.cc: Ditto. |
| 3345 |
* mc-boot/GmcPrintf.cc: Ditto. |
| 3346 |
* mc-boot/GmcQuiet.cc: Ditto. |
| 3347 |
* mc-boot/GmcReserved.cc: Ditto. |
| 3348 |
* mc-boot/GmcSearch.cc: Ditto. |
| 3349 |
* mc-boot/GmcStack.cc: Ditto. |
| 3350 |
* mc-boot/GmcStream.cc: Ditto. |
| 3351 |
* mc-boot/Gmcp1.cc: Ditto. |
| 3352 |
* mc-boot/Gmcp2.cc: Ditto. |
| 3353 |
* mc-boot/Gmcp3.cc: Ditto. |
| 3354 |
* mc-boot/Gmcp4.cc: Ditto. |
| 3355 |
* mc-boot/Gmcp5.cc: Ditto. |
| 3356 |
* mc-boot/GnameKey.cc: Ditto. |
| 3357 |
* mc-boot/GsymbolKey.cc: Ditto. |
| 3358 |
* mc-boot/Gvarargs.cc: Ditto. |
| 3359 |
* mc-boot/Gwlists.cc: Ditto. |
| 3360 |
* mc-boot/Gdecl.h: Ditto. |
| 3361 |
* mc-boot/Gldtoa.h: Ditto. |
| 3362 |
* mc-boot/Glibc.h: Ditto. |
| 3363 |
* mc/decl.def (putTypeOpaque): New procedure. |
| 3364 |
(isTypeOpaque): New procedure function. |
| 3365 |
* mc/decl.mod (debugOpaque): New constant. |
| 3366 |
(nodeT): New enumeration field opaquecast. |
| 3367 |
(node): New record field opaquecastF. |
| 3368 |
(opaqueCastState): New record. |
| 3369 |
(opaquecastT): New record. |
| 3370 |
(typeT): New field isOpaque. |
| 3371 |
(varT): New field opaqueState. |
| 3372 |
(arrayT): Ditto. |
| 3373 |
(varparamT): Ditto. |
| 3374 |
(paramT): Ditto. |
| 3375 |
(pointerT): Ditto. |
| 3376 |
(recordfieldT): Ditto. |
| 3377 |
(componentrefT): Ditto. |
| 3378 |
(pointerrefT): Ditto. |
| 3379 |
(arrayrefT): Ditto. |
| 3380 |
(procedureT): Ditto. |
| 3381 |
(proctypeT): Ditto. |
| 3382 |
(makeType): Initialize field isOpaque. |
| 3383 |
(makeTypeImp): Initialize field isOpaque. |
| 3384 |
(putVar): Call initNodeOpaqueCastState. |
| 3385 |
(putReturnType): Ditto. |
| 3386 |
(makeProcType): Ditto. |
| 3387 |
(putProcTypeReturn): Ditto. |
| 3388 |
(makeVarParameter): Ditto. |
| 3389 |
(makeNonVarParameter): Ditto. |
| 3390 |
(makeFuncCall): Ditto. |
| 3391 |
(putTypeOpaque): New procedure. |
| 3392 |
(isTypeOpaque): New procedure function. |
| 3393 |
(doMakeComponentRef): Call initNodeOpaqueCastState. |
| 3394 |
(makePointerRef): Call initNodeOpaqueCastState. |
| 3395 |
(doGetFuncType): Call initNodeOpaqueCastState. |
| 3396 |
(doBinary): Add FALSE parameter to doExprCup. |
| 3397 |
(doDeRefC): Rewrite. |
| 3398 |
(doComponentRefC): Call flushOpaque. |
| 3399 |
(doPointerRefC): Call flushOpaque. |
| 3400 |
(doArrayRefC): Add const_cast for unbounded array. |
| 3401 |
(doExprCup): Rewrite. |
| 3402 |
(doTypeAliasC): Remove. |
| 3403 |
(isDeclType): New procedure function. |
| 3404 |
(doEnumerationC): New procedure function. |
| 3405 |
(doParamTypeEmit): Ditto. |
| 3406 |
(doParamTypeNameModifier): Ditto. |
| 3407 |
(initOpaqueCastState): Ditto. |
| 3408 |
(initNodeOpaqueCastState): Ditto. |
| 3409 |
(setOpaqueCastState): Ditto. |
| 3410 |
(setNodeOpaqueVoidStar): Ditto. |
| 3411 |
(nodeUsesOpaque): Ditto. |
| 3412 |
(getNodeOpaqueVoidStar): Ditto. |
| 3413 |
(getOpaqueFlushNecessary): Ditto. |
| 3414 |
(makeOpaqueCast): Ditto. |
| 3415 |
(flushOpaque): Ditto. |
| 3416 |
(castOpaque): Ditto. |
| 3417 |
(isTypeOpaqueDefImp): Ditto. |
| 3418 |
(isParamVoidStar): Ditto. |
| 3419 |
(isRefVoidStar): Ditto. |
| 3420 |
(isReturnVoidStar): Ditto. |
| 3421 |
(isVarVoidStar): Ditto. |
| 3422 |
(initNodeOpaqueState): Ditto. |
| 3423 |
(assignNodeOpaqueCastState): Ditto. |
| 3424 |
(assignNodeOpaqueCastFalse): Ditto. |
| 3425 |
(dumpOpaqueState): Ditto. |
| 3426 |
(doProcTypeC): Rewrite. |
| 3427 |
(isDeclInImp): New procedure function. |
| 3428 |
(doTypeNameModifier): Ditto. |
| 3429 |
(doTypeC): Emit typedef if enum is declared in this module. |
| 3430 |
(doCompletePartialProcType): Rewrite. |
| 3431 |
(outputCompletePartialProcType): New procedure. |
| 3432 |
(doOpaqueModifier): Ditto. |
| 3433 |
(doVarC): Ditto. |
| 3434 |
(doProcedureHeadingC): Add opaque modifier to return type if |
| 3435 |
necessary. |
| 3436 |
(doReturnC): Cast opaque type for return if necessary. |
| 3437 |
(forceCastOpaque): New procedure. |
| 3438 |
(forceReintCastOpaque): New procedure. |
| 3439 |
(doUnConstCastUnbounded): New procedure. |
| 3440 |
(doAssignmentC): Cast opaque for both des and expr if necessary. |
| 3441 |
(doAdrExprC): Use static_cast for void * casting. |
| 3442 |
(doFuncVarParam): New procedure. |
| 3443 |
(doFuncParamC): Rewrite. |
| 3444 |
(doAdrArgC): Rewrite. |
| 3445 |
(getFunction): New procedure function. |
| 3446 |
(stop): Rename to ... |
| 3447 |
(localstop): ... this. |
| 3448 |
(dupFunccall): Call assignNodeOpaqueCastState. |
| 3449 |
(dbg): Rewrite. |
| 3450 |
(addDone): Rewrite. |
| 3451 |
(addDoneDef): Do not add opaque types to the doneQ when declared in |
| 3452 |
the definition module. |
| 3453 |
* mc/mc.flex (openSource): Return bool. |
| 3454 |
(_M2_mcflex_init): Correct parameter list. |
| 3455 |
(_M2_mcflex_fini): Ditto. |
| 3456 |
* mc/mcComment.h (stdbool.h): Include. |
| 3457 |
(mcComment_initComment): Change unsigned int to bool. |
| 3458 |
* mc/mcOptions.mod (handleOption): Disable --extended-opaque |
| 3459 |
and issue warning. |
| 3460 |
* mc/mcp1.bnf (DefTypeDeclaration): Call putTypeOpaque. |
| 3461 |
|
| 3462 |
2024-06-06 Gaius Mulley <[email protected]> |
| 3463 |
Kewen.Lin <[email protected]> |
| 3464 |
|
| 3465 |
* gm2-gcc/m2type.cc (build_m2_short_real_node): Rewrite |
| 3466 |
to use the default float_type_node. |
| 3467 |
(build_m2_real_node): Rewrite to use the default |
| 3468 |
double_type_node. |
| 3469 |
(build_m2_long_real_node): Rewrite to use the default |
| 3470 |
long_double_type_node or float128_type_node. |
| 3471 |
|
| 3472 |
2024-05-21 Gaius Mulley <[email protected]> |
| 3473 |
|
| 3474 |
* Make-lang.in (MC_EXTENDED_OPAQUE): New definition. |
| 3475 |
* mc-boot/GDynamicStrings.cc: Rebuild. |
| 3476 |
* mc-boot/GDynamicStrings.h: Rebuild. |
| 3477 |
* mc-boot/Galists.cc: Rebuild. |
| 3478 |
* mc-boot/Galists.h: Rebuild. |
| 3479 |
* mc-boot/Gdecl.cc: Rebuild. |
| 3480 |
* mc/alists.def (equalList): New procedure. |
| 3481 |
* mc/alists.mod (equalList): New procedure implementation. |
| 3482 |
* mc/decl.mod (group): New type. |
| 3483 |
(freeGroup): New variable. |
| 3484 |
(globalGroup): Ditto. |
| 3485 |
(todoQ): Remove declaration and prefix all occurances with globalGroup^. |
| 3486 |
(partialQ): Ditto. |
| 3487 |
(doneQ): Ditto. |
| 3488 |
(newGroup): New procedure. |
| 3489 |
(initGroup): Ditto. |
| 3490 |
(killGroup): Ditto. |
| 3491 |
(dupGroup): Ditto. |
| 3492 |
(equalGroup): Ditto. |
| 3493 |
(topologicallyOut): Rewrite. |
| 3494 |
|
| 3495 |
2024-05-21 Sam James <[email protected]> |
| 3496 |
|
| 3497 |
* Make-lang.in (m2.install-info): Pass --destdir for dir index. |
| 3498 |
|
| 3499 |
2024-05-15 Gaius Mulley <[email protected]> |
| 3500 |
|
| 3501 |
PR modula2/115057 |
| 3502 |
* gm2-libs-iso/TextIO.mod (ReadRestLine): Use ReadChar to |
| 3503 |
skip unwanted characters as this calls IOChan.Look and updates |
| 3504 |
the cid result status. A Skip without a Look does not update |
| 3505 |
the status. Skip always sets read result to allRight. |
| 3506 |
* gm2-libs-iso/TextUtil.def (SkipSpaces): Improve comments. |
| 3507 |
(CharAvailable): Improve comments. |
| 3508 |
* gm2-libs-iso/TextUtil.mod (SkipSpaces): Improve comments. |
| 3509 |
(CharAvailable): Improve comments. |
| 3510 |
|
| 3511 |
2024-05-09 Gaius Mulley <[email protected]> |
| 3512 |
|
| 3513 |
PR modula2/115003 |
| 3514 |
* gm2-compiler/SymbolTable.mod (GetScope): Add UndefinedSym |
| 3515 |
case clause and return NulSym. |
| 3516 |
|
| 3517 |
2024-05-03 Gaius Mulley <[email protected]> |
| 3518 |
|
| 3519 |
PR modula2/114929 |
| 3520 |
* gm2-compiler/M2LangDump.mod (GenQualidentSymString): Add |
| 3521 |
missing return result into identstr. |
| 3522 |
* gm2-compiler/M2Quads.mod (ForLoopLastIteratorVariable): New |
| 3523 |
procedure. |
| 3524 |
(ForLoopLastIteratorConstant): Ditto. |
| 3525 |
(ForLoopLastIterator): Ditto. |
| 3526 |
(BuildForToByDo): Remove LastIterator calculation and call |
| 3527 |
ForLoopLastIterator instead. |
| 3528 |
(FinalValue): Replace with ... |
| 3529 |
(LastIterator): ... this. |
| 3530 |
|
| 3531 |
2024-05-02 Gaius Mulley <[email protected]> |
| 3532 |
|
| 3533 |
PR modula2/113836 |
| 3534 |
* gm2-compiler/M2AsmUtil.def: Remove export qualified and |
| 3535 |
unused import. |
| 3536 |
* gm2-compiler/M2LangDump.mod (AddRuleTextDump): New procedure. |
| 3537 |
(AddRuleScopeQualidentDump): Add warning check against unmatched |
| 3538 |
rule. |
| 3539 |
(GenQualidentSymString): New procedure function. |
| 3540 |
(IdentQualidentMatch): New procedure function. |
| 3541 |
(IsRuleFilenameMatch): New procedure function. |
| 3542 |
(CheckRuleMatch): New procedure function. |
| 3543 |
(AddRuleFilenameDump): New procedure function. |
| 3544 |
* gm2-gcc/m2misc.cc (m2misc_warning_m2_dump_filter): New function. |
| 3545 |
* gm2-gcc/m2misc.def (warning_m2_dump_filter): New procedure. |
| 3546 |
* gm2-gcc/m2misc.h (m2misc_warning_m2_dump_filter): New prototype. |
| 3547 |
* gm2-gcc/m2pp.cc (VERBOSE_TYPE_DESC): New define. |
| 3548 |
(m2pp_identifier): Define out verbose type info. |
| 3549 |
(m2pp_constructor): Define out verbose type info. |
| 3550 |
(m2pp_assignment): Define out verbose type info. |
| 3551 |
* gm2-lang.cc (ENABLE_M2DUMP_ALL): Remove. |
| 3552 |
* lang.opt (fm2-dump): Add. |
| 3553 |
(fm2-dump-decl=): Add. |
| 3554 |
(fm2-dump-gimple=): Add. |
| 3555 |
(fm2-dump-quad=): Add. |
| 3556 |
(fm2-dump-filter=): Add. |
| 3557 |
|
| 3558 |
2024-04-25 Gaius Mulley <[email protected]> |
| 3559 |
|
| 3560 |
PR modula2/114836 |
| 3561 |
* gm2-compiler/M2Range.mod (FoldTypeAssign): Avoid error |
| 3562 |
string concatenation. |
| 3563 |
|
| 3564 |
2024-04-25 Gaius Mulley <[email protected]> |
| 3565 |
|
| 3566 |
* gm2-compiler/M2FileName.def (CalculateFileName): Remove |
| 3567 |
quoted string in comment. |
| 3568 |
* gm2-compiler/M2Range.mod (FoldTypeParam): Generate dialect |
| 3569 |
specific parameter incompatibility error message. |
| 3570 |
|
| 3571 |
2024-04-23 Jakub Jelinek <[email protected]> |
| 3572 |
|
| 3573 |
* lang.opt (fdef=, fmod=): Spelling fix: recognise -> recognize. |
| 3574 |
|
| 3575 |
2024-04-23 Jakub Jelinek <[email protected]> |
| 3576 |
|
| 3577 |
* lang.opt (fuse-list=): Spelling fix: finalializations -> |
| 3578 |
finalizations. |
| 3579 |
|
| 3580 |
2024-04-22 Gaius Mulley <[email protected]> |
| 3581 |
|
| 3582 |
PR modula2/114811 |
| 3583 |
* gm2-compiler/M2GenGCC.mod (FoldBinarySet): Add condition |
| 3584 |
checking to ensure op2 and op3 are fully resolved before |
| 3585 |
type checking is performed. |
| 3586 |
|
| 3587 |
2024-04-22 Gaius Mulley <[email protected]> |
| 3588 |
|
| 3589 |
PR modula2/114807 |
| 3590 |
* gm2-compiler/M2Check.mod (checkUnbounded): Remove unused |
| 3591 |
local variables. |
| 3592 |
(constCheckMeta): Include check for IsReallyPointer in the |
| 3593 |
failure case. |
| 3594 |
* gm2-compiler/M2Quads.mod (MoveWithMode): Remove CopyConstString. |
| 3595 |
* gm2-compiler/SymbolTable.def (IsHiddenReallyPointer): Export. |
| 3596 |
* gm2-compiler/SymbolTable.mod (SkipHiddenType): Remove. |
| 3597 |
(IsReallyPointer): Include IsHiddenReallyPointer test. |
| 3598 |
|
| 3599 |
2024-04-20 Gaius Mulley <[email protected]> |
| 3600 |
|
| 3601 |
PR modula2/112893 |
| 3602 |
* gm2-compiler/M2Check.mod (GetProcedureProcType): Import. |
| 3603 |
(getType): Return value using GetProcedureProcType if sym is a |
| 3604 |
procedure. |
| 3605 |
* gm2-compiler/M2Range.mod (FoldTypeExpr): Remove quad if |
| 3606 |
expression is type compatible. |
| 3607 |
* gm2-compiler/SymbolTable.def (GetProcedureProcType): New |
| 3608 |
procedure function. |
| 3609 |
* gm2-compiler/SymbolTable.mod (Procedure): Add ProcedureType. |
| 3610 |
(MakeProcedure): Initialize ProcedureType. |
| 3611 |
(PutParam): Call AddProcedureProcTypeParam. |
| 3612 |
(PutVarParam): Call AddProcedureProcTypeParam. |
| 3613 |
(AddProcedureProcTypeParam): New procedure. |
| 3614 |
(GetProcedureProcType): New procedure function. |
| 3615 |
|
| 3616 |
2024-04-16 Gaius Mulley <[email protected]> |
| 3617 |
|
| 3618 |
PR modula2/114745 |
| 3619 |
* gm2-compiler/M2Code.mod (DumpLangDecl): Replace with ... |
| 3620 |
(GetDumpDecl): ... this. |
| 3621 |
(DumpLangGimple): Replace with ... |
| 3622 |
(GetDumpGimple): ... this. |
| 3623 |
* gm2-compiler/M2GenGCC.mod: |
| 3624 |
* gm2-compiler/M2LangDump.mod (GetDumpLangQuadFilename): Replace with ... |
| 3625 |
(GetDumpQuadFilename): ... this. |
| 3626 |
(GetDumpLangDeclFilename): Replace with ... |
| 3627 |
(GetDumpDeclFilename): ... this. |
| 3628 |
(GetDumpLangGimpleFilename): Replace with ... |
| 3629 |
(GetDumpGimpleFilename): ... this. |
| 3630 |
* gm2-compiler/M2Options.def (GetDumpLangDeclFilename): New |
| 3631 |
procedure function. |
| 3632 |
(GetDumpDeclFilename): Ditto. |
| 3633 |
(SetDumpLangDeclFilename): New procedure. |
| 3634 |
(SetDumpDeclFilename): Ditto. |
| 3635 |
(GetDumpLangQuadFilename): New procedure function. |
| 3636 |
(GetDumpQuadFilename): Ditto |
| 3637 |
(SetDumpLangQuadFilename): New procedure. |
| 3638 |
(SetDumpQuadFilename): Ditto. |
| 3639 |
(GetDumpLangGimpleFilename): New procedure function. |
| 3640 |
(GetDumpGimpleFilename): Ditto. |
| 3641 |
(SetDumpLangGimpleFilename): New procedure. |
| 3642 |
(SetDumpGimpleFilename): Ditto. |
| 3643 |
(GetDumpLangGimple): New procedure function. |
| 3644 |
(SetM2Dump): New procedure. |
| 3645 |
(GetDumpGimple): New procedure function. |
| 3646 |
(GetDumpQuad): Ditto. |
| 3647 |
(GetDumpDecl): Ditto. |
| 3648 |
* gm2-compiler/M2Options.mod (DumpLangDeclFilename): Remove. |
| 3649 |
(DumpLangQuadFilename): Ditto. |
| 3650 |
(DumpLangGimpleFilename): Ditto. |
| 3651 |
(DumpDeclFilename): New variable. |
| 3652 |
(DumpQuadFilename): Ditto. |
| 3653 |
(DumpGimpleFilename): Ditto. |
| 3654 |
(DebugTraceTree): New variable. |
| 3655 |
(SetQuadDebugging): Rewrite. |
| 3656 |
(GetDumpLangDeclFilename): Replace with ... |
| 3657 |
(GetDumpDeclFilename): ... this. |
| 3658 |
(SetDumpLangQuadFilename): Replace with ... |
| 3659 |
(SetDumpQuadFilename): ... this. |
| 3660 |
(GetDumpLangGimpleFilename): Replace with ... |
| 3661 |
(GetDumpGimpleFilename): ... this. |
| 3662 |
(SetDumpLangGimpleFilename): Replace with ... |
| 3663 |
(SetDumpGimpleFilename): ... this. |
| 3664 |
(GetDumpLangGimple): Remove. |
| 3665 |
(MatchDump): New procedure function. |
| 3666 |
(SetM2Dump): New procedure. |
| 3667 |
(GetDumpGimple): New procedure function. |
| 3668 |
(GetDumpQuad): Ditto. |
| 3669 |
(GetDumpDecl): Ditto. |
| 3670 |
(GetDumpLangGimple): Ditto. |
| 3671 |
* gm2-compiler/M2Quads.mod (BreakAtQuad): Assigned to 140. |
| 3672 |
(BuildTypeCoercion): Add ConstExpr parameter. |
| 3673 |
Check for const parameter in a const expression. |
| 3674 |
Create a constant temporary if in a const expression. |
| 3675 |
(BuildCastFunction): Pass ConstExpr to BuildTypeCoercion. |
| 3676 |
(BuildFunctionCall): Pass ConstExpr to BuildTypeCoercion. |
| 3677 |
* gm2-compiler/PCSymBuild.mod (buildConstFunction): Test for Cast |
| 3678 |
and call InitConvert. |
| 3679 |
(ErrorConstFunction): Add CAST to the error message. |
| 3680 |
* gm2-compiler/SymbolTable.mod (GetConstStringContent): Remove |
| 3681 |
unused procedure. |
| 3682 |
* gm2-gcc/m2decl.cc (m2decl_DeclareKnownConstant): Copy value |
| 3683 |
and change type of value. |
| 3684 |
* gm2-gcc/m2options.h (M2Options_GetDumpLangDeclFilename): Remove. |
| 3685 |
(M2Options_SetDumpLangDeclFilename): Ditto. |
| 3686 |
(M2Options_GetDumpLangQuadFilename): Ditto. |
| 3687 |
(M2Options_SetDumpLangQuadFilename): Ditto. |
| 3688 |
(M2Options_GetDumpLangGimpleFilename): Ditto. |
| 3689 |
(M2Options_SetDumpLangGimpleFilename): Ditto. |
| 3690 |
(M2Options_GetDumpLangGimple): Ditto. |
| 3691 |
(M2Options_GetDumpDeclFilename): New function. |
| 3692 |
(M2Options_SetDumpDeclFilename): Ditto. |
| 3693 |
(M2Options_GetDumpQuadFilename): Ditto. |
| 3694 |
(M2Options_SetDumpQuadFilename): Ditto. |
| 3695 |
(M2Options_GetDumpGimpleFilename): Ditto. |
| 3696 |
(M2Options_SetDumpGimpleFilename): Ditto. |
| 3697 |
(M2Options_SetM2Dump): Ditto. |
| 3698 |
(M2Options_GetDumpGimple): Ditto. |
| 3699 |
* gm2-gcc/m2pp.cc (GM2): New define. |
| 3700 |
(m2pp_type_lowlevel): Remove linefeed. |
| 3701 |
(m2pp_identifier): Add type description for const. |
| 3702 |
(m2pp_assignment): Display lhs/rhs types. |
| 3703 |
(m2pp_dump_gimple): Replace GetDumpLangGimple with GetDumpGimple. |
| 3704 |
* gm2-lang.cc (ENABLE_QUAD_DUMP_ALL): Remove. |
| 3705 |
(ENABLE_M2DUMP_ALL): New define. |
| 3706 |
(gm2_langhook_handle_option): Remove commented options |
| 3707 |
OPT_fdump_lang_all, OPT_fdump_lang_decl_, OPT_fdump_lang_gimple, |
| 3708 |
OPT_fdump_lang_gimple_, OPT_fdump_lang_quad and |
| 3709 |
OPT_fdump_lang_quad_. |
| 3710 |
Add commented options OPT_fm2_dump_, OPT_fm2_dump_decl_, |
| 3711 |
OPT_fm2_dump_gimple_ and OPT_fm2_dump_quad_. |
| 3712 |
|
| 3713 |
2024-04-09 Gaius Mulley <[email protected]> |
| 3714 |
|
| 3715 |
* tools-src/makeSystem: Invoke ${COMPILER} once and adjust |
| 3716 |
the echo string to expand the shell variables with -wrapper |
| 3717 |
gdb, --args. |
| 3718 |
|
| 3719 |
2024-04-09 Gaius Mulley <[email protected]> |
| 3720 |
|
| 3721 |
PR modula2/114648 |
| 3722 |
* gm2-compiler/M2Options.mod (LineDirectives): Initially |
| 3723 |
set to true. |
| 3724 |
|
| 3725 |
2024-04-06 Gaius Mulley <[email protected]> |
| 3726 |
|
| 3727 |
PR modula2/114617 |
| 3728 |
* gm2-compiler/M2GenGCC.mod (CodeStatememt): Add quad trace. |
| 3729 |
(ResolveConstantExpressions): Add parameter p to FoldIfLess, |
| 3730 |
FoldIfGre, FoldIfLessEqu, FoldIfGreEqu, FoldIfEqu, FoldIfNotEqu, |
| 3731 |
FoldIfIn and FoldIfNotIn. |
| 3732 |
(CodeInline): Add constExpr variable and pass it to GetQuadOtok. |
| 3733 |
(CodeReturnValue): Ditto. |
| 3734 |
(CodeParam): Ditto. |
| 3735 |
(FoldStringLength): Ditto. |
| 3736 |
(FoldStringConvertM2nul): Ditto. |
| 3737 |
(FoldStringConvertCnul): Ditto. |
| 3738 |
(DeclaredOperandsBecomes): Ditto. |
| 3739 |
(TypeCheckBecomes): Ditto. |
| 3740 |
(PerformFoldBecomes): Ditto. |
| 3741 |
(CodeBecomes): Ditto. |
| 3742 |
(CheckElementSetTypes): Ditto. |
| 3743 |
(CodeBinarySet): Ditto. |
| 3744 |
(PerformCodeIfLess): Ditto. |
| 3745 |
(PerformCodeIfGre): Ditto. |
| 3746 |
(PerformCodeIfLessEqu): Ditto. |
| 3747 |
(PerformCodeIfGreEqu): Ditto. |
| 3748 |
(PerformCodeIfEqu): Ditto. |
| 3749 |
(PerformCodeIfNotEqu): Ditto. |
| 3750 |
(IsValidExpressionRelOp): Ditto. |
| 3751 |
(PerformCodeIfIn): Ditto. |
| 3752 |
(PerformCodeIfNotIn): Ditto. |
| 3753 |
(CodeXIndr): Ditto. |
| 3754 |
(QuadCondition): New procedure function. |
| 3755 |
(IsBooleanRelOpPattern): Ditto. |
| 3756 |
(FoldBooleanRelopPattern): Ditto. |
| 3757 |
(FoldIfGre): Check for boolean relop constant expression and |
| 3758 |
add parameter p. |
| 3759 |
(FoldIfLessEqu): Ditto. |
| 3760 |
(FoldIfIn): Ditto. |
| 3761 |
(FoldIfEqu): Ditto. |
| 3762 |
(FoldIfNotIn): Ditto. |
| 3763 |
(FoldIfGreEqu): New procedure. |
| 3764 |
(FoldIfNotEqu): Ditto. |
| 3765 |
* gm2-compiler/M2Optimize.mod (ReduceBranch): Add constExpr |
| 3766 |
variable and pass it to GetQuadOtok. |
| 3767 |
* gm2-compiler/M2Quads.def (IsBecomes): New procedure function. |
| 3768 |
(IsDummy): Ditto. |
| 3769 |
(IsQuadConstExpr): Ditto. |
| 3770 |
(SetQuadConstExpr): Ditto. |
| 3771 |
(GetQuadDest): New procedure. |
| 3772 |
(GetQuadOp1): New procedure. |
| 3773 |
(GetQuadOp2): New procedure. |
| 3774 |
(GetQuadOp3): New procedure. |
| 3775 |
(GetQuadOtok): New procedure. |
| 3776 |
(GetQuadOTypetok): New procedure. |
| 3777 |
(PutQuadOtok): New procedure. |
| 3778 |
(IsInConstParameters): New procedure function. |
| 3779 |
* gm2-compiler/M2Quads.mod (IsBecomes): New procedure function. |
| 3780 |
(IsDummy): Ditto. |
| 3781 |
(IsQuadConstExpr): Ditto. |
| 3782 |
(SetQuadConstExpr): Ditto. |
| 3783 |
(GetQuadDest): New procedure. |
| 3784 |
(GetQuadOp1): New procedure. |
| 3785 |
(GetQuadOp2): New procedure. |
| 3786 |
(GetQuadOp3): New procedure. |
| 3787 |
(GetQuadOtok): New procedure. |
| 3788 |
(GetQuadOTypetok): New procedure. |
| 3789 |
(PutQuadOtok): New procedure. |
| 3790 |
(IsInConstParameters): New procedure function. |
| 3791 |
(ConstStack): Remove to ... |
| 3792 |
(ConstExprStack): ... this. |
| 3793 |
(ConstParamStack): New variable and initialize. |
| 3794 |
(QuadFrame): New field ConstExpr. |
| 3795 |
(GetQuadOtok): Add parameter constExpr and assign. |
| 3796 |
(PutQuadOtok): Add constExpr parameter and assign. |
| 3797 |
(PutQuadOType): Ditto. |
| 3798 |
(GetQuadOTypetok): Ditto. |
| 3799 |
(EraseQuad): Assign ConstExpr to FALSE. |
| 3800 |
(FoldSubrange): Set ConstExpr to FALSE in BecomesOp. |
| 3801 |
(PushInConstParameters): New procedure. |
| 3802 |
(PopInConstParameters): New procedure. |
| 3803 |
(IsInConstParameters): New procedure function. |
| 3804 |
* gm2-compiler/M2SymInit.mod (IssueConditional): Add |
| 3805 |
constExpr boolean variable. |
| 3806 |
(CheckReadBeforeInitQuad): Ditto. |
| 3807 |
(trashParam): Ditto. |
| 3808 |
* gm2-compiler/P3Build.bnf (ConstExpression): Call |
| 3809 |
PushInConstExpression and PopInConstExpression. |
| 3810 |
(ConstSetOrQualidentOrFunction): Call |
| 3811 |
PushInConstParameters and PopInConstParameters. |
| 3812 |
* gm2-compiler/PCBuild.bnf (ConstExpression): Call |
| 3813 |
PushInConstExpression and PopInConstExpression. |
| 3814 |
* gm2-compiler/PHBuild.bnf: Ditto |
| 3815 |
* gm2-gcc/m2expr.cc (m2expr_BuildCondIfExpression): New |
| 3816 |
function. |
| 3817 |
* gm2-gcc/m2expr.def (BuildCondIfExpression): New prototype. |
| 3818 |
* gm2-gcc/m2expr.h (m2expr_BuildCondIfExpression): New function. |
| 3819 |
|
| 3820 |
2024-04-05 Christophe Lyon <[email protected]> |
| 3821 |
|
| 3822 |
* Make-lang.in (m2.install-dvi): New rule. |
| 3823 |
|
| 3824 |
2024-04-02 Gaius Mulley <[email protected]> |
| 3825 |
|
| 3826 |
PR modula2/114565 |
| 3827 |
* gm2-compiler/M2GenGCC.mod (CodeStatement): Test |
| 3828 |
GetDebugTraceQuad before calling DisplayQuad. |
| 3829 |
* gm2-compiler/M2LexBuf.mod (NumberIO): Import CardToStr. |
| 3830 |
(GetToken): Test GetDebugTraceToken before writing the |
| 3831 |
token number or token line. |
| 3832 |
* gm2-compiler/M2Options.def (SetDebugTraceQuad): Rename to |
| 3833 |
(SetM2DebugTraceFilter): ...this. |
| 3834 |
(SetDebugTraceAPI): Remove. |
| 3835 |
(GetDebugTraceQuad): New procedure function. |
| 3836 |
(GetDebugTraceTree): Ditto. |
| 3837 |
(GetDebugTraceToken): Ditto. |
| 3838 |
(GetDebugTraceLine): Ditto. |
| 3839 |
(GetDebugFunctionLineNumbers): Ditto. |
| 3840 |
* gm2-compiler/M2Options.mod (DebugFunctionLineNumbers): New |
| 3841 |
boolean variable. |
| 3842 |
(DebugTraceQuad): Ditto. |
| 3843 |
(DebugTraceTree): Ditto. |
| 3844 |
(DebugTraceLine): Ditto. |
| 3845 |
(DebugTraceToken): Ditto. |
| 3846 |
(errors1): New procedure. |
| 3847 |
(SetDebugTraceQuad): Remove. |
| 3848 |
(SetM2DebugTraceFilter): New procedure implemented. |
| 3849 |
(SetM2DebugTrace): Ditto. |
| 3850 |
(GetDebugTraceQuad): Ditto. |
| 3851 |
(GetDebugTraceToken ): Ditto. |
| 3852 |
(GetDebugTraceLine): Ditto. |
| 3853 |
(SetDebugTraceLine): Remove. |
| 3854 |
* gm2-compiler/M2Quads.mod (GenQuadOTrash): Test |
| 3855 |
GetDebugTraceQuad and call DisplayQuad. |
| 3856 |
(GenQuadOTypetok): Ditto. |
| 3857 |
* gm2-compiler/SymbolTable.mod: Replace |
| 3858 |
DebugFunctionLineNumbers with GetDebugFunctionLineNumbers. |
| 3859 |
* gm2-gcc/init.cc (_M2_M2LangDump_init): Add prototype. |
| 3860 |
(init_PerCompilationInit): Add call. |
| 3861 |
* gm2-gcc/m2misc.cc (m2misc_cerror): New function. |
| 3862 |
(m2misc_error): Ditto. |
| 3863 |
* gm2-gcc/m2misc.def (error): New procedure. |
| 3864 |
(cerror): Ditto. |
| 3865 |
* gm2-gcc/m2misc.h (m2misc_cerror): New prototype. |
| 3866 |
(m2misc_error): Ditto. |
| 3867 |
* gm2-gcc/m2options.h (M2Options_SetDebugTraceQuad): New |
| 3868 |
prototype. |
| 3869 |
(M2Options_SetDebugTraceAPI): Remove. |
| 3870 |
(M2Options_GetDebugTraceToken): New prototype. |
| 3871 |
(M2Options_GetDebugTraceLine): Ditto. |
| 3872 |
(M2Options_SetDebugFunctionLineNumbers): Ditto. |
| 3873 |
(M2Options_GetDebugFunctionLineNumbers): Ditto. |
| 3874 |
(M2Options_SetM2DebugTraceFilter): Ditto. |
| 3875 |
* gm2-lang.cc (gm2_langhook_init_options): Remove |
| 3876 |
OPT_fdebug_trace_quad case. |
| 3877 |
Remove OPT_fdebug_trace_api case. |
| 3878 |
Add OPT_fm2_debug_trace_ case. |
| 3879 |
* lang.opt (fm2-debug-trace): New option. |
| 3880 |
(fdebug-trace-api): Remove. |
| 3881 |
(fdebug-trace-quad): Remove. |
| 3882 |
* m2.flex (m2flex_M2Error): Check s for NULL. |
| 3883 |
(skipnewline): New function. |
| 3884 |
(consumeLine): Call traceline. |
| 3885 |
|
| 3886 |
2024-04-01 Gaius Mulley <[email protected]> |
| 3887 |
|
| 3888 |
PR modula2/114548 |
| 3889 |
* gm2-compiler/M2Quads.mod (ConvertToAddress): Pass |
| 3890 |
procedure, false parameters to BuildConvertFunction. |
| 3891 |
(PushOne): Pass procedure, true parameters to |
| 3892 |
BuildConvertFunction. |
| 3893 |
Remove usused parameter internal. |
| 3894 |
(BuildPseudoBy): Remove parameter to PushOne. |
| 3895 |
(BuildIncProcedure): Ditto. |
| 3896 |
(BuildDecProcedure): Ditto. |
| 3897 |
(BuildFunctionCall): Add ConstExpr parameter to |
| 3898 |
BuildPseudoFunctionCall. |
| 3899 |
(BuildConstFunctionCall): Add procedure and true to |
| 3900 |
BuildConvertFunction. |
| 3901 |
(BuildPseudoFunctionCall): Add ConstExpr parameter. |
| 3902 |
Pass ProcSym and ConstExpr to BuildLengthFunction, |
| 3903 |
BuildConvertFunction, BuildOddFunction, BuildAbsFunction, |
| 3904 |
BuildCapFunction, BuildValFunction, BuildChrFunction, |
| 3905 |
BuildOrdFunction, BuildIntFunction, BuildTruncFunction, |
| 3906 |
BuildFloatFunction, BuildAddAdrFunction, BuildSubAdrFunction, |
| 3907 |
BuildDifAdrFunction, BuildCastFunction, BuildReFunction, |
| 3908 |
BuildImFunction and BuildCmplxFunction. |
| 3909 |
(BuildAddAdrFunction): Add ProcSym, ConstExpr parameters and |
| 3910 |
check for constant parameters. |
| 3911 |
(BuildSubAdrFunction): Ditto. |
| 3912 |
(BuildDifAdrFunction): Ditto. |
| 3913 |
(ConstExprError): Ditto. |
| 3914 |
(BuildLengthFunction): Ditto. |
| 3915 |
(BuildOddFunction): Ditto. |
| 3916 |
(BuildAbsFunction): Ditto. |
| 3917 |
(BuildCapFunction): Ditto. |
| 3918 |
(BuildChrFunction): Ditto. |
| 3919 |
(BuildOrdFunction): Ditto. |
| 3920 |
(BuildIntFunction): Ditto. |
| 3921 |
(BuildValFunction): Ditto. |
| 3922 |
(BuildCastFunction): Ditto. |
| 3923 |
(BuildConvertFunction): Ditto. |
| 3924 |
(BuildTruncFunction): Ditto. |
| 3925 |
(BuildFloatFunction): Ditto. |
| 3926 |
(BuildReFunction): Ditto. |
| 3927 |
(BuildImFunction): Ditto. |
| 3928 |
(BuildCmplxFunction): Ditto. |
| 3929 |
|
| 3930 |
2024-03-31 Christophe Lyon <[email protected]> |
| 3931 |
|
| 3932 |
* Make-lang.in (m2.install-info): Fix rule. |
| 3933 |
|
| 3934 |
2024-03-31 Christophe Lyon <[email protected]> |
| 3935 |
|
| 3936 |
* Make-lang.in (install-html): New rule. |
| 3937 |
|
| 3938 |
2024-03-28 Gaius Mulley <[email protected]> |
| 3939 |
|
| 3940 |
PR modula2/114520 |
| 3941 |
* gm2-compiler/P0SyntaxCheck.bnf (DetectImport): New |
| 3942 |
procedure. |
| 3943 |
(EnableImportCheck): New boolean. |
| 3944 |
(Expect): Call DetectImport. |
| 3945 |
(Export): Set EnableImportCheck TRUE before ';' and FALSE |
| 3946 |
afterwards. |
| 3947 |
|
| 3948 |
2024-03-28 Gaius Mulley <(no_default)> |
| 3949 |
|
| 3950 |
PR modula2/114517 |
| 3951 |
* gm2-compiler/M2Options.def (SetCpp): Add comment. |
| 3952 |
(GetCpp): Move after SetCpp. |
| 3953 |
(GetLineDirectives): New procedure function. |
| 3954 |
* gm2-compiler/M2Options.mod (GetLineDirectives): New |
| 3955 |
procedure function. |
| 3956 |
* gm2-gcc/m2options.h (M2Options_GetLineDirectives): New |
| 3957 |
prototype. |
| 3958 |
* gm2-lang.cc (gm2_langhook_init_options): OPT_fcpp only |
| 3959 |
assert if !value. |
| 3960 |
* m2.flex: Test GetLineDirectives before changing to LINE0 |
| 3961 |
state. |
| 3962 |
|
| 3963 |
2024-03-28 Gaius Mulley <[email protected]> |
| 3964 |
|
| 3965 |
* target-independent/m2/Builtins.texi: Rebuilt. |
| 3966 |
* target-independent/m2/gm2-libs.texi: Rebuilt. |
| 3967 |
|
| 3968 |
2024-03-26 Gaius Mulley <[email protected]> |
| 3969 |
|
| 3970 |
PR modula2/114478 |
| 3971 |
* gm2-gcc/m2builtins.cc (struct builtin_macro_definition): New struct. |
| 3972 |
(lookup_builtin_macro): New function. |
| 3973 |
(m2builtins_BuildBuiltinTree): Rewrite to lookup builtin function |
| 3974 |
and builtin macro. |
| 3975 |
(lookup_builtin_function): New function. |
| 3976 |
(define_builtin): Rename parameter type to prototype push macro |
| 3977 |
definition to builtin_macros vector. |
| 3978 |
(define_builtin_ext): New function. |
| 3979 |
(define_builtin_math): New function. |
| 3980 |
(m2builtins_init): Add isgreater, isless, isgreaterequal, |
| 3981 |
islessequal, islessgreater, isunordered, isnormal to macro definitions. |
| 3982 |
* gm2-libs/Builtins.def (isgreater): New procedure function. |
| 3983 |
(isgreaterf): Ditto. |
| 3984 |
(isgreaterl): Ditto. |
| 3985 |
(isgreaterequal): Ditto. |
| 3986 |
(isgreaterequalf): Ditto. |
| 3987 |
(isgreaterequall): Ditto. |
| 3988 |
(isless): Ditto. |
| 3989 |
(islessf): Ditto. |
| 3990 |
(islessl): Ditto. |
| 3991 |
(islessequal): Ditto. |
| 3992 |
(islessequalf): Ditto. |
| 3993 |
(islessequall): Ditto. |
| 3994 |
(islessgreater): Ditto. |
| 3995 |
(islessgreaterf): Ditto. |
| 3996 |
(islessgreaterl): Ditto. |
| 3997 |
(isunordered): Ditto. |
| 3998 |
(isunorderedf): Ditto. |
| 3999 |
(isunorderedl): Ditto. |
| 4000 |
(iseqsig): Ditto. |
| 4001 |
(iseqsigf): Ditto. |
| 4002 |
(iseqsigl): Ditto. |
| 4003 |
(isnormal): Ditto. |
| 4004 |
(isnormalf): Ditto. |
| 4005 |
(isnormall): Ditto. |
| 4006 |
(isinf_sign): Ditto. |
| 4007 |
(isinf_signf): Ditto. |
| 4008 |
(isinf_signl): Ditto. |
| 4009 |
* gm2-libs/Builtins.mod (isgreater): New procedure function. |
| 4010 |
(isgreaterf): Ditto. |
| 4011 |
(isgreaterl): Ditto. |
| 4012 |
(isgreaterequal): Ditto. |
| 4013 |
(isgreaterequalf): Ditto. |
| 4014 |
(isgreaterequall): Ditto. |
| 4015 |
(isless): Ditto. |
| 4016 |
(islessf): Ditto. |
| 4017 |
(islessl): Ditto. |
| 4018 |
(islessequal): Ditto. |
| 4019 |
(islessequalf): Ditto. |
| 4020 |
(islessequall): Ditto. |
| 4021 |
(islessgreater): Ditto. |
| 4022 |
(islessgreaterf): Ditto. |
| 4023 |
(islessgreaterl): Ditto. |
| 4024 |
(isunordered): Ditto. |
| 4025 |
(isunorderedf): Ditto. |
| 4026 |
(isunorderedl): Ditto. |
| 4027 |
(iseqsig): Ditto. |
| 4028 |
(iseqsigf): Ditto. |
| 4029 |
(iseqsigl): Ditto. |
| 4030 |
(isnormal): Ditto. |
| 4031 |
(isnormalf): Ditto. |
| 4032 |
(isnormall): Ditto. |
| 4033 |
(isinf_sign): Ditto. |
| 4034 |
(isinf_signf): Ditto. |
| 4035 |
(isinf_signl): Ditto. |
| 4036 |
|
| 4037 |
2024-03-25 Gaius Mulley <[email protected]> |
| 4038 |
|
| 4039 |
* Make-lang.in (doc/m2.pdf): Add line break. |
| 4040 |
* target-independent/m2/Builtins.texi: Rebuilt. |
| 4041 |
* target-independent/m2/gm2-libs.texi: Rebuilt. |
| 4042 |
|
| 4043 |
2024-03-23 Gaius Mulley <[email protected]> |
| 4044 |
|
| 4045 |
PR modula2/114444 |
| 4046 |
* gm2-compiler/M2Quads.mod (BuildTruncFunction): Correct |
| 4047 |
error format specifier. |
| 4048 |
(BuildFloatFunction): Correct error format specifier. |
| 4049 |
|
| 4050 |
2024-03-23 Gaius Mulley <[email protected]> |
| 4051 |
|
| 4052 |
PR modula2/114443 |
| 4053 |
* m2.flex: Call AddTokCharStar with a stringtok if |
| 4054 |
end of line is reached without a closing quote. |
| 4055 |
|
| 4056 |
2024-03-22 Gaius Mulley <[email protected]> |
| 4057 |
|
| 4058 |
PR modula2/114422 |
| 4059 |
* gm2-compiler/M2Quads.mod (BuildConstructor): Add escape |
| 4060 |
character. |
| 4061 |
|
| 4062 |
2024-03-21 Gaius Mulley <[email protected]> |
| 4063 |
|
| 4064 |
PR modula2/113836 |
| 4065 |
* Make-lang.in (GM2_C_OBJS): Add m2/gm2-gcc/m2pp.o. |
| 4066 |
(m2/m2pp.o): Remove rule. |
| 4067 |
(GM2-COMP-BOOT-DEFS): Add M2LangDump.def. |
| 4068 |
(GM2-COMP-BOOT-MODS): Add M2LangDump.mod. |
| 4069 |
(GM2-GCC-DEFS): Add M2LangDump.def. |
| 4070 |
(GM2-GCC-MODS): Add M2LangDump.mod. |
| 4071 |
* gm2-compiler/M2CaseList.mod (WriteCase): Rewrite. |
| 4072 |
* gm2-compiler/M2Code.mod (DoModuleDeclare): Call |
| 4073 |
DumpFilteredResolver depending upon DumpLangDecl. |
| 4074 |
(DoCodeBlock): Call CreateDumpGimple depending upon |
| 4075 |
DumpLangGimple. |
| 4076 |
(Code): Replace DisplayQuadList blocks with DumpQuadruples. |
| 4077 |
(DisplayQuadsInScope): Remove. |
| 4078 |
(DisplayQuadNumbers): Remove. |
| 4079 |
(CodeBlock): Rewrite. |
| 4080 |
* gm2-compiler/M2GCCDeclare.def (IncludeDumpSymbol): New procedure. |
| 4081 |
(DumpFilteredResolver): New procedure. |
| 4082 |
(DumpFilteredDefinitive): New procedure. |
| 4083 |
* gm2-compiler/M2GCCDeclare.mod (IncludeDumpSymbol): New procedure. |
| 4084 |
(DumpFilteredResolver): New procedure. |
| 4085 |
(DumpFilteredDefinitive): New procedure. |
| 4086 |
(doInclude): Rewrite to use GetDumpFile. |
| 4087 |
(WatchIncludeList): Remove fixed debugging value. |
| 4088 |
(doExclude): Rewrite to use GetDumpFile. |
| 4089 |
(DeclareTypesConstantsProceduresInRange): Remove fixed debugging |
| 4090 |
values. |
| 4091 |
(PreAddModGcc): Rename parameter t as tree. |
| 4092 |
(IncludeGetNth): Rewrite to use GetDumpFile. |
| 4093 |
(IncludeType): Ditto. |
| 4094 |
(IncludeSubscript): Ditto. |
| 4095 |
(PrintLocalSymbol): Ditto. |
| 4096 |
(PrintLocalSymbols): Ditto. |
| 4097 |
(IncludeGetVarient): Ditto. |
| 4098 |
(PrintDeclared): Ditto. |
| 4099 |
(PrintAlignment): Ditto. |
| 4100 |
(PrintDecl): Ditto. |
| 4101 |
(PrintScope): Ditto. |
| 4102 |
(PrintProcedure): Ditto. |
| 4103 |
(PrintSym): Ditto. |
| 4104 |
(PrintSymbol): Ditto. |
| 4105 |
(PrintTerse): Ditto. |
| 4106 |
* gm2-compiler/M2Options.def (GetDumpLangDeclFilename): New |
| 4107 |
procedure function. |
| 4108 |
(SetDumpLangDeclFilename): New procedure. |
| 4109 |
(GetDumpLangQuadFilename): New procedure function. |
| 4110 |
(SetDumpLangQuadFilename): New procedure. |
| 4111 |
(GetDumpLangGimpleFilename): New procedure function. |
| 4112 |
(SetDumpLangGimpleFilename): New procedure. |
| 4113 |
(SetM2DumpFilter): New procedure. |
| 4114 |
(GetM2DumpFilter): New procedure function. |
| 4115 |
(GetDumpLangGimple): New procedure function. |
| 4116 |
* gm2-compiler/M2Options.mod (GetDumpLangDeclFilename): New |
| 4117 |
procedure function. |
| 4118 |
(SetDumpLangDeclFilename): New procedure. |
| 4119 |
(GetDumpLangQuadFilename): New procedure function. |
| 4120 |
(SetDumpLangQuadFilename): New procedure. |
| 4121 |
(GetDumpLangGimpleFilename): New procedure function. |
| 4122 |
(SetDumpLangGimpleFilename): New procedure. |
| 4123 |
(SetM2DumpFilter): New procedure. |
| 4124 |
(GetM2DumpFilter): New procedure function. |
| 4125 |
(GetDumpLangGimple): New procedure function. |
| 4126 |
* gm2-compiler/M2Quads.def (DumpQuadruples): New procedure. |
| 4127 |
* gm2-compiler/M2Quads.mod (DumpUntil): New procedure. |
| 4128 |
(GetCtorInit): New procedure function. |
| 4129 |
(GetCtorFini): New procedure function. |
| 4130 |
(DumpQuadrupleFilter): New procedure function. |
| 4131 |
(DumpQuadrupleAll): New procedure. |
| 4132 |
(DisplayQuadList): Remove procedure. |
| 4133 |
(DumpQuadruples): New procedure. |
| 4134 |
(DisplayQuadRange): Rewrite. |
| 4135 |
(DisplayQuad): Ditto. |
| 4136 |
(DisplayProcedureAttributes): Ditto. |
| 4137 |
(WriteOperator): Ditto. |
| 4138 |
(WriteMode): Ditto. |
| 4139 |
* gm2-compiler/M2Scope.mod (ForeachScopeBlockDo2): Replace |
| 4140 |
DisplayQuadruples with TraceQuadruples. |
| 4141 |
(ForeachScopeBlockDo3): Replace DisplayQuadruples with |
| 4142 |
TraceQuadruples. |
| 4143 |
* gm2-compiler/SymbolConversion.def (Gcc2Mod): New procedure function. |
| 4144 |
* gm2-compiler/SymbolConversion.mod: New procedure function. |
| 4145 |
* gm2-gcc/m2misc.cc (m2misc_DebugTree): New function. |
| 4146 |
(m2misc_DebugTreeChain): New function. |
| 4147 |
* gm2-gcc/m2options.h (M2Options_GetDumpLangDeclFilename): New |
| 4148 |
prototype. |
| 4149 |
(M2Options_SetDumpLangDeclFilename): New prototype. |
| 4150 |
(M2Options_GetDumpLangQuadFilename): New prototype. |
| 4151 |
(M2Options_SetDumpLangQuadFilename): New prototype. |
| 4152 |
(M2Options_GetDumpLangGimpleFilename): New prototype. |
| 4153 |
(M2Options_SetDumpLangGimpleFilename): New prototype. |
| 4154 |
(M2Options_GetDumpLangGimple): New prototype. |
| 4155 |
(M2Options_SetM2DumpFilter): New prototype. |
| 4156 |
(M2Options_GetM2DumpFilter): New prototype. |
| 4157 |
* m2pp.cc: Move to... |
| 4158 |
* gm2-gcc/m2pp.cc: ...here. |
| 4159 |
* m2pp.h: Move to... |
| 4160 |
* gm2-gcc/m2pp.h: ...here. |
| 4161 |
* gm2-gcc/m2statement.cc (m2statement_BuildEndFunctionCode): Call |
| 4162 |
m2pp_dump_gimple. |
| 4163 |
* gm2-lang.cc (ENABLE_QUAD_DUMP_ALL): New define. |
| 4164 |
(gm2_langhook_init_options): Add switch cases for proposed new |
| 4165 |
command line options. |
| 4166 |
* gm2-libs/DynamicStrings.def (ReverseIndex): New procedure |
| 4167 |
function. |
| 4168 |
* gm2-libs/DynamicStrings.mod: New procedure function. |
| 4169 |
* gm2-compiler/M2LangDump.def: New file. |
| 4170 |
* gm2-compiler/M2LangDump.mod: New file. |
| 4171 |
* gm2-gcc/m2langdump.h: New file. |
| 4172 |
* gm2-gcc/m2pp.def: New file. |
| 4173 |
|
| 4174 |
2024-03-21 Gaius Mulley <[email protected]> |
| 4175 |
|
| 4176 |
PR modula2/114418 |
| 4177 |
* gm2-compiler/PCSymBuild.mod (PushConstFunctionType): Check |
| 4178 |
func against NulSym and issue an error. |
| 4179 |
|
| 4180 |
2024-03-18 Gaius Mulley <[email protected]> |
| 4181 |
|
| 4182 |
PR modula2/114380 |
| 4183 |
* gm2-compiler/SymbolTable.mod (GetLowestType): Do not |
| 4184 |
skip over a set type, but return sym. |
| 4185 |
|
| 4186 |
2024-03-17 Gaius Mulley <[email protected]> |
| 4187 |
|
| 4188 |
PR modula2/114296 |
| 4189 |
* gm2-compiler/M2ALU.mod (ElementsSolved): Add tokenno parameter. |
| 4190 |
Add constant checks and generate error messages. |
| 4191 |
(EvalSetValues): Pass tokenno parameter to ElementsSolved. |
| 4192 |
* gm2-compiler/M2LexBuf.mod (stop): New procedure. |
| 4193 |
(MakeVirtualTok): Call stop if caret = BadTokenNo. |
| 4194 |
* gm2-compiler/M2Quads.def (BuildNulExpression): Add tokpos |
| 4195 |
parameter. |
| 4196 |
(BuildSetStart): Ditto. |
| 4197 |
(BuildEmptySet): Ditto. |
| 4198 |
(BuildConstructorEnd): Add startpos parameter. |
| 4199 |
(BuildTypeForConstructor): Add tokpos parameter. |
| 4200 |
* gm2-compiler/M2Quads.mod (BuildNulExpression): Add tokpos |
| 4201 |
parameter and push tokpos to the quad stack. |
| 4202 |
(BuildSetStart): Add tokpos parameter and push tokpos. |
| 4203 |
(BuildSetEnd): Rewrite. |
| 4204 |
(BuildEmptySet): Add tokpos parameter and push tokpos with |
| 4205 |
the set type. |
| 4206 |
(BuildConstructorStart): Pop typepos. |
| 4207 |
(BuildConstructorEnd): Add startpos parameter. |
| 4208 |
Create valtok from startpos and cbratokpos. |
| 4209 |
(BuildTypeForConstructor): Add tokpos parameter. |
| 4210 |
* gm2-compiler/M2Range.def (InitAssignmentRangeCheck): Rename |
| 4211 |
d to des and e to expr. |
| 4212 |
Add destok and exprtok parameters. |
| 4213 |
* gm2-compiler/M2Range.mod (InitAssignmentRangeCheck): Rename |
| 4214 |
d to des and e to expr. |
| 4215 |
Add destok and exprtok parameters. |
| 4216 |
Save destok and exprtok into range record. |
| 4217 |
(FoldAssignment): Pass exprtok to TryDeclareConstant. |
| 4218 |
* gm2-compiler/P3Build.bnf (ComponentValue): Rewrite. |
| 4219 |
(Constructor): Rewrite. |
| 4220 |
(ConstSetOrQualidentOrFunction): Rewrite. |
| 4221 |
(SetOrQualidentOrFunction): Rewrite. |
| 4222 |
* gm2-compiler/PCBuild.bnf (ConstSetOrQualidentOrFunction): Rewrite. |
| 4223 |
(SetOrQualidentOrFunction): Rewrite. |
| 4224 |
* gm2-compiler/PHBuild.bnf (Constructor): Rewrite. |
| 4225 |
(ConstSetOrQualidentOrFunction): Rewrite. |
| 4226 |
|
| 4227 |
2024-03-14 Gaius Mulley <[email protected]> |
| 4228 |
|
| 4229 |
PR modula2/114294 |
| 4230 |
* gm2-compiler/M2Quads.mod (BuildConstHighFromSym): |
| 4231 |
Call PutConst to assign the type Cardinal in the result |
| 4232 |
constant. |
| 4233 |
|
| 4234 |
2024-03-14 Gaius Mulley <[email protected]> |
| 4235 |
|
| 4236 |
PR modula2/114333 |
| 4237 |
* gm2-compiler/M2GenGCC.mod (CodeStatement): Remove op1, op2 and |
| 4238 |
op3 parameters to CodeIfLess, CodeIfLessEqu, CodeIfGreEqu, CodeIfGre, |
| 4239 |
CodeIfIn, CodeIfNotIn. |
| 4240 |
(CodeIfLess): Rewrite. |
| 4241 |
(PerformCodeIfLess): New procedure. |
| 4242 |
(CodeIfLess): Rewrite. |
| 4243 |
(PerformCodeIfLess): New procedure. |
| 4244 |
(CodeIfLessEqu): Rewrite. |
| 4245 |
(PerformCodeIfLessEqu): New procedure. |
| 4246 |
(CodeIfGreEqu): Rewrite. |
| 4247 |
(PerformCodeIfGreEqu): New procedure. |
| 4248 |
(CodeIfGre): Rewrite. |
| 4249 |
(PerformCodeIfGre): New procedure. |
| 4250 |
(CodeIfIn): Rewrite. |
| 4251 |
(PerformCodeIfIn): New procedure. |
| 4252 |
(CodeIfNotIn): Rewrite. |
| 4253 |
(PerformCodeIfNotIn): New procedure. |
| 4254 |
|
| 4255 |
2024-03-14 Gaius Mulley <[email protected]> |
| 4256 |
|
| 4257 |
PR modula2/114333 |
| 4258 |
* gm2-compiler/M2Check.mod (checkUnbounded): New procedure |
| 4259 |
function. |
| 4260 |
(checkArrayTypeEquivalence): Extend checking to cover unbounded |
| 4261 |
arrays, arrays and constants. |
| 4262 |
(IsTyped): Simplified the expression and corrected a test for |
| 4263 |
IsConstructor. |
| 4264 |
(checkTypeKindViolation): New procedure function. |
| 4265 |
(doCheckPair): Call checkTypeKindViolation. |
| 4266 |
* gm2-compiler/M2GenGCC.mod (CodeStatement): Remove parameters |
| 4267 |
to CodeEqu and CodeNotEqu. |
| 4268 |
(PerformCodeIfEqu): New procedure. |
| 4269 |
(CodeIfEqu): Rewrite. |
| 4270 |
(PerformCodeIfNotEqu): New procedure. |
| 4271 |
(CodeIfNotEqu): Rewrite. |
| 4272 |
* gm2-compiler/M2Quads.mod (BuildRelOpFromBoolean): Correct |
| 4273 |
comment. |
| 4274 |
|
| 4275 |
2024-03-11 Gaius Mulley <[email protected]> |
| 4276 |
|
| 4277 |
PR modula2/114295 |
| 4278 |
* gm2-compiler/M2Batch.mod (MakeProgramSource): Call PutDeclared |
| 4279 |
if the module is known. |
| 4280 |
(MakeDefinitionSource): Ditto. |
| 4281 |
(MakeImplementationSource): Ditto. |
| 4282 |
* gm2-compiler/M2Comp.mod (ExamineHeader): New procedure. |
| 4283 |
(ExamineCompilationUnit): Rewrite. |
| 4284 |
(PeepInto): Rewrite. |
| 4285 |
* gm2-compiler/M2Error.mod (NewError): Remove default call to |
| 4286 |
GetTokenNo. |
| 4287 |
* gm2-compiler/M2Quads.mod (callRequestDependant): Push tokno with |
| 4288 |
Adr. |
| 4289 |
(BuildStringAdrParam): Ditto. |
| 4290 |
(doBuildBinaryOp): Push OperatorPos on the bool stack. |
| 4291 |
(BuildRelOp): Ditto. |
| 4292 |
* gm2-compiler/P2Build.bnf (SetType): Pass set token pos to |
| 4293 |
BuildSetType. |
| 4294 |
(PointerType): Pass pointer token pos to BuildPointerType. |
| 4295 |
* gm2-compiler/P2SymBuild.def (BuildPointerType): Add parameter |
| 4296 |
pointerpos. |
| 4297 |
(BuildSetType): Add parameter setpos. |
| 4298 |
* gm2-compiler/P2SymBuild.mod (BuildPointerType): Add parameter |
| 4299 |
pointerpos. Build combined token and use it when creating a |
| 4300 |
pointer type. |
| 4301 |
(BuildSetType): Add parameter setpos. Build combined token and |
| 4302 |
use it when creating a set type. |
| 4303 |
* gm2-compiler/SymbolTable.mod (DebugUnknownToken): New constant. |
| 4304 |
(CheckTok): New procedure function. |
| 4305 |
(MakeProcedure): Call CheckTok. |
| 4306 |
(MakeRecord): Ditto. |
| 4307 |
(MakeVarient): Ditto. |
| 4308 |
(MakeEnumeration): Ditto. |
| 4309 |
(MakeHiddenType): Ditto. |
| 4310 |
(MakeConstant): Ditto. |
| 4311 |
(MakeConstStringCnul): Ditto. |
| 4312 |
(MakeSubrange): Ditto. |
| 4313 |
(MakeTemporary): Ditto. |
| 4314 |
(MakeVariableForParam): Ditto. |
| 4315 |
(MakeParameterHeapVar): Ditto. |
| 4316 |
(MakePointer): Ditto. |
| 4317 |
(MakeSet): Ditto. |
| 4318 |
(MakeUnbounded): Ditto. |
| 4319 |
(MakeProcType): Ditto. |
| 4320 |
|
| 4321 |
2024-03-08 Gaius Mulley <[email protected]> |
| 4322 |
|
| 4323 |
* gm2-compiler/M2Quads.mod (Init): Use InitIndexTuned with |
| 4324 |
default size 65K. |
| 4325 |
* gm2-compiler/SymbolConversion.mod (Init): Ditto. |
| 4326 |
* gm2-compiler/SymbolTable.mod (BEGIN): Ditto. |
| 4327 |
* mc-boot/GM2Dependent.cc: Rebuild. |
| 4328 |
* mc-boot/GM2Dependent.h: Rebuild. |
| 4329 |
* mc-boot/GM2RTS.cc: Rebuild. |
| 4330 |
* pge-boot/GIndexing.cc: Rebuild. |
| 4331 |
* pge-boot/GIndexing.h: Rebuild. |
| 4332 |
* pge-boot/GM2Dependent.cc: Rebuild. |
| 4333 |
* pge-boot/GM2Dependent.h: Rebuild. |
| 4334 |
* pge-boot/GM2RTS.cc: Rebuild. |
| 4335 |
|
| 4336 |
2024-03-07 Gaius Mulley <[email protected]> |
| 4337 |
|
| 4338 |
PR modula2/109969 |
| 4339 |
* gm2-compiler/M2LexBuf.def (TokenToLineNo): Rename parameter. |
| 4340 |
(TokenToColumnNo): Rename parameter. |
| 4341 |
(TokenToLocation): Rename parameter. |
| 4342 |
(FindFileNameFromToken): Rename parameter. |
| 4343 |
(DumpTokens): Rewrite comment. |
| 4344 |
* gm2-compiler/M2LexBuf.mod: Rewrite. |
| 4345 |
* gm2-compiler/P0SyntaxCheck.bnf (CheckInsertCandidate): |
| 4346 |
DumpTokens before and after inserting recovery token. |
| 4347 |
* gm2-gcc/m2builtins.cc (do_target_support_exists): Add |
| 4348 |
bf_c99_compl case. |
| 4349 |
* gm2-libs/Indexing.def (InitIndexTuned): New procedure |
| 4350 |
function. |
| 4351 |
(IsEmpty): New procedure function. |
| 4352 |
* gm2-libs/Indexing.mod (InitIndexTuned): New procedure |
| 4353 |
function. |
| 4354 |
(IsEmpty): New procedure function. |
| 4355 |
(Index): New field GrowFactor. |
| 4356 |
(PutIndice): Use GrowFactor to extend dynamic array. |
| 4357 |
|
| 4358 |
2024-03-04 Gaius Mulley <[email protected]> |
| 4359 |
|
| 4360 |
PR modula2/114227 |
| 4361 |
* gm2-libs-iso/M2RTS.mod (ProcedureChain): Remove. |
| 4362 |
(ProcedureList): Remove. |
| 4363 |
(ExecuteReverse): Remove. |
| 4364 |
(ExecuteTerminationProcedures): Rewrite. |
| 4365 |
(ExecuteInitialProcedures): Rewrite. |
| 4366 |
(AppendProc): Remove. |
| 4367 |
(InstallTerminationProcedure): Rewrite. |
| 4368 |
(InstallInitialProcedure): Rewrite. |
| 4369 |
(InitProcList): Remove. |
| 4370 |
* gm2-libs/M2Dependent.def (InstallTerminationProcedure): |
| 4371 |
New procedure. |
| 4372 |
(ExecuteTerminationProcedures): New procedure. |
| 4373 |
(InstallInitialProcedure): New procedure. |
| 4374 |
(ExecuteInitialProcedures): New procedure. |
| 4375 |
* gm2-libs/M2Dependent.mod (ProcedureChain): New type. |
| 4376 |
(ProcedureList): New type. |
| 4377 |
(ExecuteReverse): New procedure. |
| 4378 |
(ExecuteTerminationProcedures): New procedure. |
| 4379 |
(ExecuteInitialProcedures): New procedure. |
| 4380 |
(AppendProc): New procedure. |
| 4381 |
(InstallTerminationProcedure): New procedure. |
| 4382 |
(InstallInitialProcedure): New procedure. |
| 4383 |
(InitProcList): New procedure. |
| 4384 |
* gm2-libs/M2RTS.mod (ProcedureChain): Remove. |
| 4385 |
(ProcedureList): Remove. |
| 4386 |
(ExecuteReverse): Remove. |
| 4387 |
(ExecuteTerminationProcedures): Rewrite. |
| 4388 |
(ExecuteInitialProcedures): Rewrite. |
| 4389 |
(AppendProc): Remove. |
| 4390 |
(InstallTerminationProcedure): Rewrite. |
| 4391 |
(InstallInitialProcedure): Rewrite. |
| 4392 |
(InitProcList): Remove. |
| 4393 |
|
| 4394 |
2024-02-25 Gaius Mulley <[email protected]> |
| 4395 |
|
| 4396 |
PR modula2/113749 |
| 4397 |
* Make-lang.in (BUILD-PGE-O): Add m2/pge-boot/Gwrapc.o. |
| 4398 |
* gm2-libs-ch/wrapc.c (wrapc_SeekSet): New function. |
| 4399 |
(wrapc_SeekEnd): Ditto. |
| 4400 |
(wrapc_ReadOnly): Ditto. |
| 4401 |
(wrapc_WriteOnly): Ditto. |
| 4402 |
* gm2-libs/FIO.mod (SEEK_SET): Remove. |
| 4403 |
(SEEK_END): Remove. |
| 4404 |
(UNIXREADONLY): Remove. |
| 4405 |
(UNIXWRITEONLY): Remove. |
| 4406 |
(ConnectToUnix): Replace UNIXWRITEONLY with a call to WriteOnly. |
| 4407 |
Replace UNIXREADONLY with a call to ReadOnly. |
| 4408 |
(SetPositionFromBeginning): Replace SEEK_SET with a call to |
| 4409 |
SeekSet. |
| 4410 |
(SetPositionFromEnd): Replace SEEK_END with a call to |
| 4411 |
SeekEnd. |
| 4412 |
* gm2-libs/wrapc.def (SeekSet): New procedure function. |
| 4413 |
(SeekEnd): New procedure function. |
| 4414 |
(ReadOnly): New procedure function. |
| 4415 |
(WriteOnly): New procedure function. |
| 4416 |
* mc-boot-ch/Glibc.c (BUILD_MC_LIBC_TRACE): Undef. |
| 4417 |
(check_init): New function. |
| 4418 |
(tracedb): Ditto. |
| 4419 |
(tracedb_open): Ditto. |
| 4420 |
(tracedb_result): Ditto. |
| 4421 |
(libc_read): Ditto. |
| 4422 |
(libc_write): Ditto. |
| 4423 |
(libc_close): Ditto. |
| 4424 |
(libc_creat): Ditto. |
| 4425 |
(libc_open): Ditto. |
| 4426 |
(libc_lseek): Ditto. |
| 4427 |
* mc-boot-ch/Gwrapc.c (wrapc_SeekSet): New function. |
| 4428 |
(wrapc_SeekEnd): Ditto. |
| 4429 |
(wrapc_ReadOnly): Ditto. |
| 4430 |
(wrapc_WriteOnly): Ditto. |
| 4431 |
* mc-boot/GDynamicStrings.cc: Rebuilt. |
| 4432 |
* mc-boot/GFIO.cc: Ditto. |
| 4433 |
* mc-boot/GIndexing.cc: Ditto. |
| 4434 |
* mc-boot/GM2Dependent.cc: Ditto. |
| 4435 |
* mc-boot/GM2EXCEPTION.cc: Ditto. |
| 4436 |
* mc-boot/GPushBackInput.cc: Ditto. |
| 4437 |
* mc-boot/GRTExceptions.cc: Ditto. |
| 4438 |
* mc-boot/GRTint.cc: Ditto. |
| 4439 |
* mc-boot/GSArgs.cc: Ditto. |
| 4440 |
* mc-boot/GStdIO.cc: Ditto. |
| 4441 |
* mc-boot/GStringConvert.cc: Ditto. |
| 4442 |
* mc-boot/GSysStorage.cc: Ditto. |
| 4443 |
* mc-boot/Gdecl.cc: Ditto. |
| 4444 |
* mc-boot/Gkeyc.cc: Ditto. |
| 4445 |
* mc-boot/Glibc.h: Ditto. |
| 4446 |
* mc-boot/GmcComment.cc: Ditto. |
| 4447 |
* mc-boot/GmcComp.cc: Ditto. |
| 4448 |
* mc-boot/GmcDebug.cc: Ditto. |
| 4449 |
* mc-boot/GmcMetaError.cc: Ditto. |
| 4450 |
* mc-boot/GmcStack.cc: Ditto. |
| 4451 |
* mc-boot/GmcStream.cc: Ditto. |
| 4452 |
* mc-boot/GnameKey.cc: Ditto. |
| 4453 |
* mc-boot/GsymbolKey.cc: Ditto. |
| 4454 |
* mc-boot/Gvarargs.cc: Ditto. |
| 4455 |
* mc-boot/Gwrapc.h: Ditto. |
| 4456 |
* mc/decl.mod (getSymName): Add pointerref clause. |
| 4457 |
* mc/mcStream.mod (copy): Check for an error after every read. |
| 4458 |
* mc/varargs.mod (copy): Rewrite pointer arithmetic using INC to |
| 4459 |
avoid type incompatibility. |
| 4460 |
* pge-boot/GDynamicStrings.cc: Rebuilt. |
| 4461 |
* pge-boot/GDynamicStrings.h: Ditto. |
| 4462 |
* pge-boot/GFIO.cc: Ditto. |
| 4463 |
* pge-boot/GFIO.h: Ditto. |
| 4464 |
* pge-boot/GIO.cc: Ditto. |
| 4465 |
* pge-boot/GIndexing.cc: Ditto. |
| 4466 |
* pge-boot/GM2Dependent.cc: Ditto. |
| 4467 |
* pge-boot/GM2EXCEPTION.cc: Ditto. |
| 4468 |
* pge-boot/GNameKey.cc: Ditto. |
| 4469 |
* pge-boot/GPushBackInput.cc: Ditto. |
| 4470 |
* pge-boot/GRTExceptions.cc: Ditto. |
| 4471 |
* pge-boot/GStdIO.cc: Ditto. |
| 4472 |
* pge-boot/GSymbolKey.cc: Ditto. |
| 4473 |
* pge-boot/GSysStorage.cc: Ditto. |
| 4474 |
* pge-boot/Glibc.h: Ditto. |
| 4475 |
* pge-boot/Gwrapc.cc: Ditto. |
| 4476 |
* pge-boot/Gwrapc.h: Ditto. |
| 4477 |
|
| 4478 |
2024-02-22 Gaius Mulley <[email protected]> |
| 4479 |
|
| 4480 |
PR modula2/114055 |
| 4481 |
* gm2-compiler/M2Check.mod (Import): IsConstLitInternal and |
| 4482 |
IsConstLit. |
| 4483 |
(isInternal): New procedure function. |
| 4484 |
(doCheck): Test for isInternal in either operand and early |
| 4485 |
return true. |
| 4486 |
* gm2-compiler/M2Quads.mod (PushOne): Rewrite with extra |
| 4487 |
parameter internal. |
| 4488 |
(BuildPseudoBy): Add TRUE parameter to PushOne call. |
| 4489 |
(BuildIncProcedure): Add FALSE parameter to PushOne call. |
| 4490 |
(BuildDecProcedure): Add FALSE parameter to PushOne call. |
| 4491 |
* gm2-compiler/M2Range.mod (ForLoopBeginTypeCompatible): |
| 4492 |
Uncomment code and tidy up error string. |
| 4493 |
* gm2-compiler/SymbolTable.def (PutConstLitInternal): |
| 4494 |
New procedure. |
| 4495 |
(IsConstLitInternal): New procedure function. |
| 4496 |
* gm2-compiler/SymbolTable.mod (PutConstLitInternal): |
| 4497 |
New procedure. |
| 4498 |
(IsConstLitInternal): New procedure function. |
| 4499 |
(SymConstLit): New field IsInternal. |
| 4500 |
(CreateConstLit): Initialize IsInternal to FALSE. |
| 4501 |
|
| 4502 |
2024-02-21 Gaius Mulley <[email protected]> |
| 4503 |
|
| 4504 |
PR modula2/114026 |
| 4505 |
* gm2-compiler/M2GenGCC.mod (Import): Remove DisplayQuadruples. |
| 4506 |
Remove DisplayQuadList. |
| 4507 |
(MixTypesBinary): Replace check with overflowCheck. |
| 4508 |
New variable typeChecking. |
| 4509 |
Use GenQuadOTypetok to retrieve typeChecking. |
| 4510 |
Use typeChecking to suppress error message. |
| 4511 |
* gm2-compiler/M2LexBuf.def (MakeVirtual2Tok): New procedure |
| 4512 |
function. |
| 4513 |
* gm2-compiler/M2LexBuf.mod (MakeVirtualTok): Improve comment. |
| 4514 |
(MakeVirtual2Tok): New procedure function. |
| 4515 |
* gm2-compiler/M2Quads.def (GetQuadOTypetok): New procedure. |
| 4516 |
* gm2-compiler/M2Quads.mod (QuadFrame): New field CheckType. |
| 4517 |
(PutQuadO): Rewrite using PutQuadOType. |
| 4518 |
(PutQuadOType): New procedure. |
| 4519 |
(GetQuadOTypetok): New procedure. |
| 4520 |
(BuildPseudoBy): Rewrite. |
| 4521 |
(BuildForToByDo): Remove type checking. |
| 4522 |
Add parameters e2, e2tok, BySym, bytok to |
| 4523 |
InitForLoopBeginRange. |
| 4524 |
Push the RangeId. |
| 4525 |
(BuildEndFor): Pop the RangeId. |
| 4526 |
Use GenQuadOTypetok to generate AddOp without type checking. |
| 4527 |
Call PutRangeForIncrement with the RangeId and IncQuad. |
| 4528 |
(GenQuadOtok): Rewrite using GenQuadOTypetok. |
| 4529 |
(GenQuadOTypetok): New procedure. |
| 4530 |
* gm2-compiler/M2Range.def (InitForLoopBeginRangeCheck): |
| 4531 |
Rename d as des, e as expr. |
| 4532 |
Add expr1, expr1tok, expr2, expr2tok, byconst, byconsttok |
| 4533 |
parameters. |
| 4534 |
(PutRangeForIncrement): New procedure. |
| 4535 |
* gm2-compiler/M2Range.mod (Import): MakeVirtual2Tok. |
| 4536 |
(Range): Add expr2, byconst, destok, exprtok, expr2tok, |
| 4537 |
incrementquad. |
| 4538 |
(InitRange): Initialize expr2 to NulSym. |
| 4539 |
Initialize byconst to NulSym. |
| 4540 |
Initialize tokenNo, destok, exprtok, expr2tok, byconst to |
| 4541 |
UnknownTokenNo. |
| 4542 |
Initialize incrementquad to 0. |
| 4543 |
(PutRangeForIncrement): New procedure. |
| 4544 |
(PutRangeDesExpr2): New procedure. |
| 4545 |
(InitForLoopBeginRangeCheck): Rewrite. |
| 4546 |
(ForLoopBeginTypeCompatible): New procedure function. |
| 4547 |
(CodeForLoopBegin): Call ForLoopBeginTypeCompatible and |
| 4548 |
only code the for loop assignment if all the type checks |
| 4549 |
succeed. |
| 4550 |
|
| 4551 |
2024-02-19 Gaius Mulley <[email protected]> |
| 4552 |
|
| 4553 |
PR modula2/113889 |
| 4554 |
* gm2-compiler/M2ALU.mod (StringFitsArray): Add tokeno parameter |
| 4555 |
to GetStringLength. |
| 4556 |
(InitialiseArrayOfCharWithString): Add tokeno parameter to |
| 4557 |
GetStringLength. |
| 4558 |
(CheckGetCharFromString): Add tokeno parameter to GetStringLength. |
| 4559 |
* gm2-compiler/M2Const.mod (constResolveViaMeta): Replace |
| 4560 |
PutConstString with PutConstStringKnown. |
| 4561 |
* gm2-compiler/M2GCCDeclare.mod (DeclareCharConstant): Add tokenno |
| 4562 |
parameter and add assert. Use tokenno to generate location. |
| 4563 |
(DeclareStringConstant): Add tokenno and add asserts. |
| 4564 |
Add tokenno parameter to calls to GetStringLength. |
| 4565 |
(PromoteToString): Add assert and add tokenno parameter to |
| 4566 |
GetStringLength. |
| 4567 |
(PromoteToCString): Add assert and add tokenno parameter to |
| 4568 |
GetStringLength. |
| 4569 |
(DeclareConstString): New procedure function. |
| 4570 |
(TryDeclareConst): Remove size local variable. |
| 4571 |
Check IsConstStringKnown. |
| 4572 |
Call DeclareConstString. |
| 4573 |
(PrintString): New procedure. |
| 4574 |
(PrintVerboseFromList): Call PrintString. |
| 4575 |
(CheckResolveSubrange): Check IsConstStringKnown before creating |
| 4576 |
subrange for char or issuing an error. |
| 4577 |
* gm2-compiler/M2GenGCC.mod (ResolveConstantExpressions): Add |
| 4578 |
StringLengthOp, StringConvertM2nulOp, StringConvertCnulOp case |
| 4579 |
clauses. |
| 4580 |
(FindSize): Add assert IsConstStringKnown. |
| 4581 |
(StringToChar): New variable tokenno. |
| 4582 |
Add tokenno parameter to GetStringLength. |
| 4583 |
(FoldStringLength): New procedure. |
| 4584 |
(FoldStringConvertM2nul): New procedure. |
| 4585 |
(FoldStringConvertCnul): New procedure. |
| 4586 |
(CodeAddr): Add tokenno parameter. |
| 4587 |
Replace CurrentQuadToken with tokenno. |
| 4588 |
Add tokenno parameter to GetStringLength. |
| 4589 |
(PrepareCopyString): Rewrite. |
| 4590 |
(IsConstStrKnown): New procedure function. |
| 4591 |
(FoldAdd): Detect conststring op2 and op3 which are known and |
| 4592 |
concat. Place result into op1. |
| 4593 |
(FoldStandardFunction): Pass tokenno as a parameter to |
| 4594 |
GetStringLength. |
| 4595 |
(CodeXIndr): Rewrite comment. |
| 4596 |
Rename op1 to left, op3 to right. |
| 4597 |
Pass rightpos to GetStringLength. |
| 4598 |
* gm2-compiler/M2Quads.def (QuadrupleOp): Add |
| 4599 |
StringConvertCnulOp, StringConvertM2nulOp and StringLengthOp. |
| 4600 |
* gm2-compiler/M2Quads.mod (import): Remove MakeConstLitString. |
| 4601 |
Add CopyConstString and PutConstStringKnown. |
| 4602 |
(IsInitialisingConst): Add StringConvertCnulOp, |
| 4603 |
StringConvertM2nulOp and StringLengthOp. |
| 4604 |
(callRequestDependant): Replace MakeConstLitString with |
| 4605 |
MakeConstString. |
| 4606 |
(DeferMakeConstStringCnul): New procedure function. |
| 4607 |
(DeferMakeConstStringM2nul): New procedure function. |
| 4608 |
(CheckParameter): Add early return if the string const is unknown. |
| 4609 |
(DescribeType): Add token parameter to GetStringLength. |
| 4610 |
Check for IsConstStringKnown. |
| 4611 |
(ManipulateParameters): Use DeferMakeConstStringCnul and |
| 4612 |
DeferMakeConstStringM2nul. |
| 4613 |
(MakeLengthConst): Remove and replace with... |
| 4614 |
(DeferMakeLengthConst): ... this. |
| 4615 |
(doBuildBinaryOp): Create ConstString and set it to contents |
| 4616 |
unknown. |
| 4617 |
Check IsConstStringKnown before generating error message. |
| 4618 |
(WriteQuad): Add StringConvertCnulOp, StringConvertM2nulOp and |
| 4619 |
StringLengthOp. |
| 4620 |
(WriteOperator): Add StringConvertCnulOp, StringConvertM2nulOp and |
| 4621 |
StringLengthOp. |
| 4622 |
* gm2-compiler/M2SymInit.mod (CheckReadBeforeInitQuad): Add |
| 4623 |
StringConvertCnulOp, StringConvertM2nulOp and StringLengthOp. |
| 4624 |
* gm2-compiler/NameKey.mod (LengthKey): Allow NulName to return 0. |
| 4625 |
* gm2-compiler/P2SymBuild.mod (BuildString): Replace |
| 4626 |
MakeConstLitString with MakeConstString. |
| 4627 |
(DetermineType): Replace PutConstString with PutConstStringKnown. |
| 4628 |
* gm2-compiler/SymbolTable.def (MakeConstVar): Tidy up comment. |
| 4629 |
(MakeConstLitString): Remove. |
| 4630 |
(MakeConstString): New procedure function. |
| 4631 |
(MakeConstStringCnul): New procedure function. |
| 4632 |
(MakeConstStringM2nul): New procedure function. |
| 4633 |
(PutConstStringKnown): New procedure. |
| 4634 |
(CopyConstString): New procedure. |
| 4635 |
(IsConstStringKnown): New procedure function. |
| 4636 |
(IsConstStringM2): New procedure function. |
| 4637 |
(IsConstStringC): New procedure function. |
| 4638 |
(IsConstStringM2nul): New procedure function. |
| 4639 |
(IsConstStringCnul): New procedure function. |
| 4640 |
(GetStringLength): Add token parameter. |
| 4641 |
(PutConstString): Remove. |
| 4642 |
(GetConstStringM2): Remove. |
| 4643 |
(GetConstStringC): Remove. |
| 4644 |
(GetConstStringM2nul): Remove. |
| 4645 |
(GetConstStringCnul): Remove. |
| 4646 |
(MakeConstStringC): Remove. |
| 4647 |
* gm2-compiler/SymbolTable.mod (SymConstString): Remove |
| 4648 |
M2Variant, NulM2Variant, CVariant, NulCVariant. |
| 4649 |
Add Known. |
| 4650 |
(CheckAnonymous): Replace $$ with __anon. |
| 4651 |
(IsNameAnonymous): Replace $$ with __anon. |
| 4652 |
(MakeConstVar): Detect whether the name is nul and treat as |
| 4653 |
a temporary constant. |
| 4654 |
(MakeConstLitString): Remove. |
| 4655 |
(BackFillString): Remove. |
| 4656 |
(InitConstString): Rewrite. |
| 4657 |
(GetConstStringM2): Remove. |
| 4658 |
(GetConstStringC): Remove. |
| 4659 |
(GetConstStringContent): New procedure function. |
| 4660 |
(GetConstStringM2nul): Remove. |
| 4661 |
(GetConstStringCnul): Remove. |
| 4662 |
(MakeConstStringCnul): Rewrite. |
| 4663 |
(MakeConstStringM2nul): Rewrite. |
| 4664 |
(MakeConstStringC): Remove. |
| 4665 |
(MakeConstString): Rewrite. |
| 4666 |
(PutConstStringKnown): New procedure. |
| 4667 |
(CopyConstString): New procedure. |
| 4668 |
(PutConstString): Remove. |
| 4669 |
(IsConstStringKnown): New procedure function. |
| 4670 |
(IsConstStringM2): New procedure function. |
| 4671 |
(IsConstStringC): Rewrite. |
| 4672 |
(IsConstStringM2nul): Rewrite. |
| 4673 |
(IsConstStringCnul): Rewrite. |
| 4674 |
(GetConstStringKind): New procedure function. |
| 4675 |
(GetString): Check Known. |
| 4676 |
(GetStringLength): Add token parameter and check Known. |
| 4677 |
|
| 4678 |
2024-02-10 Gaius Mulley <[email protected]> |
| 4679 |
|
| 4680 |
PR modula2/113848 |
| 4681 |
* gm2-libs/SArgs.mod (GetArg): Re-write address arithmetic |
| 4682 |
to avoid (void *) computation. |
| 4683 |
|
| 4684 |
2024-02-03 Gaius Mulley <[email protected]> |
| 4685 |
|
| 4686 |
PR modula2/113730 |
| 4687 |
* gm2-compiler/M2Base.mod (IsUserType): New procedure function. |
| 4688 |
(MixTypes): Use IsUserType instead of IsType before calling MixTypes. |
| 4689 |
* gm2-compiler/M2GenGCC.mod (GetTypeMode): Remove and import from |
| 4690 |
SymbolTable. |
| 4691 |
(CodeBinaryCheck): Replace call to MixTypes with MixTypesBinary. |
| 4692 |
(CodeBinary): Replace call to MixTypes with MixTypesBinary. |
| 4693 |
(CodeIfLess): Replace MixTypes with ComparisonMixTypes. |
| 4694 |
(CodeIfGre): Replace MixTypes with ComparisonMixTypes. |
| 4695 |
(CodeIfLessEqu): Replace MixTypes with ComparisonMixTypes. |
| 4696 |
(CodeIfGreEqu): Replace MixTypes with ComparisonMixTypes. |
| 4697 |
(CodeIfEqu): Replace MixTypes with ComparisonMixTypes. |
| 4698 |
(CodeIfNotEqu): Replace MixTypes with ComparisonMixTypes. |
| 4699 |
(ComparisonMixTypes): New procedure function. |
| 4700 |
* gm2-compiler/M2Quads.mod (BuildEndFor): Replace GenQuadO |
| 4701 |
with GenQuadOtok and pass tokenpos for the operands to the AddOp |
| 4702 |
and XIndrOp. |
| 4703 |
(CheckRangeIncDec): Check etype against NulSym and dtype for a |
| 4704 |
pointer and set etype to Address. |
| 4705 |
(BuildAddAdrFunction): New variable opa. Convert operand to an |
| 4706 |
address and save result in opa. Replace GenQuad with GenQuadOtok. |
| 4707 |
(BuildSubAdrFunction): New variable opa. Convert operand to an |
| 4708 |
address and save result in opa. Replace GenQuad with GenQuadOtok. |
| 4709 |
(BuildDiffAdrFunction): New variable opa. Convert operand to an |
| 4710 |
address and save result in opa. Replace GenQuad with GenQuadOtok. |
| 4711 |
(calculateMultipicand): Replace GenQuadO with GenQuadOtok. |
| 4712 |
(ConvertToAddress): New procedure function. |
| 4713 |
(BuildDynamicArray): Convert index to address before adding to |
| 4714 |
the base. |
| 4715 |
* gm2-compiler/SymbolTable.def (GetTypeMode): New procedure function. |
| 4716 |
* gm2-compiler/SymbolTable.mod (GetTypeMode): New procedure |
| 4717 |
function implemented (moved from M2GenGCC.mod). |
| 4718 |
* gm2-libs/SArgs.mod (GetArg): Replace cast to PtrToChar with ADDRESS. |
| 4719 |
|
| 4720 |
2024-02-01 Gaius Mulley <[email protected]> |
| 4721 |
|
| 4722 |
PR modula2/111627 |
| 4723 |
PR modula2/112506 |
| 4724 |
* gm2-compiler/M2Comp.mod (Pass0CheckMod): Test IsDefImp before |
| 4725 |
checking IsDefinitionForC. |
| 4726 |
|
| 4727 |
2024-01-31 Gaius Mulley <[email protected]> |
| 4728 |
|
| 4729 |
* gm2-compiler/M2Comp.mod (Pass0CheckMod): Tidy up comment. |
| 4730 |
* gm2-compiler/P1Build.bnf (PossiblyExportIdent): Replace |
| 4731 |
PushTF with PushTFtok. |
| 4732 |
|
| 4733 |
2024-01-26 Gaius Mulley <[email protected]> |
| 4734 |
|
| 4735 |
* gm2-compiler/M2Check.mod (dumpIndice): New procedure. |
| 4736 |
(dumpIndex): New procedure. |
| 4737 |
(dumptInfo): New procedure. |
| 4738 |
(buildError4): Add comment and pass formal and actual to |
| 4739 |
MetaError4. Improve text describing error. |
| 4740 |
(buildError2): Generate different error descriptions for |
| 4741 |
the three error kinds. |
| 4742 |
(checkConstMeta): Add block comment. Add more meta checks |
| 4743 |
and call doCheckPair to complete string const checking. |
| 4744 |
Add tinfo parameter. |
| 4745 |
(checkConstEquivalence): Add tinfo parameter. |
| 4746 |
* gm2-compiler/M2GCCDeclare.mod (PrintVerboseFromList): |
| 4747 |
Print the length of a const string. |
| 4748 |
* gm2-compiler/M2GenGCC.mod (CodeParam): Remove parameters |
| 4749 |
op1, op2 and op3. |
| 4750 |
(doParam): Add paramtok parameter. Use paramtok instead rather |
| 4751 |
than CurrentQuadToken. |
| 4752 |
(CodeParam): Rewrite. |
| 4753 |
* gm2-compiler/M2Quads.mod (CheckProcedureParameters): |
| 4754 |
Add comments explaining that const strings are not checked |
| 4755 |
in M2Quads.mod. |
| 4756 |
(FailParameter): Use MetaErrorT2 with tokpos rather than |
| 4757 |
MetaError2. |
| 4758 |
(doBuildBinaryOp): Assign OldPos and OperatorPos before the |
| 4759 |
IF block. |
| 4760 |
* gm2-compiler/SymbolTable.mod (PutConstString): Add call to |
| 4761 |
InitWhereDeclaredTok. |
| 4762 |
|
| 4763 |
2024-01-25 Gaius Mulley <[email protected]> |
| 4764 |
|
| 4765 |
* gm2-libs/libc.def (lseek): Change the second parameter |
| 4766 |
type to CSSIZE_T and make the return value optional. |
| 4767 |
|
| 4768 |
2024-01-24 Gaius Mulley <[email protected]> |
| 4769 |
|
| 4770 |
PR modula2/113559 |
| 4771 |
* gm2-libs/FIO.mod (SetPositionFromBeginning): Convert pos into |
| 4772 |
CSSIZE_T during call to lseek. |
| 4773 |
(SetPositionFromEnd): Convert pos into CSSIZE_T during call to |
| 4774 |
lseek. |
| 4775 |
|
| 4776 |
2024-01-23 H.J. Lu <[email protected]> |
| 4777 |
|
| 4778 |
PR bootstrap/113554 |
| 4779 |
* mc/mc.flex (alloca): Don't redefine. |
| 4780 |
(handleDate): Replace (long *)0 with (time_t *)0 when calling |
| 4781 |
time. |
| 4782 |
|
| 4783 |
2024-01-19 Gaius Mulley <[email protected]> |
| 4784 |
|
| 4785 |
* gm2-compiler/M2BasicBlock.mod (InitBasicBlocks): Rename |
| 4786 |
ForeachScopeBlockDo to ForeachScopeBlockDo3. |
| 4787 |
* gm2-compiler/M2Code.mod: Import ForeachScopeBlockDo2. |
| 4788 |
(OptimizeScopeBlock): Call ForeachScopeBlockDo3 for |
| 4789 |
procedures with three parameters and ForeachScopeBlockDo2 |
| 4790 |
for two parameters. |
| 4791 |
(CodeBlock): Ditto. |
| 4792 |
* gm2-compiler/M2GCCDeclare.mod (DeclareTypesConstantsProcedures): |
| 4793 |
Rename ForeachScopeBlockDo to ForeachScopeBlockDo3. |
| 4794 |
* gm2-compiler/M2GenGCC.def (ConvertQuadsToTree): Remove Scope |
| 4795 |
parameter. |
| 4796 |
* gm2-compiler/M2GenGCC.mod (ConvertQuadsToTree): Remove Scope |
| 4797 |
parameter. |
| 4798 |
(MaybeDebugBuiltinMemcpy): Remove parameter tok. |
| 4799 |
(MaybeDebugBuiltinMemset): Remove. |
| 4800 |
(MakeCopyUse): Remove tokenno from call to |
| 4801 |
MaybeDebugBuiltinMemcpy. |
| 4802 |
(PerformFoldBecomes): Remove desloc and exprloc. |
| 4803 |
(checkArrayElements): Remove location. Remove virtpos |
| 4804 |
as a parameter to MaybeDebugBuiltinMemcpy. |
| 4805 |
(NoWalkProcedure): Add attribute unused. |
| 4806 |
(CheckElementSetTypes): Remove parameter p. |
| 4807 |
Remove CurrentQuadToken in call to MaybeDebugBuiltinMemcpy. |
| 4808 |
Remove NoWalkProcedure from call to CheckElementSetTypes. |
| 4809 |
Remove tokenno from call to MaybeDebugBuiltinMemcpy. |
| 4810 |
* gm2-compiler/M2Optimize.mod (RemoveProcedures): Replace |
| 4811 |
two parameter indirect procedure iterator with |
| 4812 |
ForeachScopeBlockDo2. |
| 4813 |
* gm2-compiler/M2SSA.mod: Remove ForeachScopeBlockDo. |
| 4814 |
* gm2-compiler/M2Scope.def (ForeachScopeBlockDo2): New |
| 4815 |
declaration. |
| 4816 |
(ForeachScopeBlockDo): Rename ... |
| 4817 |
(ForeachScopeBlockDo3): ... to this. |
| 4818 |
(ScopeProcedure2): New declaration. |
| 4819 |
* gm2-compiler/M2Scope.mod (ForeachScopeBlockDo2): New |
| 4820 |
procedure. |
| 4821 |
(ForeachScopeBlockDo): Rename ... |
| 4822 |
(ForeachScopeBlockDo3): ... to this. |
| 4823 |
|
| 4824 |
2024-01-18 Gaius Mulley <[email protected]> |
| 4825 |
|
| 4826 |
PR modula2/111956 |
| 4827 |
* Make-lang.in (host_mc_longreal): Remove. |
| 4828 |
* configure: Regenerate. |
| 4829 |
* configure.ac (M2C_LONGREAL_FLOAT128): Remove. |
| 4830 |
(M2C_LONGREAL_PPC64LE): Remove. |
| 4831 |
* gm2-compiler/M2Options.def (SetIBMLongDouble): New procedure. |
| 4832 |
(GetIBMLongDouble): New procedure function. |
| 4833 |
(SetIEEELongDouble): New procedure. |
| 4834 |
(GetIEEELongDouble): New procedure function. |
| 4835 |
* gm2-compiler/M2Options.mod (SetIBMLongDouble): New procedure. |
| 4836 |
(GetIBMLongDouble): New procedure function. |
| 4837 |
(SetIEEELongDouble): New procedure. |
| 4838 |
(GetIEEELongDouble): New procedure function. |
| 4839 |
(InitializeLongDoubleFlags): New procedure called during |
| 4840 |
module block initialization. |
| 4841 |
* gm2-gcc/m2configure.cc: Remove duplicate includes. |
| 4842 |
(m2configure_M2CLongRealFloat128): Remove. |
| 4843 |
(m2configure_M2CLongRealIBM128): Remove. |
| 4844 |
(m2configure_M2CLongRealLongDouble): Remove. |
| 4845 |
(m2configure_M2CLongRealLongDoublePPC64LE): Remove. |
| 4846 |
(m2configure_TargetIEEEQuadDefault): New function. |
| 4847 |
* gm2-gcc/m2configure.def (M2CLongRealFloat128): Remove. |
| 4848 |
(M2CLongRealIBM128): Remove. |
| 4849 |
(M2CLongRealLongDouble): Remove. |
| 4850 |
(M2CLongRealLongDoublePPC64LE): Remove. |
| 4851 |
(TargetIEEEQuadDefault): New function. |
| 4852 |
* gm2-gcc/m2configure.h (m2configure_M2CLongRealFloat128): Remove. |
| 4853 |
(m2configure_M2CLongRealIBM128): Remove. |
| 4854 |
(m2configure_M2CLongRealLongDouble): Remove. |
| 4855 |
(m2configure_M2CLongRealLongDoublePPC64LE): Remove. |
| 4856 |
(m2configure_TargetIEEEQuadDefault): New function. |
| 4857 |
* gm2-gcc/m2options.h (M2Options_SetIBMLongDouble): New prototype. |
| 4858 |
(M2Options_GetIBMLongDouble): New prototype. |
| 4859 |
(M2Options_SetIEEELongDouble): New prototype. |
| 4860 |
(M2Options_GetIEEELongDouble): New prototype. |
| 4861 |
* gm2-gcc/m2type.cc (build_m2_long_real_node): Re-implement using |
| 4862 |
results of M2Options_GetIBMLongDouble and M2Options_GetIEEELongDouble. |
| 4863 |
* gm2-lang.cc (gm2_langhook_handle_option): Add case |
| 4864 |
OPT_mabi_ibmlongdouble and call M2Options_SetIBMLongDouble. |
| 4865 |
Add case OPT_mabi_ieeelongdouble and call M2Options_SetIEEELongDouble. |
| 4866 |
* gm2config.aci.in: Regenerate. |
| 4867 |
* gm2spec.cc (lang_specific_driver): Remove block defined by |
| 4868 |
M2C_LONGREAL_PPC64LE. |
| 4869 |
Remove case OPT_mabi_ibmlongdouble. |
| 4870 |
Remove case OPT_mabi_ieeelongdouble. |
| 4871 |
|
| 4872 |
2024-01-11 Gaius Mulley <[email protected]> |
| 4873 |
|
| 4874 |
PR modula2/112946 |
| 4875 |
* gm2-compiler/M2GenGCC.mod (IsExpressionCompatible): Import. |
| 4876 |
(ExpressionTypeCompatible): Import. |
| 4877 |
(CodeStatement): Remove op1, op2, op3 parameters from CodeSetOr, |
| 4878 |
CodeSetAnd, CodeSetSymmetricDifference, CodeSetLogicalDifference. |
| 4879 |
(checkArrayElements): Rename op1 to des and op3 to expr. |
| 4880 |
Use despos and exprpos instead of CurrentQuadToken. |
| 4881 |
(checkRecordTypes): Rename op1 to des and op2 to expr. |
| 4882 |
Use virtpos instead of CurrentQuadToken. |
| 4883 |
(checkIncorrectMeta): Ditto. |
| 4884 |
(checkBecomes): Rename op1 to des and op3 to expr. |
| 4885 |
Use virtpos instead of CurrentQuadToken. |
| 4886 |
(NoWalkProcedure): New procedure stub. |
| 4887 |
(CheckBinaryExpressionTypes): New procedure function. |
| 4888 |
(CheckElementSetTypes): New procedure function. |
| 4889 |
(CodeBinarySet): Re-write. |
| 4890 |
(FoldBinarySet): Re-write. |
| 4891 |
(CodeSetOr): Remove parameters op1, op2 and op3. |
| 4892 |
(CodeSetAnd): Ditto. |
| 4893 |
(CodeSetLogicalDifference): Ditto. |
| 4894 |
(CodeSetSymmetricDifference): Ditto. |
| 4895 |
(CodeIfIn): Call CheckBinaryExpressionTypes and |
| 4896 |
CheckElementSetTypes. |
| 4897 |
* gm2-compiler/M2Quads.mod (BuildRotateFunction): Correct |
| 4898 |
parameters to MakeVirtualTok to reflect parameter block |
| 4899 |
passed to Rotate. |
| 4900 |
|
| 4901 |
2024-01-09 Gaius Mulley <[email protected]> |
| 4902 |
|
| 4903 |
PR modula2/112920 |
| 4904 |
* gm2-compiler/M2GCCDeclare.mod (Group): New declaration. |
| 4905 |
Import MakeSubrange, MakeConstVar, MakeConstLit and DivTrunc. |
| 4906 |
(FreeGroup): New declaration. |
| 4907 |
(GlobalGroup): New declaration. |
| 4908 |
(ToBeSolvedByQuads): Remove. |
| 4909 |
(NilTypedArrays): Remove. |
| 4910 |
(PartiallyDeclared): Remove. |
| 4911 |
(HeldByAlignment): Remove. |
| 4912 |
(FinishedAlignment): Remove. |
| 4913 |
(ToDoList): Remove. |
| 4914 |
(DebugSet): Re-format. |
| 4915 |
(DebugNumber): Re-format. |
| 4916 |
(DebugSetNumbers): Reference sets using GlobalGroup. |
| 4917 |
(AddSymToWatch): Re-format. |
| 4918 |
(WatchIncludeList): Reference sets using GlobalGroup. |
| 4919 |
(WatchRemoveList): Reference sets using GlobalGroup. |
| 4920 |
(NewGroup): New procedure. |
| 4921 |
(DisposeGroup): New procedure. |
| 4922 |
(InitGroup): New procedure. |
| 4923 |
(KillGroup): New procedure. |
| 4924 |
(DupGroup): New procedure. |
| 4925 |
(EqualGroup): New procedure. |
| 4926 |
(LookupSet): New procedure. |
| 4927 |
(CanDeclareTypePartially): Reference sets using GlobalGroup. |
| 4928 |
(CompletelyResolved): Reference sets using GlobalGroup. |
| 4929 |
(IsNilTypedArrays): Reference sets using GlobalGroup. |
| 4930 |
(IsFullyDeclared): Reference sets using GlobalGroup. |
| 4931 |
(IsPartiallyDeclared): Reference sets using GlobalGroup. |
| 4932 |
(IsPartiallyOrFullyDeclared): Reference sets using GlobalGroup. |
| 4933 |
(DeclareTypeConstFully): Reference sets using GlobalGroup. |
| 4934 |
(bodyl): Remove. |
| 4935 |
(Body): Use bodyt and to lookup the required set. |
| 4936 |
(ForeachTryDeclare): Remove parameter l. Lookup set instead. |
| 4937 |
(DeclareOutstandingTypes): Add new rules setarraynul and setfully. |
| 4938 |
Reference sets using GlobalGroup. |
| 4939 |
(ActivateWatch): New procedure. |
| 4940 |
(DeclareTypesConstantsProceduresInRange): Re-written to check |
| 4941 |
group change. |
| 4942 |
(DeclareTypesConstantsProcedures): Re-written to check |
| 4943 |
group change. |
| 4944 |
(DeclareBoolean): Reference sets using GlobalGroup. |
| 4945 |
(DeclarePackedBoolean): Ditto. |
| 4946 |
(DeclareDefaultConstants): Ditto. |
| 4947 |
(FreeGroup): Initialized. |
| 4948 |
(GlobalGroup): Ditto. |
| 4949 |
* gm2-compiler/Sets.def (EqualSet): New procedure function. |
| 4950 |
Remove export qualified list of identifiers. |
| 4951 |
* gm2-compiler/Sets.mod (EqualSet): New procedure function. |
| 4952 |
|
| 4953 |
2024-01-04 David Malcolm <[email protected]> |
| 4954 |
|
| 4955 |
* lang.opt.urls: New file, autogenerated by |
| 4956 |
regenerate-opt-urls.py. |
| 4957 |
|
| 4958 |
2023-12-15 Gaius Mulley <[email protected]> |
| 4959 |
|
| 4960 |
PR modula2/112946 |
| 4961 |
* gm2-compiler/M2Check.mod (checkConstMeta): New procedure |
| 4962 |
function. |
| 4963 |
(checkConstEquivalence): New procedure function. |
| 4964 |
(doCheckPair): Add call to checkConstEquivalence. |
| 4965 |
* gm2-compiler/M2GenGCC.mod (ResolveConstantExpressions): Call |
| 4966 |
FoldBecomes with reduced parameters. |
| 4967 |
(FoldBecomes): Re-write. |
| 4968 |
(TryDeclareConst): New procedure. |
| 4969 |
(RemoveQuads): New procedure. |
| 4970 |
(DeclaredOperandsBecomes): New procedure function. |
| 4971 |
(TypeCheckBecomes): New procedure function. |
| 4972 |
(PerformFoldBecomes): New procedure. |
| 4973 |
* gm2-compiler/M2Range.mod (FoldAssignment): Call |
| 4974 |
AssignmentTypeCompatible to check des expr compatibility. |
| 4975 |
* gm2-compiler/M2SymInit.mod (CheckReadBeforeInitQuad): Remove |
| 4976 |
parameter lst. |
| 4977 |
(FilterCheckReadBeforeInitQuad): Remove parameter lst. |
| 4978 |
(CheckReadBeforeInitFirstBasicBlock): Remove parameter lst. |
| 4979 |
Call FilterCheckReadBeforeInitQuad without lst. |
| 4980 |
|
| 4981 |
2023-12-13 Gaius Mulley <[email protected]> |
| 4982 |
|
| 4983 |
PR modula2/112921 |
| 4984 |
* gm2-libs-iso/ConvStringShort.def: New file. |
| 4985 |
* gm2-libs-iso/ConvStringShort.mod: New file. |
| 4986 |
* gm2-libs-iso/ShortConv.def: New file. |
| 4987 |
* gm2-libs-iso/ShortConv.mod: New file. |
| 4988 |
* gm2-libs-iso/ShortMath.def: New file. |
| 4989 |
* gm2-libs-iso/ShortMath.mod: New file. |
| 4990 |
* gm2-libs-iso/ShortStr.def: New file. |
| 4991 |
* gm2-libs-iso/ShortStr.mod: New file. |
| 4992 |
|
| 4993 |
2023-12-12 Gaius Mulley <[email protected]> |
| 4994 |
|
| 4995 |
PR modula2/112984 |
| 4996 |
* gm2-libs-coroutines/SYSTEM.mod: Remove redundant import of memcpy. |
| 4997 |
* gm2-libs-iso/ClientSocket.mod: Remove redundant import of IOConsts. |
| 4998 |
* gm2-libs-iso/IOChan.mod: Remove redundant import of IOConsts. |
| 4999 |
* gm2-libs-iso/IOLink.mod: Remove redundant import of IOChan and SYSTEM. |
| 5000 |
* gm2-libs-iso/IOResult.mod: Remove redundant import of IOChan. |
| 5001 |
* gm2-libs-iso/LongIO.mod: Remove redundant import of writeString. |
| 5002 |
* gm2-libs-iso/LongWholeIO.mod: Remove redundant import of IOChan. |
| 5003 |
* gm2-libs-iso/M2RTS.mod: Remove redundant import of ADDRESS. |
| 5004 |
* gm2-libs-iso/MemStream.mod: Remove redundant import of ADDRESS. |
| 5005 |
* gm2-libs-iso/RTdata.mod: Remove redundant import of DeviceTablePtr. |
| 5006 |
* gm2-libs-iso/RTfio.mod: Remove redundant import of DeviceTablePtr. |
| 5007 |
* gm2-libs-iso/RTgen.mod: Remove redundant import of DeviceTablePtr. |
| 5008 |
* gm2-libs-iso/RealIO.mod: Remove redundant import of writeString. |
| 5009 |
* gm2-libs-iso/RndFile.mod: Remove redundant import of SYSTEM. |
| 5010 |
* gm2-libs-iso/SYSTEM.mod: Remove redundant import of memcpy. |
| 5011 |
* gm2-libs-iso/ShortWholeIO.mod: Remove redundant import of IOConsts. |
| 5012 |
* gm2-libs-iso/TextIO.mod: Remove redundant import of IOChan. |
| 5013 |
* gm2-libs-iso/TextUtil.mod: Remove redundant import of IOChan. |
| 5014 |
* gm2-libs-iso/WholeIO.mod: Remove redundant import of IOChan. |
| 5015 |
* gm2-libs-log/BitByteOps.mod: Remove redundant import of BYTE. |
| 5016 |
* gm2-libs-log/FileSystem.mod: Remove redundant import of BYTE and ADDRESS. |
| 5017 |
* gm2-libs-log/InOut.mod: Remove redundant import of String. |
| 5018 |
* gm2-libs-log/RealConversions.mod: Remove redundant import of StringToLongreal. |
| 5019 |
* gm2-libs/FIO.mod: Remove redundant import of SIZE. |
| 5020 |
* gm2-libs/FormatStrings.mod: Remove redundant import of String |
| 5021 |
and ConCatChar. |
| 5022 |
* gm2-libs/IO.mod: Remove redundant import of SIZE. |
| 5023 |
* gm2-libs/Indexing.mod: Remove redundant import of ADDRESS. |
| 5024 |
* gm2-libs/M2Dependent.mod: Remove redundant import of SIZE. |
| 5025 |
* gm2-libs/M2RTS.mod: Remove redundant import of ADDRESS. |
| 5026 |
* gm2-libs/OptLib.mod: Remove redundant import of DynamicStrings. |
| 5027 |
* gm2-libs/SYSTEM.mod: Remove redundant import of memcpy. |
| 5028 |
* gm2-libs/StringConvert.mod: Remove redundant import of String. |
| 5029 |
|
| 5030 |
2023-12-07 Gaius Mulley <[email protected]> |
| 5031 |
|
| 5032 |
PR modula2/112893 |
| 5033 |
* gm2-compiler/M2Base.mod (Ass): Extend array to include proc row |
| 5034 |
and column. Allow PIM to assign cardinal variables to address |
| 5035 |
variables. |
| 5036 |
(Expr): Ditto. |
| 5037 |
(Comp): Ditto. |
| 5038 |
* gm2-compiler/M2Check.mod (getSType): New procedure function. |
| 5039 |
Replace all occurances of GetSType with getSType. |
| 5040 |
* gm2-compiler/M2GenGCC.mod (CodeParam): Rewrite format specifier |
| 5041 |
error message. |
| 5042 |
* gm2-compiler/M2Quads.mod (CheckProcTypeAndProcedure): Add tokno |
| 5043 |
parameter. |
| 5044 |
* gm2-compiler/M2Range.def (InitTypesParameterCheck): Add tokno |
| 5045 |
parameter. |
| 5046 |
(InitParameterRangeCheck): Add tokno parameter. |
| 5047 |
Remove EXPORT QUALIFIED list. |
| 5048 |
(InitParameterRangeCheck): Add tokno parameter. |
| 5049 |
* gm2-compiler/M2Range.mod (InitTypesParameterCheck): Add tokno |
| 5050 |
parameter and pass tokno to PutRangeParam. |
| 5051 |
(InitParameterRangeCheck): Add tokno parameter and pass tokno to |
| 5052 |
PutRangeParam. |
| 5053 |
(PutRangeParam): Add tokno parameter and assign to tokenNo. |
| 5054 |
(FoldTypeParam): Rewrite format string. |
| 5055 |
|
| 5056 |
2023-12-06 Thomas Schwinge <[email protected]> |
| 5057 |
|
| 5058 |
* lang.opt (-isysroot): New. |
| 5059 |
|
| 5060 |
2023-12-05 Gaius Mulley <[email protected]> |
| 5061 |
|
| 5062 |
PR modula2/112865 |
| 5063 |
* gm2-compiler/M2Quads.mod (BuildReFunction): Use |
| 5064 |
GetDType to retrieve the type of the operand when |
| 5065 |
converting the complex type to its scalar equivalent. |
| 5066 |
(BuildImFunction): Use GetDType to retrieve the type of the |
| 5067 |
operand when converting the complex type to its scalar |
| 5068 |
equivalent. |
| 5069 |
|
| 5070 |
2023-12-05 Rainer Orth <[email protected]> |
| 5071 |
|
| 5072 |
* mc/mc.flex [__GNUC__]: Define alloca as __builtin_alloca. |
| 5073 |
(handleDate): Use strchr instead of index. |
| 5074 |
|
| 5075 |
2023-12-04 Gaius Mulley <[email protected]> |
| 5076 |
|
| 5077 |
PR modula2/112825 |
| 5078 |
* tools-src/makeSystem: Change all occurrences of -c to -S. |
| 5079 |
|
| 5080 |
2023-11-01 Gaius Mulley <[email protected]> |
| 5081 |
|
| 5082 |
PR modula2/102989 |
| 5083 |
* gm2-compiler/SymbolTable.mod (OverflowZType): Import from m2expr. |
| 5084 |
(ConstantStringExceedsZType): Remove import. |
| 5085 |
(GetConstLitType): Replace ConstantStringExceedsZType with OverflowZType. |
| 5086 |
* gm2-gcc/m2decl.cc (m2decl_ConstantStringExceedsZType): Remove. |
| 5087 |
(m2decl_BuildConstLiteralNumber): Re-write. |
| 5088 |
* gm2-gcc/m2decl.def (ConstantStringExceedsZType): Remove. |
| 5089 |
* gm2-gcc/m2decl.h (m2decl_ConstantStringExceedsZType): Remove. |
| 5090 |
* gm2-gcc/m2expr.cc (m2expr_StrToWideInt): Rewrite to check overflow. |
| 5091 |
(m2expr_OverflowZType): New function. |
| 5092 |
(ToWideInt): New function. |
| 5093 |
* gm2-gcc/m2expr.def (OverflowZType): New procedure function declaration. |
| 5094 |
* gm2-gcc/m2expr.h (m2expr_OverflowZType): New prototype. |
| 5095 |
|
| 5096 |
2023-10-27 Gaius Mulley <[email protected]> |
| 5097 |
|
| 5098 |
PR modula2/111530 |
| 5099 |
* gm2-libs-ch/cgetopt.c (cgetopt_cgetopt_long): Re-format. |
| 5100 |
(cgetopt_cgetopt_long_only): Re-format. |
| 5101 |
(cgetopt_SetOption): Re-format and assign flag to NULL |
| 5102 |
if name is also NULL. |
| 5103 |
* gm2-libs/GetOpt.def (AddLongOption): Add index parameter |
| 5104 |
and change flag to be a VAR parameter rather than a pointer. |
| 5105 |
(GetOptLong): Re-format. |
| 5106 |
(GetOpt): Correct comment. |
| 5107 |
* gm2-libs/GetOpt.mod: Re-write to rely on cgetopt rather |
| 5108 |
than implement long option creation in GetOpt. |
| 5109 |
* gm2-libs/cgetopt.def (SetOption): has_arg type is INTEGER. |
| 5110 |
|
| 5111 |
2023-10-25 Gaius Mulley <[email protected]> |
| 5112 |
|
| 5113 |
PR modula2/111955 |
| 5114 |
* gm2-gcc/m2builtins.cc (gm2_isnan_node): New tree. |
| 5115 |
(DoBuiltinIsnan): New function. |
| 5116 |
(m2builtins_BuiltInIsnan): New function. |
| 5117 |
(m2builtins_init): Initialize gm2_isnan_node. |
| 5118 |
(list_of_builtins): Add define for __builtin_isnan. |
| 5119 |
* gm2-libs-ch/wrapc.c (wrapc_isnan): New function. |
| 5120 |
(wrapc_isnanf): New function. |
| 5121 |
(wrapc_isnanl): New function. |
| 5122 |
* gm2-libs/Builtins.def (isnanf): New procedure function. |
| 5123 |
(isnan): New procedure function. |
| 5124 |
(isnanl): New procedure function. |
| 5125 |
* gm2-libs/Builtins.mod: |
| 5126 |
* gm2-libs/wrapc.def (isnan): New function. |
| 5127 |
(isnanf): New function. |
| 5128 |
(isnanl): New function. |
| 5129 |
|
| 5130 |
2023-10-24 Gaius Mulley <[email protected]> |
| 5131 |
|
| 5132 |
* gm2-libs/M2Dependent.mod (InitDependencyList): New |
| 5133 |
procedure. |
| 5134 |
(CreateModule): Call InitDependencyList to initialize |
| 5135 |
all fields of DependencyList. |
| 5136 |
|
| 5137 |
2023-10-24 Gaius Mulley <[email protected]> |
| 5138 |
|
| 5139 |
* gm2-libs/M2Dependent.mod (CreateModule): Initialize all |
| 5140 |
dependency fields for DependencyList. |
| 5141 |
|
| 5142 |
2023-10-17 Gaius Mulley <[email protected]> |
| 5143 |
|
| 5144 |
PR modula2/111756 |
| 5145 |
* Make-lang.in (CM2DEP): New define conditionally set if |
| 5146 |
($(CXXDEPMODE),depmode=gcc3). |
| 5147 |
(GM2_1): Use $(CM2DEP). |
| 5148 |
(m2/gm2-gcc/%.o): Ensure $(@D)/$(DEPDIR) is created. |
| 5149 |
Add $(CM2DEP) to the $(COMPILER) command and use $(POSTCOMPILE). |
| 5150 |
(m2/gm2-gcc/m2configure.o): Ditto. |
| 5151 |
(m2/gm2-lang.o): Ditto. |
| 5152 |
(m2/m2pp.o): Ditto. |
| 5153 |
(m2/gm2-gcc/rtegraph.o): Ditto. |
| 5154 |
(m2/mc-boot/$(SRC_PREFIX)%.o): Ditto. |
| 5155 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto. |
| 5156 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto. |
| 5157 |
(m2/mc-boot/main.o): Ditto. |
| 5158 |
(mcflex.o): Ditto. |
| 5159 |
(m2/gm2-libs-boot/M2RTS.o): Ditto. |
| 5160 |
(m2/gm2-libs-boot/%.o): Ditto. |
| 5161 |
(m2/gm2-libs-boot/%.o): Ditto. |
| 5162 |
(m2/gm2-libs-boot/RTcodummy.o): Ditto. |
| 5163 |
(m2/gm2-libs-boot/RTintdummy.o): Ditto. |
| 5164 |
(m2/gm2-libs-boot/wrapc.o): Ditto. |
| 5165 |
(m2/gm2-libs-boot/UnixArgs.o): Ditto. |
| 5166 |
(m2/gm2-libs-boot/choosetemp.o): Ditto. |
| 5167 |
(m2/gm2-libs-boot/errno.o): Ditto. |
| 5168 |
(m2/gm2-libs-boot/dtoa.o): Ditto. |
| 5169 |
(m2/gm2-libs-boot/ldtoa.o): Ditto. |
| 5170 |
(m2/gm2-libs-boot/termios.o): Ditto. |
| 5171 |
(m2/gm2-libs-boot/SysExceptions.o): Ditto. |
| 5172 |
(m2/gm2-libs-boot/SysStorage.o): Ditto. |
| 5173 |
(m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto. |
| 5174 |
(m2/gm2-compiler-boot/M2Error.o): Ditto. |
| 5175 |
(m2/gm2-compiler-boot/%.o): Ditto. |
| 5176 |
(m2/gm2-compiler-boot/%.o): Ditto. |
| 5177 |
(m2/gm2-compiler-boot/m2flex.o): Ditto. |
| 5178 |
(m2/gm2-compiler/%.o): Ditto. |
| 5179 |
(m2/gm2-compiler/m2flex.o): Ditto. |
| 5180 |
(m2/gm2-libs-iso/%.o): Ditto. |
| 5181 |
(m2/gm2-libs/%.o): Ditto. |
| 5182 |
(m2/gm2-libs/%.o): Ditto. |
| 5183 |
(m2/gm2-libs/choosetemp.o): Ditto. |
| 5184 |
(m2/boot-bin/mklink$(exeext)): Ditto. |
| 5185 |
(m2/pge-boot/%.o): Ditto. |
| 5186 |
(m2/pge-boot/%.o): Ditto. |
| 5187 |
(m2/gm2-compiler/%.o): Ensure $(@D)/$(DEPDIR) is created and use |
| 5188 |
$(POSTCOMPILE). |
| 5189 |
(m2/gm2-compiler/%.o): Ditto. |
| 5190 |
(m2/gm2-libs-iso/%.o): Ditto. |
| 5191 |
(m2/gm2-libs/%.o): Ditto. |
| 5192 |
* README: Purge out of date info. |
| 5193 |
* gm2-compiler/M2Comp.mod (MakeSaveTempsFileNameExt): Import. |
| 5194 |
(OnExitDelete): Import. |
| 5195 |
(GetModuleDefImportStatementList): Import. |
| 5196 |
(GetModuleModImportStatementList): Import. |
| 5197 |
(GetImportModule): Import. |
| 5198 |
(IsImportStatement): Import. |
| 5199 |
(IsImport): Import. |
| 5200 |
(GetImportStatementList): Import. |
| 5201 |
(File): Import. |
| 5202 |
(Close): Import. |
| 5203 |
(EOF): Import. |
| 5204 |
(IsNoError): Import. |
| 5205 |
(WriteLine): Import. |
| 5206 |
(WriteChar): Import. |
| 5207 |
(FlushOutErr): Import. |
| 5208 |
(WriteS): Import. |
| 5209 |
(OpenToRead): Import. |
| 5210 |
(OpenToWrite): Import. |
| 5211 |
(ReadS): Import. |
| 5212 |
(WriteS): Import. |
| 5213 |
(GetM): Import. |
| 5214 |
(GetMM): Import. |
| 5215 |
(GetDepTarget): Import. |
| 5216 |
(GetMF): Import. |
| 5217 |
(GetMP): Import. |
| 5218 |
(GetObj): Import. |
| 5219 |
(GetMD): Import. |
| 5220 |
(GetMMD): Import. |
| 5221 |
(GenerateDefDependency): New procedure. |
| 5222 |
(GenerateDependenciesFromImport): New procedure. |
| 5223 |
(GenerateDependenciesFromList): New procedure. |
| 5224 |
(GenerateDependencies): New procedure. |
| 5225 |
(Compile): Re-write. |
| 5226 |
(compile): Re-format. |
| 5227 |
(CreateFileStem): New procedure function. |
| 5228 |
(DoPass0): Re-write. |
| 5229 |
(IsLibrary): New procedure function. |
| 5230 |
(IsUnique): New procedure function. |
| 5231 |
(Append): New procedure. |
| 5232 |
(MergeDep): New procedure. |
| 5233 |
(GetRuleTarget): New procedure function. |
| 5234 |
(ReadDepContents): New procedure function. |
| 5235 |
(WriteDep): New procedure. |
| 5236 |
(WritePhonyDep): New procedure. |
| 5237 |
(WriteDepContents): New procedure. |
| 5238 |
(CreateDepFilename): New procedure function. |
| 5239 |
(Pass0CheckDef): New procedure function. |
| 5240 |
(Pass0CheckMod): New procedure function. |
| 5241 |
(DoPass0): Re-write. |
| 5242 |
(DepContent): New variable. |
| 5243 |
(DepOutput): New variable. |
| 5244 |
(BaseName): New procedure function. |
| 5245 |
* gm2-compiler/M2GCCDeclare.mod (PrintTerse): Handle IsImport. |
| 5246 |
Replace IsGnuAsmVolatile with IsGnuAsm. |
| 5247 |
* gm2-compiler/M2Options.def (EXPORT QUALIFIED): Remove list. |
| 5248 |
(SetM): New procedure. |
| 5249 |
(GetM): New procedure function. |
| 5250 |
(SetMM): New procedure. |
| 5251 |
(GetMM): New procedure function. |
| 5252 |
(SetMF): New procedure. |
| 5253 |
(GetMF): New procedure function. |
| 5254 |
(SetPPOnly): New procedure. |
| 5255 |
(GetB): New procedure function. |
| 5256 |
(SetMD): New procedure. |
| 5257 |
(GetMD): New procedure function. |
| 5258 |
(SetMMD): New procedure. |
| 5259 |
(GetMMD): New procedure function. |
| 5260 |
(SetMQ): New procedure. |
| 5261 |
(SetMT): New procedure. |
| 5262 |
(GetMT): New procedure function. |
| 5263 |
(GetDepTarget): New procedure function. |
| 5264 |
(SetMP): New procedure. |
| 5265 |
(GetMP): New procedure function. |
| 5266 |
(SetObj): New procedure. |
| 5267 |
(SetSaveTempsDir): New procedure. |
| 5268 |
* gm2-compiler/M2Options.mod (SetM): New procedure. |
| 5269 |
(GetM): New procedure function. |
| 5270 |
(SetMM): New procedure. |
| 5271 |
(GetMM): New procedure function. |
| 5272 |
(SetMF): New procedure. |
| 5273 |
(GetMF): New procedure function. |
| 5274 |
(SetPPOnly): New procedure. |
| 5275 |
(GetB): New procedure function. |
| 5276 |
(SetMD): New procedure. |
| 5277 |
(GetMD): New procedure function. |
| 5278 |
(SetMMD): New procedure. |
| 5279 |
(GetMMD): New procedure function. |
| 5280 |
(SetMQ): New procedure. |
| 5281 |
(SetMT): New procedure. |
| 5282 |
(GetMT): New procedure function. |
| 5283 |
(GetDepTarget): New procedure function. |
| 5284 |
(SetMP): New procedure. |
| 5285 |
(GetMP): New procedure function. |
| 5286 |
(SetObj): New procedure. |
| 5287 |
(SetSaveTempsDir): New procedure. |
| 5288 |
* gm2-compiler/M2Preprocess.def (PreprocessModule): New parameters |
| 5289 |
topSource and outputDep. Re-write. |
| 5290 |
(MakeSaveTempsFileNameExt): New procedure function. |
| 5291 |
(OnExitDelete): New procedure function. |
| 5292 |
* gm2-compiler/M2Preprocess.mod (GetM): Import. |
| 5293 |
(GetMM): Import. |
| 5294 |
(OnExitDelete): Add debugging message. |
| 5295 |
(RemoveFile): Add debugging message. |
| 5296 |
(BaseName): Remove. |
| 5297 |
(BuildCommandLineExecute): New procedure function. |
| 5298 |
* gm2-compiler/M2Search.def (SetDefExtension): Remove unnecessary |
| 5299 |
spacing. |
| 5300 |
* gm2-compiler/SymbolTable.mod (GetSymName): Handle ImportSym and |
| 5301 |
ImportStatementSym. |
| 5302 |
* gm2-gcc/m2options.h (M2Options_SetMD): New function. |
| 5303 |
(M2Options_GetMD): New function. |
| 5304 |
(M2Options_SetMMD): New function. |
| 5305 |
(M2Options_GetMMD): New function. |
| 5306 |
(M2Options_SetM): New function. |
| 5307 |
(M2Options_GetM): New function. |
| 5308 |
(M2Options_SetMM): New function. |
| 5309 |
(M2Options_GetMM): New function. |
| 5310 |
(M2Options_GetMQ): New function. |
| 5311 |
(M2Options_SetMF): New function. |
| 5312 |
(M2Options_GetMF): New function. |
| 5313 |
(M2Options_SetMT): New function. |
| 5314 |
(M2Options_SetMP): New function. |
| 5315 |
(M2Options_GetMP): New function. |
| 5316 |
(M2Options_GetDepTarget): New function. |
| 5317 |
* gm2-lang.cc (gm2_langhook_init): Correct comment case. |
| 5318 |
(gm2_langhook_init_options): Add case OPT_M and |
| 5319 |
OPT_MM. |
| 5320 |
(gm2_langhook_post_options): Add case OPT_MF, OPT_MT, |
| 5321 |
OPT_MD and OPT_MMD. |
| 5322 |
* lang-specs.h (M2CPP): Pass though MF option. |
| 5323 |
(MDMMD): New define. Add MDMMD to "@modula-2". |
| 5324 |
|
| 5325 |
2023-10-15 Gaius Mulley <[email protected]> |
| 5326 |
|
| 5327 |
* Make-lang.in (m2.tags): New rule. |
| 5328 |
|
| 5329 |
2023-10-11 Gaius Mulley <[email protected]> |
| 5330 |
|
| 5331 |
* gm2-compiler/M2GCCDeclare.mod (DeclareSubrange): Check |
| 5332 |
the base type of the subrange against the ZTYPE and call |
| 5333 |
DeclareSubrangeNarrow if necessary. |
| 5334 |
(DeclareSubrangeNarrow): New procedure function. |
| 5335 |
|
| 5336 |
2023-10-11 Gaius Mulley <[email protected]> |
| 5337 |
|
| 5338 |
PR modula2/111675 |
| 5339 |
* gm2-compiler/M2CaseList.mod (appendTree): Replace |
| 5340 |
InitStringCharStar with InitString. |
| 5341 |
* gm2-compiler/M2GCCDeclare.mod: Import AreConstantsEqual. |
| 5342 |
(DeclareSubrange): Add zero alignment test and call |
| 5343 |
BuildSmallestTypeRange if necessary. |
| 5344 |
(WalkSubrangeDependants): Walk the align expression. |
| 5345 |
(IsSubrangeDependants): Test the align expression. |
| 5346 |
* gm2-compiler/M2Quads.mod (BuildStringAdrParam): Correct end name. |
| 5347 |
* gm2-compiler/P2SymBuild.mod (BuildTypeAlignment): Allow subranges |
| 5348 |
to be zero aligned (packed). |
| 5349 |
* gm2-compiler/SymbolTable.mod (Subrange): Add Align field. |
| 5350 |
(MakeSubrange): Set Align to NulSym. |
| 5351 |
(PutAlignment): Assign Subrange.Align to align. |
| 5352 |
(GetAlignment): Return Subrange.Align. |
| 5353 |
* gm2-gcc/m2expr.cc (noBitsRequired): Rewrite. |
| 5354 |
(calcNbits): Rename ... |
| 5355 |
(m2expr_calcNbits): ... to this and test for negative values. |
| 5356 |
(m2expr_BuildTBitSize): Replace calcNBits with m2expr_calcNbits. |
| 5357 |
* gm2-gcc/m2expr.def (calcNbits): Export. |
| 5358 |
* gm2-gcc/m2expr.h (m2expr_calcNbits): New prototype. |
| 5359 |
* gm2-gcc/m2type.cc (noBitsRequired): Remove. |
| 5360 |
(m2type_BuildSmallestTypeRange): Call m2expr_calcNbits. |
| 5361 |
(m2type_BuildSubrangeType): Create range_type from |
| 5362 |
build_range_type (type, lowval, highval). |
| 5363 |
|
| 5364 |
2023-09-29 Gaius Mulley <[email protected]> |
| 5365 |
|
| 5366 |
* gm2-compiler/M2Quads.mod (EndBuildFor): Improve |
| 5367 |
block comments. |
| 5368 |
* gm2-libs-iso/SysClock.mod (ExtractDate): Replace |
| 5369 |
testDays with yearOfDays. New local variable monthOfDays. |
| 5370 |
|
| 5371 |
2023-09-26 Gaius Mulley <[email protected]> |
| 5372 |
|
| 5373 |
PR modula2/111510 |
| 5374 |
* gm2-compiler/M2GenGCC.mod (IsExportedGcc): Minor spacing changes. |
| 5375 |
(BuildTrashTreeFromInterface): Minor spacing changes. |
| 5376 |
* gm2-compiler/M2Options.mod (GetRuntimeModuleOverride): Call |
| 5377 |
string to generate a nul terminated C style string. |
| 5378 |
* gm2-compiler/M2Quads.mod (BuildStringAdrParam): New procedure. |
| 5379 |
(BuildM2InitFunction): Replace inline parameter generation with |
| 5380 |
calls to BuildStringAdrParam. |
| 5381 |
|
| 5382 |
2023-09-19 Gaius Mulley <[email protected]> |
| 5383 |
|
| 5384 |
* Make-lang.in (host_mc_longreal): Detect hosting on powerpc64le |
| 5385 |
and if so use __float128 for longreal in mc. |
| 5386 |
(MC_ARGS): Append host_mc_longreal. |
| 5387 |
* config-make.in (TEST_TARGET_CPU_DEFAULT): New variable. |
| 5388 |
(TEST_HOST_CPU_DEFAULT): New variable. |
| 5389 |
* configure: Regenerate. |
| 5390 |
* configure.ac (M2C_LONGREAL_FLOAT128): New define set if target |
| 5391 |
is powerpc64le. |
| 5392 |
(M2C_LONGREAL_PPC64LE): New define set if target is powerpc64le. |
| 5393 |
* gm2-compiler/M2GCCDeclare.mod: Correct comment case. |
| 5394 |
* gm2-compiler/M2GenGCC.mod (MaybeDebugBuiltinAlloca): Call |
| 5395 |
SetLastFunction for the builtin function call. |
| 5396 |
(MaybeDebugBuiltinMemcpy): Call SetLastFunction for the builtin |
| 5397 |
function call. |
| 5398 |
(MaybeDebugBuiltinMemset): New procedure function. |
| 5399 |
(MakeCopyUse): Use GNU formatting. |
| 5400 |
(UseBuiltin): Rewrite to check BuiltinExists. |
| 5401 |
(CodeDirectCall): Rewrite to check BuiltinExists and call |
| 5402 |
SetLastFunction. |
| 5403 |
(CodeMakeAdr): Re-format. |
| 5404 |
* gm2-compiler/M2Options.def (SetDebugBuiltins): New procedure. |
| 5405 |
* gm2-compiler/M2Options.mod (SetUninitVariableChecking): Allow |
| 5406 |
"cond" to switch UninitVariableConditionalChecking separately. |
| 5407 |
(SetDebugBuiltins): New procedure. |
| 5408 |
* gm2-compiler/M2Quads.def (BuildFunctionCall): Add parameter |
| 5409 |
ConstExpr. |
| 5410 |
* gm2-compiler/M2Quads.mod (BuildRealProcedureCall): Add parameter |
| 5411 |
to BuildRealFuncProcCall. |
| 5412 |
(BuildRealFuncProcCall): Add ConstExpr parameter. Pass ConstExpr |
| 5413 |
to BuildFunctionCall. |
| 5414 |
(BuildFunctionCall): Add parameter ConstExpr. Pass ConstExpr to |
| 5415 |
BuildRealFunctionCall. |
| 5416 |
(BuildConstFunctionCall): Add parameter ConstExpr. Pass ConstExpr to |
| 5417 |
BuildFunctionCall. |
| 5418 |
(BuildRealFunctionCall): Add parameter ConstExpr. Pass ConstExpr to |
| 5419 |
BuildRealFuncProcCall. |
| 5420 |
* gm2-compiler/P3Build.bnf (SetOrDesignatorOrFunction): Pass FALSE |
| 5421 |
to BuildFunctionCall. |
| 5422 |
(AssignmentOrProcedureCall): Pass FALSE to BuildFunctionCall. |
| 5423 |
* gm2-compiler/SymbolTable.def (IsProcedureBuiltinAvailable): New |
| 5424 |
procedure function. |
| 5425 |
* gm2-compiler/SymbolTable.mod (CanUseBuiltin): New procedure |
| 5426 |
function. |
| 5427 |
(IsProcedureBuiltinAvailable): New procedure function. |
| 5428 |
* gm2-gcc/m2builtins.cc (DEBUGGING): Undef. |
| 5429 |
(bf_category): New enum type. |
| 5430 |
(struct builtin_function_entry): New field function_avail. |
| 5431 |
(m2builtins_BuiltInMemCopy): Rename from ... |
| 5432 |
(m2builtins_BuiltinMemCopy): ... this. |
| 5433 |
(DoBuiltinMemSet): New function. |
| 5434 |
(m2builtins_BuiltinMemSet): New function. |
| 5435 |
(do_target_support_exists): New function. |
| 5436 |
(target_support_exists): New function. |
| 5437 |
(m2builtins_BuiltinExists): Return true or false. |
| 5438 |
(m2builtins_BuildBuiltinTree): Rename local variables. |
| 5439 |
Replace long_double_type_node with GetM2LongRealType. |
| 5440 |
(m2builtins_init): Use GetM2LongRealType rather than |
| 5441 |
long_double_type_node. |
| 5442 |
* gm2-gcc/m2builtins.def (BuiltInMemCopy): Rename to ... |
| 5443 |
(BuiltinMemCopy): ... this. |
| 5444 |
(BuiltinMemSet): New procedure function. |
| 5445 |
* gm2-gcc/m2builtins.h (m2builtins_BuiltInMemCopy): Rename to ... |
| 5446 |
(m2builtins_BuiltinMemCopy): ... this. |
| 5447 |
(m2builtins_BuiltinMemSet): New procedure function. |
| 5448 |
* gm2-gcc/m2configure.cc (m2configure_M2CLongRealFloat128): New |
| 5449 |
procedure function. |
| 5450 |
(m2configure_M2CLongRealIBM128): New procedure function. |
| 5451 |
(m2configure_M2CLongRealLongDouble): New procedure function. |
| 5452 |
(m2configure_M2CLongRealLongDoublePPC64LE): New procedure function. |
| 5453 |
* gm2-gcc/m2configure.def (M2CLongRealFloat128): New procedure function. |
| 5454 |
(M2CLongRealIBM128): New procedure function. |
| 5455 |
(M2CLongRealLongDouble): New procedure function. |
| 5456 |
(M2CLongRealLongDoublePPC64LE): New procedure function. |
| 5457 |
* gm2-gcc/m2configure.h (m2configure_FullPathCPP): New procedure function. |
| 5458 |
(m2configure_M2CLongRealFloat128): New procedure function. |
| 5459 |
(m2configure_M2CLongRealIBM128): New procedure function. |
| 5460 |
(m2configure_M2CLongRealLongDouble): New procedure function. |
| 5461 |
(m2configure_M2CLongRealLongDoublePPC64LE): New procedure function. |
| 5462 |
* gm2-gcc/m2convert.cc (m2convert_BuildConvert): Use convert_loc. |
| 5463 |
* gm2-gcc/m2options.h (M2Options_SetDebugBuiltins): New function. |
| 5464 |
* gm2-gcc/m2statement.cc (m2statement_BuildAssignmentTree): Set |
| 5465 |
TREE_USED to true. |
| 5466 |
(m2statement_BuildGoto):Set TREE_USED to true. |
| 5467 |
(m2statement_BuildParam): Set TREE_USED to true. |
| 5468 |
(m2statement_BuildBuiltinCallTree): New function. |
| 5469 |
(m2statement_BuildFunctValue): Set TREE_USED to true. |
| 5470 |
* gm2-gcc/m2statement.def (BuildBuiltinCallTree): New procedure function. |
| 5471 |
* gm2-gcc/m2statement.h (m2statement_BuildBuiltinCallTree): New |
| 5472 |
procedure function. |
| 5473 |
* gm2-gcc/m2treelib.cc (m2treelib_DoCall0): Remove spacing. |
| 5474 |
(m2treelib_DoCall1): Remove spacing. |
| 5475 |
(m2treelib_DoCall2): Remove spacing. |
| 5476 |
(m2treelib_DoCall3): Remove spacing. |
| 5477 |
(add_stmt): Rename parameter. |
| 5478 |
* gm2-gcc/m2type.cc (build_set_type): Remove spacing. |
| 5479 |
(build_m2_specific_size_type): Remove spacing. |
| 5480 |
(finish_build_pointer_type): Remove spacing. |
| 5481 |
(m2type_BuildVariableArrayAndDeclare): Remove spacing. |
| 5482 |
(build_m2_short_real_node): Remove spacing. |
| 5483 |
(build_m2_real_node): Remove spacing. |
| 5484 |
(build_m2_long_real_node): Use float128_type_node if |
| 5485 |
M2CLongRealFloat128 is set. |
| 5486 |
(build_m2_ztype_node): Remove spacing. |
| 5487 |
(build_m2_long_int_node): Remove spacing. |
| 5488 |
(build_m2_long_card_node): Remove spacing. |
| 5489 |
(build_m2_short_int_node): Remove spacing. |
| 5490 |
(build_m2_short_card_node): Remove spacing. |
| 5491 |
(build_m2_iso_loc_node): Remove spacing. |
| 5492 |
(m2type_SameRealType): New function. |
| 5493 |
(m2type_InitBaseTypes): Create m2_c_type_node using |
| 5494 |
m2_long_complex_type_node. |
| 5495 |
(m2type_SetAlignment): Tidy up comment. |
| 5496 |
* gm2-gcc/m2type.def (SameRealType): New procedure function. |
| 5497 |
* gm2-gcc/m2type.h (m2type_SameRealType): New procedure function. |
| 5498 |
* gm2-lang.cc (gm2_langhook_type_for_mode): Build long complex |
| 5499 |
node from m2 language specific long double node. |
| 5500 |
* gm2-libs-log/RealConversions.mod (IsNan): New procedure |
| 5501 |
function. |
| 5502 |
(doPowerOfTen): Re-implement. |
| 5503 |
* gm2-libs/Builtins.mod: Add newline. |
| 5504 |
* gm2-libs/DynamicStrings.def (ReplaceChar): New procedure function. |
| 5505 |
* gm2-libs/DynamicStrings.mod (ReplaceChar): New procedure function. |
| 5506 |
* gm2config.aci.in (M2C_LONGREAL_FLOAT128): New config value. |
| 5507 |
(M2C_LONGREAL_PPC64LE): New config value. |
| 5508 |
* gm2spec.cc (lang_specific_driver): New local variable |
| 5509 |
need_default_mabi set to default value depending upon |
| 5510 |
M2C_LONGREAL_PPC64LE and M2C_LONGREAL_FLOAT128. |
| 5511 |
* lang.opt (Wcase-enum): Moved to correct section. |
| 5512 |
* m2pp.cc (m2pp_real_type): New function. |
| 5513 |
(m2pp_type): Call m2pp_real_type. |
| 5514 |
(m2pp_print_mode): New function. |
| 5515 |
(m2pp_simple_type): Call m2pp_simple_type. |
| 5516 |
(m2pp_float): New function. |
| 5517 |
(m2pp_expression): Call m2pp_float. |
| 5518 |
* mc-boot/GDynamicStrings.cc: Rebuild. |
| 5519 |
* mc-boot/GDynamicStrings.h: Rebuild. |
| 5520 |
* mc-boot/GFIO.cc: Rebuild. |
| 5521 |
* mc-boot/GFIO.h: Rebuild. |
| 5522 |
* mc-boot/GIO.cc: Rebuild. |
| 5523 |
* mc-boot/GRTint.cc: Rebuild. |
| 5524 |
* mc-boot/Gdecl.cc: Rebuild. |
| 5525 |
* mc-boot/GmcOptions.cc: Rebuild. |
| 5526 |
* mc-boot/GmcOptions.h: Rebuild. |
| 5527 |
* mc/decl.mod: Rebuild. |
| 5528 |
* mc/mcOptions.def (getCRealType): New procedure function. |
| 5529 |
(getCLongRealType): New procedure function. |
| 5530 |
(getCShortRealType): New procedure function. |
| 5531 |
* mc/mcOptions.mod (getCRealType): New procedure function. |
| 5532 |
(getCLongRealType): New procedure function. |
| 5533 |
(getCShortRealType): New procedure function. |
| 5534 |
|
| 5535 |
2023-09-14 Gaius Mulley <[email protected]> |
| 5536 |
|
| 5537 |
* gm2-compiler/M2CaseList.mod (NewRanges): Add block |
| 5538 |
comment. |
| 5539 |
(NewSet): Add block comment. |
| 5540 |
(DisplayRanges): Add block comment. |
| 5541 |
(IncludeElement): Add block comment. |
| 5542 |
(IncludeElements): Add block comment. |
| 5543 |
(appendString): Add block comment. |
| 5544 |
(appendEnum): Add block comment. |
| 5545 |
(appendTree): Add block comment. |
| 5546 |
(SubrangeErrors): Add block comment. |
| 5547 |
|
| 5548 |
2023-09-14 Gaius Mulley <[email protected]> |
| 5549 |
|
| 5550 |
* gm2-compiler/M2CaseList.mod (appendString): New procedure. |
| 5551 |
(appendEnum): Re-implement. |
| 5552 |
(NoOfSetElements): New procedure function. |
| 5553 |
(isPrintableChar): New procedure function. |
| 5554 |
(appendTree): New procedure. |
| 5555 |
(SubrangeErrors): New procedure. |
| 5556 |
(EmitMissingRangeErrors): Call SubrangeErrors if appropriate. |
| 5557 |
* gm2-compiler/M2SymInit.mod (SetFieldInitializedNo): Avoid |
| 5558 |
using a temporary variable once. |
| 5559 |
(IsLocalVar): Comment out. |
| 5560 |
(RecordContainsVarient): Remove fieldtype. |
| 5561 |
(GenerateNoteFlow): Remove lst parameter. |
| 5562 |
(CheckDeferredRecordAccess): Remove lst parameter. |
| 5563 |
(CheckUnary): Remove lst parameter. Remove procSym. |
| 5564 |
(CheckBinary): Remove lst parameter. Remove procSym. |
| 5565 |
(CheckIndrX): Remove lst parameter. Remove procSym. |
| 5566 |
(CheckXIndr): Remove bblst and procSym parameters. |
| 5567 |
(CheckRecordField): Remove procSym, op1tok, op2tok and op2. |
| 5568 |
(CheckBecomes): Remove procSym and bblst. |
| 5569 |
(CheckComparison): Remove procSym and bblst. |
| 5570 |
(CheckAddr): Remove procSym parameter. |
| 5571 |
* gm2-gcc/m2expr.cc (m2expr_CSTIntToString): New function. |
| 5572 |
(m2expr_CSTIntToChar): New function. |
| 5573 |
* gm2-gcc/m2expr.def (CSTIntToString): New procedure function |
| 5574 |
declaration. |
| 5575 |
(CSTIntToChar): New procedure function declaration. |
| 5576 |
* gm2-gcc/m2expr.h (m2expr_CSTIntToChar): New prototype. |
| 5577 |
(m2expr_CSTIntToString): New prototype. |
| 5578 |
|
| 5579 |
2023-09-13 Gaius Mulley <[email protected]> |
| 5580 |
|
| 5581 |
* Make-lang.in (GM2_FLAGS): Add -Wcase-enum. |
| 5582 |
(GM2_ISO_FLAGS): Add -Wcase-enum. |
| 5583 |
* gm2-compiler/M2CaseList.mod (EnumerateErrors): Issue |
| 5584 |
singular or plural start text prior to the enum list. |
| 5585 |
Remove unused parameter tokenno. |
| 5586 |
(EmitMissingRangeErrors): New procedure. |
| 5587 |
(MissingCaseBounds): Call EmitMissingRangeErrors. |
| 5588 |
(MissingCaseStatementBounds): Call EmitMissingRangeErrors. |
| 5589 |
* gm2-libs-iso/TextIO.mod: Fix spacing. |
| 5590 |
|
| 5591 |
2023-09-12 Gaius Mulley <[email protected]> |
| 5592 |
|
| 5593 |
* gm2-compiler/M2CaseList.def (PushCase): Rename parameters |
| 5594 |
r to rec and v to va. Add expr parameter. |
| 5595 |
(MissingCaseStatementBounds): New procedure function. |
| 5596 |
* gm2-compiler/M2CaseList.mod (RangePair): Add expression. |
| 5597 |
(PushCase): Rename parameters r to rec and v to va. Add |
| 5598 |
expr parameter. |
| 5599 |
(RemoveRange): New procedure function. |
| 5600 |
(SubBitRange): Detect the case when the range in the set matches |
| 5601 |
lo..hi. |
| 5602 |
(CheckLowHigh): New procedure. |
| 5603 |
(ExcludeCaseRanges): Rename parameter c to cd. Rename local |
| 5604 |
variables q to cl and r to rp. |
| 5605 |
(High): Remove. |
| 5606 |
(Low): Remove. |
| 5607 |
(DoEnumValues): Remove. |
| 5608 |
(IncludeElement): New procedure. |
| 5609 |
(IncludeElements): New procedure. |
| 5610 |
(ErrorRangeEnum): New procedure. |
| 5611 |
(ErrorRange): Remove. |
| 5612 |
(ErrorRanges): Remove. |
| 5613 |
(appendEnum): New procedure. |
| 5614 |
(appendStr): New procedure. |
| 5615 |
(EnumerateErrors): New procedure. |
| 5616 |
(MissingCaseBounds): Re-implement. |
| 5617 |
(InRangeList): Remove. |
| 5618 |
(MissingCaseStatementBounds): New procedure function. |
| 5619 |
(checkTypes): Re-format. |
| 5620 |
(inRange): Re-format. |
| 5621 |
(TypeCaseBounds): Re-format. |
| 5622 |
* gm2-compiler/M2Error.mod (GetAnnounceScope): Add noscope to |
| 5623 |
case label list. |
| 5624 |
* gm2-compiler/M2GCCDeclare.mod: Replace ForeachFieldEnumerationDo |
| 5625 |
with ForeachLocalSymDo. |
| 5626 |
* gm2-compiler/M2Options.def (SetCaseEnumChecking): New procedure. |
| 5627 |
(CaseEnumChecking): New variable. |
| 5628 |
* gm2-compiler/M2Options.mod (SetCaseEnumChecking): New procedure. |
| 5629 |
(Module initialization): set CaseEnumChecking to FALSE. |
| 5630 |
* gm2-compiler/M2Quads.def (QuadOperator): Alphabetically ordered. |
| 5631 |
* gm2-compiler/M2Quads.mod (IsBackReferenceConditional): Add else |
| 5632 |
clause. |
| 5633 |
(BuildCaseStart): Pass selector expression to InitCaseBounds. |
| 5634 |
(CheckUninitializedVariablesAreUsed): Remove. |
| 5635 |
(IsInlineWithinBlock): Remove. |
| 5636 |
(AsmStatementsInBlock): Remove. |
| 5637 |
(CheckVariablesInBlock): Remove commented code. |
| 5638 |
(BeginVarient): Pass NulSym to InitCaseBounds. |
| 5639 |
* gm2-compiler/M2Range.mod (FoldCaseBounds): New local variable |
| 5640 |
errorGenerated. Add call to MissingCaseStatementBounds. |
| 5641 |
* gm2-compiler/P3Build.bnf (CaseEndStatement): Call ElseCase. |
| 5642 |
* gm2-compiler/PCSymBuild.mod (InitDesExpr): Add else clause. |
| 5643 |
(InitFunction): Add else clause. |
| 5644 |
(InitConvert): Add else clause. |
| 5645 |
(InitLeaf): Add else clause. |
| 5646 |
(InitBinary): Add else clause. |
| 5647 |
(InitUnary): Add else clause. |
| 5648 |
* gm2-compiler/SymbolTable.def (GetNth): Re-write comment. |
| 5649 |
(ForeachFieldEnumerationDo): Re-write comment stating alphabetical |
| 5650 |
traversal. |
| 5651 |
* gm2-compiler/SymbolTable.mod (GetNth): Re-write comment. |
| 5652 |
Add case label for EnumerationSym and call GetItemFromList. |
| 5653 |
(ForeachFieldEnumerationDo): Re-write comment stating alphabetical |
| 5654 |
traversal. |
| 5655 |
(SymEnumeration): Add ListOfFields used for declaration order. |
| 5656 |
(MakeEnumeration): Initialize ListOfFields. |
| 5657 |
(PutFieldEnumeration): Include Field in ListOfFields. |
| 5658 |
* gm2-gcc/m2options.h (M2Options_SetCaseEnumChecking): New |
| 5659 |
function. |
| 5660 |
* gm2-lang.cc (gm2_langhook_handle_option): Add |
| 5661 |
OPT_Wcase_enum case and call M2Options_SetCaseEnumChecking. |
| 5662 |
* lang.opt (Wcase-enum): Add. |
| 5663 |
|
| 5664 |
2023-09-11 Gaius Mulley <[email protected]> |
| 5665 |
|
| 5666 |
PR modula2/111330 |
| 5667 |
* gm2-compiler/M2SymInit.mod (CheckReadBeforeInitQuad): Add |
| 5668 |
case labels LogicalDiffOp, DummyOp, OptParamOp and |
| 5669 |
InitAddressOp. |
| 5670 |
|
| 5671 |
2023-08-20 Gaius Mulley <[email protected]> |
| 5672 |
|
| 5673 |
PR modula2/111085 |
| 5674 |
* gm2-libs/Builtins.def (nexttoward): Alter the second |
| 5675 |
parameter to LONGREAL. |
| 5676 |
(nexttowardf): Alter the second parameter to LONGREAL. |
| 5677 |
* gm2-libs/Builtins.mod (nexttoward): Alter the second |
| 5678 |
parameter to LONGREAL. |
| 5679 |
(nexttowardf): Alter the second parameter to LONGREAL. |
| 5680 |
* gm2-libs/cbuiltin.def (nexttoward): Alter the second |
| 5681 |
parameter to LONGREAL. |
| 5682 |
(nexttowardf): Alter the second parameter to LONGREAL. |
| 5683 |
|
| 5684 |
2023-08-13 Iain Sandoe <[email protected]> |
| 5685 |
|
| 5686 |
* Make-lang.in: Update suffix spellings to use 'soext'. |
| 5687 |
Add libc to the plugin link. |
| 5688 |
|
| 5689 |
2023-08-12 Gaius Mulley <[email protected]> |
| 5690 |
|
| 5691 |
PR modula2/110779 |
| 5692 |
* gm2-libs-iso/SysClock.mod (EpochTime): New procedure. |
| 5693 |
(GetClock): Call EpochTime if the C time functions are |
| 5694 |
unavailable. |
| 5695 |
* gm2-libs-iso/wrapclock.def (istimezone): New function |
| 5696 |
definition. |
| 5697 |
|
| 5698 |
2023-08-12 Gaius Mulley <[email protected]> |
| 5699 |
|
| 5700 |
PR modula2/108119 |
| 5701 |
* Make-lang.in (M2RTE_PLUGIN_SO): Assigned to |
| 5702 |
plugin/m2rte$(exeext).so if enable_plugin is yes. |
| 5703 |
(m2.all.cross): Replace plugin/m2rte$(soext) with |
| 5704 |
$(M2RTE_PLUGIN_SO). |
| 5705 |
(m2.all.encap): Replace plugin/m2rte$(soext) with |
| 5706 |
$(M2RTE_PLUGIN_SO). |
| 5707 |
(m2.install-plugin): Add dummy rule when enable_plugin |
| 5708 |
is not yes. |
| 5709 |
(plugin/m2rte$(exeext).so): Add dummy rule when enable_plugin |
| 5710 |
is not yes. |
| 5711 |
(m2/stage2/cc1gm2$(exeext)): Replace plugin/m2rte$(soext) with |
| 5712 |
$(M2RTE_PLUGIN_SO). |
| 5713 |
(m2/stage1/cc1gm2$(exeext)): Replace plugin/m2rte$(soext) with |
| 5714 |
$(M2RTE_PLUGIN_SO). |
| 5715 |
* gm2spec.cc (lang_specific_driver): Set need_plugin to false |
| 5716 |
by default. |
| 5717 |
|
| 5718 |
2023-08-09 Gaius Mulley <[email protected]> |
| 5719 |
|
| 5720 |
PR modula2/110779 |
| 5721 |
* gm2-libs-iso/SysClock.mod (GetClock): Test GetTimespec |
| 5722 |
return value. |
| 5723 |
(SetClock): Test SetTimespec return value. |
| 5724 |
* gm2-libs-iso/wrapclock.def (GetTimespec): Add integer |
| 5725 |
return type. |
| 5726 |
(SetTimespec): Add integer return type. |
| 5727 |
|
| 5728 |
2023-08-05 Gaius Mulley <[email protected]> |
| 5729 |
|
| 5730 |
PR modula2/110779 |
| 5731 |
* gm2-libs-iso/SysClock.mod: Re-implement using wrapclock. |
| 5732 |
* gm2-libs-iso/wrapclock.def: New file. |
| 5733 |
|
| 5734 |
2023-08-01 Gaius Mulley <[email protected]> |
| 5735 |
|
| 5736 |
PR modula2/110161 |
| 5737 |
* gm2-compiler/M2Check.mod (checkProcTypeEquivalence): New |
| 5738 |
procedure function. |
| 5739 |
(checkTypeKindEquivalence): Call checkProcTypeEquivalence |
| 5740 |
if either left or right is a proc type. |
| 5741 |
* gm2-compiler/M2Quads.mod (BuildRelOp): Create |
| 5742 |
combinedTok prior to creating the range check quadruple. |
| 5743 |
Use combinedTok when creating the range check quadruple. |
| 5744 |
|
| 5745 |
2023-08-01 Gaius Mulley <[email protected]> |
| 5746 |
|
| 5747 |
PR modula2/110865 |
| 5748 |
* gm2-compiler/M2Quads.mod (BuildDesignatorArray): |
| 5749 |
Rename t as type and d as dim. New variable result. |
| 5750 |
Allow constants of an array type to be indexed. |
| 5751 |
|
| 5752 |
2023-07-25 Gaius Mulley <[email protected]> |
| 5753 |
|
| 5754 |
PR modula2/110174 |
| 5755 |
* gm2-compiler/M2GCCDeclare.def (PromoteToCString): New procedure |
| 5756 |
function. |
| 5757 |
* gm2-compiler/M2GCCDeclare.mod (PromoteToCString): New procedure |
| 5758 |
function. |
| 5759 |
* gm2-compiler/M2GenGCC.mod (BuildTreeFromInterface): Call |
| 5760 |
skip_const_decl before chaining the parameter value. |
| 5761 |
Use PromoteToCString to ensure the string is nul terminated. |
| 5762 |
(CodeInline): Remove all parameters and replace with quad. |
| 5763 |
Use GetQuadOtok to get operand token numbers. |
| 5764 |
Remove call to DeclareConstant and replace it with PromoteToCString. |
| 5765 |
* gm2-compiler/M2Quads.def (BuildInline): Rename into ... |
| 5766 |
(BuildAsm): ... this. |
| 5767 |
* gm2-compiler/M2Quads.mod: (BuildInline): Rename into ... |
| 5768 |
(BuildAsm): ... this. |
| 5769 |
(BuildAsmElement): Add debugging. |
| 5770 |
* gm2-compiler/P1Build.bnf: Remove import of BuildInline. |
| 5771 |
* gm2-compiler/P2Build.bnf: Remove import of BuildInline. |
| 5772 |
* gm2-compiler/P3Build.bnf: Remove import of BuildInline and |
| 5773 |
import BuildAsm. |
| 5774 |
* gm2-compiler/PHBuild.bnf: Remove import of BuildInline. |
| 5775 |
* gm2-libs-iso/SysClock.mod (foo): Remove. |
| 5776 |
* gm2-libs/FIO.mod (BufferedRead): Rename parameter a to dest. |
| 5777 |
Rename variable t to src. |
| 5778 |
* m2pp.cc (pf): Correct block comment. |
| 5779 |
(pe): Correct block comment. |
| 5780 |
(m2pp_asm_expr): New function. |
| 5781 |
(m2pp_statement): Call m2pp_asm_expr. |
| 5782 |
|
| 5783 |
2023-07-22 Gaius Mulley <[email protected]> |
| 5784 |
|
| 5785 |
PR modula2/110631 |
| 5786 |
* gm2-libs/FIO.def (ReadAny): Correct comment as |
| 5787 |
HIGH (a) + 1 is number of bytes. |
| 5788 |
(WriteAny): Correct comment as HIGH (a) + 1 is number of |
| 5789 |
bytes. |
| 5790 |
* gm2-libs/FIO.mod (ReadAny): Correct comment as |
| 5791 |
HIGH (a) + 1 is number of bytes. Also pass HIGH (a) + 1 |
| 5792 |
to BufferedRead. |
| 5793 |
(WriteAny): Correct comment as HIGH (a) + 1 is number of |
| 5794 |
bytes. Also pass HIGH (a) + 1 to BufferedWrite. |
| 5795 |
(BufferedWrite): Rename parameter a to src, rename variable |
| 5796 |
t to dest. Correct parameter order to memcpy. |
| 5797 |
|
| 5798 |
2023-07-20 Gaius Mulley <[email protected]> |
| 5799 |
|
| 5800 |
* gm2-compiler/M2SymInit.mod (IsExempt): Remove parameter exemption. |
| 5801 |
(CheckIndrX): Call SetupLAlias between lhs and content. |
| 5802 |
(trashParam): Re-write. |
| 5803 |
(SetVarLRInitialized): Indicate shadow and heap are initialized. |
| 5804 |
Call SetupIndr between shadow and heap. |
| 5805 |
* gm2-compiler/P2SymBuild.mod: Import |
| 5806 |
PutProcedureParameterHeapVars. |
| 5807 |
(EndBuildProcedure): Call PutProcedureParameterHeapVars. |
| 5808 |
* gm2-compiler/SymbolTable.def (GetParameterHeapVar): New |
| 5809 |
procedure function. |
| 5810 |
(PutProcedureParameterHeapVars): New procedure function. |
| 5811 |
* gm2-compiler/SymbolTable.mod (MakeParameterHeapVar): New |
| 5812 |
procedure function. |
| 5813 |
(GetParameterHeapVar): New procedure function. |
| 5814 |
(PuttParameterHeapVar): New procedure function. |
| 5815 |
(PutProcedureParameterHeapVars): New procedure. |
| 5816 |
(VarParam): HeapVar new record field. |
| 5817 |
(PutVarParam): HeapVar assigned to NulSym. |
| 5818 |
|
| 5819 |
2023-07-19 Gaius Mulley <[email protected]> |
| 5820 |
|
| 5821 |
PR modula2/110284 |
| 5822 |
* Make-lang.in (m2_OBJS): Add m2/gm2-gcc/rtegraph.o and |
| 5823 |
m2/gm2-compiler-boot/m2flex.o. |
| 5824 |
(c-family/m2pp.o): Remove. |
| 5825 |
* Make-maintainer.in (c-family/m2pp.o): Add. |
| 5826 |
|
| 5827 |
2023-07-19 Gaius Mulley <[email protected]> |
| 5828 |
|
| 5829 |
* gm2-compiler/M2Quads.mod (BuildDifAdrFunction): Removed |
| 5830 |
unnecessary in error message. Use vartok for location. |
| 5831 |
(BuildOddFunction): Use optok for location. |
| 5832 |
(BuildAbsFunction): Use vartok for location. Bugfix set vartok. |
| 5833 |
(BuildCapFunction): Use optok for location. |
| 5834 |
(BuildOrdFunction): Use optok for location and correct format |
| 5835 |
specifier. |
| 5836 |
(BuildShiftFunction): Use vartok for location. |
| 5837 |
(BuildRotateFunction): Use vartok for location. |
| 5838 |
(BuildTruncFunction): Use vartok for location. |
| 5839 |
(BuildFloatFunction): Use vartok for location. |
| 5840 |
(BuildReFunction): Use vartok for location. |
| 5841 |
(BuildImFunction): Use vartok for location. |
| 5842 |
* gm2-compiler/M2SymInit.mod (trashParam): Remove commented code. |
| 5843 |
|
| 5844 |
2023-07-19 Gaius Mulley <[email protected]> |
| 5845 |
|
| 5846 |
* gm2-compiler/M2Quads.mod (BuildRealFuncProcCall): Set the trash |
| 5847 |
parameter value to NIL if DEALLOCATE is detected. |
| 5848 |
* gm2-compiler/M2SymInit.mod (CheckDeferredRecordAccess): Pass |
| 5849 |
tok to SetVarInitialized. Pass tok to GetVarComponentInitialized. |
| 5850 |
(ComponentFindVar): Add tok parameter. Check aliased pointer |
| 5851 |
against Nil and generate warning if necessary. |
| 5852 |
(deRefComponent): Add tok and sym parameters and pass them to |
| 5853 |
getContent. |
| 5854 |
(SetVarComponentInitialized): Add tok parameter. Pass tok to |
| 5855 |
ComponentFindVar. Pass tok and sym to deRefComponent. |
| 5856 |
(GetVarComponentInitialized): Add tok parameter. Pass tok to |
| 5857 |
ComponentFindVar. Pass tok to deRefComponent. |
| 5858 |
(SetVarInitialized): Add tok parameter. Pass tok to |
| 5859 |
SetVarComponentInitialized. |
| 5860 |
(doGetVarInitialized): Add tok parameter. Pass tok to |
| 5861 |
GetVarComponentInitialized. |
| 5862 |
(CheckXIndr): Pass lhs and lhstok to getContent. |
| 5863 |
(CheckIndrX): Pass rhs and rhstok to getContent. |
| 5864 |
(CheckBecomes): Pass destok to ComponentFindVar. Pass des and |
| 5865 |
destok to deRefComponent. |
| 5866 |
(CheckAddr): Pass contenttok to GetVarInitialized. Pass ptrtok |
| 5867 |
to SetVarInitialized. |
| 5868 |
(CheckReadBeforeInitQuad): Pass op1tok to SetVarInitialized for |
| 5869 |
op1 cases and op3tok for op3 cases. |
| 5870 |
(trashParam): Get operand tokens. Pass op3tok to |
| 5871 |
SetVarInitialized. Pass op3 and op3tok to getContent. |
| 5872 |
Alias ptr to NIL if procedure is DEALLOCATE. Pass op3tok to |
| 5873 |
SetVarInitialized. |
| 5874 |
(IsDeallocate): New procedure function. |
| 5875 |
(DetectTrash): Use IsDeallocate. |
| 5876 |
(SetupLAlias): Allow exp to be Nil. |
| 5877 |
(getContent): Generate warning message if ptr is Nil. |
| 5878 |
|
| 5879 |
2023-07-18 Gaius Mulley <[email protected]> |
| 5880 |
|
| 5881 |
* Make-lang.in: Minor formatting change. |
| 5882 |
* gm2-compiler/M2GCCDeclare.mod |
| 5883 |
(DeclareUnboundedProcedureParameters): Rename local variables. |
| 5884 |
(WalkUnboundedProcedureParameters): Rename local variables. |
| 5885 |
(DoVariableDeclaration): Avoid declaration of a variable if |
| 5886 |
it is on the heap (used by static analysis only). |
| 5887 |
* gm2-compiler/M2GenGCC.mod: Formatting. |
| 5888 |
* gm2-compiler/M2Quads.def (GetQuadTrash): New procedure function. |
| 5889 |
* gm2-compiler/M2Quads.mod (GetQuadTrash): New procedure function. |
| 5890 |
(QuadFrame): Add Trash field. |
| 5891 |
(BuildRealFuncProcCall): Detect ALLOCATE and DEALLOCATE and create |
| 5892 |
a heap variable for parameter 1 saving it as the trashed variable |
| 5893 |
for static analysis. |
| 5894 |
(GenQuadOTrash): New procedure. |
| 5895 |
(DisplayQuadRange): Bugfix. Write the scope number. |
| 5896 |
* gm2-compiler/M2SymInit.mod: Rewritten to separate LValue |
| 5897 |
equivalence from LValue to RValue pairings. Comprehensive |
| 5898 |
detection of variant record implemented. Allow dereferencing |
| 5899 |
of pointers through LValue/RValue chains. |
| 5900 |
* gm2-compiler/SymbolTable.def (PutVarHeap): New procedure. |
| 5901 |
(IsVarHeap): New procedure function. |
| 5902 |
(ForeachParamSymDo): New procedure. |
| 5903 |
* gm2-compiler/SymbolTable.mod (PutVarHeap): New procedure. |
| 5904 |
(IsVarHeap): New procedure function. |
| 5905 |
(ForeachParamSymDo): New procedure. |
| 5906 |
(MakeVariableForParam): Reformatted. |
| 5907 |
(CheckForUnknownInModule): Reformatted. |
| 5908 |
(SymVar): Add field Heap. |
| 5909 |
(MakeVar): Assign Heap to FALSE. |
| 5910 |
|
| 5911 |
2023-07-13 Rainer Orth <[email protected]> |
| 5912 |
|
| 5913 |
* Make-lang.in (m2/boot-bin/mklink$(exeext)): Add $(LDFLAGS). |
| 5914 |
|
| 5915 |
2023-07-11 Gaius Mulley <[email protected]> |
| 5916 |
|
| 5917 |
* gm2-compiler/M2BasicBlock.def (InitBasicBlocksFromRange): New |
| 5918 |
parameter ScopeSym. |
| 5919 |
* gm2-compiler/M2BasicBlock.mod (ConvertQuads2BasicBlock): New |
| 5920 |
parameter ScopeSym. |
| 5921 |
(InitBasicBlocksFromRange): New parameter ScopeSym. Call |
| 5922 |
ConvertQuads2BasicBlock with ScopeSym. |
| 5923 |
(DisplayBasicBlocks): Uncomment. |
| 5924 |
* gm2-compiler/M2Code.mod: Replace VariableAnalysis with |
| 5925 |
ScopeBlockVariableAnalysis. |
| 5926 |
(InitialDeclareAndOptiomize): Add parameter scope. |
| 5927 |
(SecondDeclareAndOptimize): Add parameter scope. |
| 5928 |
* gm2-compiler/M2GCCDeclare.mod (DeclareConstructor): Add scope |
| 5929 |
parameter to DeclareTypesConstantsProceduresInRange. |
| 5930 |
(DeclareTypesConstantsProceduresInRange): New parameter scope. |
| 5931 |
Pass scope to DisplayQuadRange. Reformatted. |
| 5932 |
* gm2-compiler/M2GenGCC.def (ConvertQuadsToTree): New parameter |
| 5933 |
scope. |
| 5934 |
* gm2-compiler/M2GenGCC.mod (ConvertQuadsToTree): New parameter |
| 5935 |
scope. |
| 5936 |
* gm2-compiler/M2Optimize.mod (KnownReachable): New parameter |
| 5937 |
scope. |
| 5938 |
* gm2-compiler/M2Options.def (SetUninitVariableChecking): Add |
| 5939 |
arg parameter. |
| 5940 |
* gm2-compiler/M2Options.mod (SetUninitVariableChecking): Add |
| 5941 |
arg parameter and set boolean UninitVariableChecking and |
| 5942 |
UninitVariableConditionalChecking. |
| 5943 |
(UninitVariableConditionalChecking): New boolean set to FALSE. |
| 5944 |
* gm2-compiler/M2Quads.def (IsGoto): New procedure function. |
| 5945 |
(DisplayQuadRange): Add scope parameter. |
| 5946 |
(LoopAnalysis): Add scope parameter. |
| 5947 |
* gm2-compiler/M2Quads.mod: Import PutVarArrayRef. |
| 5948 |
(IsGoto): New procedure function. |
| 5949 |
(LoopAnalysis): Add scope parameter and use MetaErrorT1 instead |
| 5950 |
of WarnStringAt. |
| 5951 |
(BuildStaticArray): Call PutVarArrayRef. |
| 5952 |
(BuildDynamicArray): Call PutVarArrayRef. |
| 5953 |
(DisplayQuadRange): Add scope parameter. |
| 5954 |
(GetM2OperatorDesc): Add relational condition cases. |
| 5955 |
* gm2-compiler/M2Scope.def (ScopeProcedure): Add parameter. |
| 5956 |
* gm2-compiler/M2Scope.mod (DisplayScope): Pass scopeSym to |
| 5957 |
DisplayQuadRange. |
| 5958 |
(ForeachScopeBlockDo): Pass scopeSym to p. |
| 5959 |
* gm2-compiler/M2SymInit.def (VariableAnalysis): Rename to ... |
| 5960 |
(ScopeBlockVariableAnalysis): ... this. |
| 5961 |
* gm2-compiler/M2SymInit.mod (ScopeBlockVariableAnalysis): Add |
| 5962 |
scope parameter. |
| 5963 |
(bbEntry): New pointer to record. |
| 5964 |
(bbArray): New array. |
| 5965 |
(bbFreeList): New variable. |
| 5966 |
(errorList): New list. |
| 5967 |
(IssueConditional): New procedure. |
| 5968 |
(GenerateNoteFlow): New procedure. |
| 5969 |
(IssueWarning): New procedure. |
| 5970 |
(IsUniqueWarning): New procedure. |
| 5971 |
(CheckDeferredRecordAccess): Re-implement. |
| 5972 |
(CheckBinary): Add warning and lst parameters. |
| 5973 |
(CheckUnary): Add warning and lst parameters. |
| 5974 |
(CheckXIndr): Add warning and lst parameters. |
| 5975 |
(CheckIndrX): Add warning and lst parameters. |
| 5976 |
(CheckBecomes): Add warning and lst parameters. |
| 5977 |
(CheckComparison): Add warning and lst parameters. |
| 5978 |
(CheckReadBeforeInitQuad): Add warning and lst parameters to all |
| 5979 |
Check procedures. Add all case quadruple clauses. |
| 5980 |
(FilterCheckReadBeforeInitQuad): Add warning and lst parameters. |
| 5981 |
(CheckReadBeforeInitFirstBasicBlock): Add warning and lst parameters. |
| 5982 |
(bbArrayKill): New procedure. |
| 5983 |
(DumpBBEntry): New procedure. |
| 5984 |
(DumpBBArray): New procedure. |
| 5985 |
(DumpBBSequence): New procedure. |
| 5986 |
(TestBBSequence): New procedure. |
| 5987 |
(CreateBBPermultations): New procedure. |
| 5988 |
(ScopeBlockVariableAnalysis): New procedure. |
| 5989 |
(GetOp3): New procedure. |
| 5990 |
(GenerateCFG): New procedure. |
| 5991 |
(NewEntry): New procedure. |
| 5992 |
(AppendEntry): New procedure. |
| 5993 |
(init): Initialize bbFreeList and errorList. |
| 5994 |
* gm2-compiler/SymbolTable.def (PutVarArrayRef): New procedure. |
| 5995 |
(IsVarArrayRef): New procedure function. |
| 5996 |
* gm2-compiler/SymbolTable.mod (SymVar): ArrayRef new field. |
| 5997 |
(MakeVar): Set ArrayRef to FALSE. |
| 5998 |
(PutVarArrayRef): New procedure. |
| 5999 |
(IsVarArrayRef): New procedure function. |
| 6000 |
* gm2-gcc/init.cc (_M2_M2SymInit_init): New prototype. |
| 6001 |
(init_PerCompilationInit): Add call to _M2_M2SymInit_init. |
| 6002 |
* gm2-gcc/m2options.h (M2Options_SetUninitVariableChecking): |
| 6003 |
New definition. |
| 6004 |
* gm2-lang.cc (gm2_langhook_handle_option): Add new case |
| 6005 |
OPT_Wuninit_variable_checking_. |
| 6006 |
* lang.opt: Wuninit-variable-checking= new entry. |
| 6007 |
|
| 6008 |
2023-07-03 Gaius Mulley <[email protected]> |
| 6009 |
|
| 6010 |
PR modula2/110125 |
| 6011 |
* Make-lang.in (GM2-COMP-BOOT-DEFS): Add M2SymInit.def. |
| 6012 |
(GM2-COMP-BOOT-MODS): Add M2SymInit.mod. |
| 6013 |
* gm2-compiler/M2BasicBlock.mod: Formatting changes. |
| 6014 |
* gm2-compiler/M2Code.mod: Remove import of VariableAnalysis from |
| 6015 |
M2Quads. Import VariableAnalysis from M2SymInit.mod. |
| 6016 |
* gm2-compiler/M2GCCDeclare.mod (PrintVerboseFromList): |
| 6017 |
Add debugging print for a component. |
| 6018 |
(TypeConstFullyDeclared): Call RememberType for every type. |
| 6019 |
* gm2-compiler/M2GenGCC.mod (CodeReturnValue): Add parameter to |
| 6020 |
GetQuadOtok. |
| 6021 |
(CodeBecomes): Add parameter to GetQuadOtok. |
| 6022 |
(CodeXIndr): Add parameter to GetQuadOtok. |
| 6023 |
* gm2-compiler/M2Optimize.mod (ReduceBranch): Reformat and |
| 6024 |
preserve operand token positions when reducing the branch |
| 6025 |
quadruples. |
| 6026 |
(ReduceGoto): Reformat. |
| 6027 |
(FoldMultipleGoto): Reformat. |
| 6028 |
(KnownReachable): Reformat. |
| 6029 |
* gm2-compiler/M2Options.def (UninitVariableChecking): New |
| 6030 |
variable declared and exported. |
| 6031 |
(SetUninitVariableChecking): New procedure. |
| 6032 |
* gm2-compiler/M2Options.mod (SetWall): Set |
| 6033 |
UninitVariableChecking. |
| 6034 |
(SetUninitVariableChecking): New procedure. |
| 6035 |
* gm2-compiler/M2Quads.def (PutQuadOtok): Exported and declared. |
| 6036 |
(VariableAnalysis): Removed. |
| 6037 |
* gm2-compiler/M2Quads.mod (PutQuadOtok): New procedure. |
| 6038 |
(doVal): Reformatted. |
| 6039 |
(MarkAsWrite): Reformatted. |
| 6040 |
(MarkArrayAsWritten): Reformatted. |
| 6041 |
(doIndrX): Use PutQuadOtok. |
| 6042 |
(MakeRightValue): Use GenQuadOtok. |
| 6043 |
(MakeLeftValue): Use GenQuadOtok. |
| 6044 |
(CheckReadBeforeInitialized): Remove. |
| 6045 |
(IsNeverAltered): Reformat. |
| 6046 |
(DebugLocation): New procedure. |
| 6047 |
(BuildDesignatorPointer): Use GenQuadO to preserve operand token |
| 6048 |
position. |
| 6049 |
(BuildRelOp): Use GenQuadOtok ditto. |
| 6050 |
* gm2-compiler/SymbolTable.def (VarCheckReadInit): New procedure. |
| 6051 |
(VarInitState): New procedure. |
| 6052 |
(PutVarInitialized): New procedure. |
| 6053 |
(PutVarFieldInitialized): New procedure function. |
| 6054 |
(GetVarFieldInitialized): New procedure function. |
| 6055 |
(PrintInitialized): New procedure. |
| 6056 |
* gm2-compiler/SymbolTable.mod (VarCheckReadInit): New procedure. |
| 6057 |
(VarInitState): New procedure. |
| 6058 |
(PutVarInitialized): New procedure. |
| 6059 |
(PutVarFieldInitialized): New procedure function. |
| 6060 |
(GetVarFieldInitialized): New procedure function. |
| 6061 |
(PrintInitialized): New procedure. |
| 6062 |
(LRInitDesc): New type. |
| 6063 |
(SymVar): InitState new field. |
| 6064 |
(MakeVar): Initialize InitState. |
| 6065 |
* gm2-gcc/m2options.h (M2Options_SetUninitVariableChecking): |
| 6066 |
New function declaration. |
| 6067 |
* gm2-lang.cc (gm2_langhook_handle_option): Detect |
| 6068 |
OPT_Wuninit_variable_checking and call SetUninitVariableChecking. |
| 6069 |
* lang.opt: Add Wuninit-variable-checking. |
| 6070 |
* gm2-compiler/M2SymInit.def: New file. |
| 6071 |
* gm2-compiler/M2SymInit.mod: New file. |
| 6072 |
|
| 6073 |
2023-06-30 Iain Sandoe <[email protected]> |
| 6074 |
|
| 6075 |
PR testsuite/108835 |
| 6076 |
* gm2-libs/RTint.mod: Do not use NIL timeout setting on select, |
| 6077 |
test failures sequentially, finishing on the first success. |
| 6078 |
|
| 6079 |
2023-06-18 Gaius Mulley <[email protected]> |
| 6080 |
|
| 6081 |
PR modula2/110284 |
| 6082 |
* Make-lang.in (m2_OBJS): Assign $(GM2_C_OBJS). |
| 6083 |
(GM2_C_OBJS): Remove m2/stor-layout.o. |
| 6084 |
(m2/stor-layout.o): Remove rule. |
| 6085 |
* gm2-gcc/gcc-consolidation.h (rtl.h): Remove include. |
| 6086 |
(df.h): Remove include. |
| 6087 |
(except.h): Remove include. |
| 6088 |
|
| 6089 |
2023-06-15 Marek Polacek <[email protected]> |
| 6090 |
|
| 6091 |
* Make-lang.in: New var, GM2_PICFLAGS. Use it. |
| 6092 |
|
| 6093 |
2023-06-13 Gaius Mulley <[email protected]> |
| 6094 |
|
| 6095 |
* Make-lang.in (check-format-error): New rule. |
| 6096 |
* gm2-compiler/M2MetaError.mod (op): Add calls InternalError if |
| 6097 |
digits are detected. |
| 6098 |
* gm2-compiler/M2Quads.mod (BuildForToByDo): Bugfix to format |
| 6099 |
specifier. |
| 6100 |
(BuildLengthFunction): Bugfix to format specifiers. |
| 6101 |
(BuildOddFunction): Bugfix to format specifiers. |
| 6102 |
(BuildAbsFunction): Bugfix to format specifiers. |
| 6103 |
(BuildCapFunction): Bugfix to format specifiers. |
| 6104 |
(BuildChrFunction): Bugfix to format specifiers. |
| 6105 |
(BuildOrdFunction): Bugfix to format specifiers. |
| 6106 |
(BuildMakeAdrFunction): Bugfix to format specifiers. |
| 6107 |
(BuildSizeFunction): Bugfix to format specifiers. |
| 6108 |
(BuildBitSizeFunction): Bugfix to format specifiers. |
| 6109 |
* tools-src/checkmeta.py: New file. |
| 6110 |
|
| 6111 |
2023-06-12 Gaius Mulley <[email protected]> |
| 6112 |
|
| 6113 |
PR modula2/110189 |
| 6114 |
* gm2-compiler/M2Quads.mod (BuildAbsFunction): Replace abort |
| 6115 |
format specifier. |
| 6116 |
(BuildValFunction): Replace abort format specifier. |
| 6117 |
(BuildCastFunction): Replace abort format specifier. |
| 6118 |
(BuildMinFunction): Replace abort format specifier. |
| 6119 |
(BuildMaxFunction): Replace abort format specifier. |
| 6120 |
(BuildTruncFunction): Replace abort format specifier. |
| 6121 |
* gm2-compiler/P3Build.bnf (Pass1): Remove. |
| 6122 |
(Pass2): Remove. |
| 6123 |
(Pass3): Remove. |
| 6124 |
(Expect): Add Pass1. |
| 6125 |
(AsmStatement): Remove Pass3. |
| 6126 |
(AsmOperands): Remove Pass3. |
| 6127 |
(AsmOperandSpec): Remove Pass3. |
| 6128 |
(AsmInputElement): Remove Pass3. |
| 6129 |
(AsmOutputElement): Remove Pass3. |
| 6130 |
(AsmTrashList): Remove Pass3. |
| 6131 |
|
| 6132 |
2023-06-12 Gaius Mulley <[email protected]> |
| 6133 |
|
| 6134 |
PR modula2/110126 |
| 6135 |
* gm2-compiler/M2Quads.def (BuildAsmElement): Remove |
| 6136 |
trash parameter. |
| 6137 |
(BuildAsmTrash): New procedure. |
| 6138 |
* gm2-compiler/M2Quads.mod (BuildAsmTrash): New procedure. |
| 6139 |
(BuildAsmElement): Remove trash parameter. |
| 6140 |
* gm2-compiler/P3Build.bnf (AsmTrashList): Rewrite. |
| 6141 |
|
| 6142 |
2023-06-08 Gaius Mulley <[email protected]> |
| 6143 |
|
| 6144 |
PR modula2/110126 |
| 6145 |
* gm2-compiler/M2GenGCC.mod (BuildTreeFromInterface): Remove |
| 6146 |
tokenno parameter. Use object tok instead of tokenno. |
| 6147 |
(BuildTrashTreeFromInterface): Use object tok instead of |
| 6148 |
GetDeclaredMod. |
| 6149 |
(CodeInline): Remove tokenno from parameter list to BuildTreeFromInterface. |
| 6150 |
* gm2-compiler/M2Quads.def (BuildAsmElement): Exported and |
| 6151 |
defined. |
| 6152 |
* gm2-compiler/M2Quads.mod (BuildOptimizeOff): Reformatted. |
| 6153 |
(BuildInline): Reformatted. |
| 6154 |
(BuildLineNo): Reformatted. |
| 6155 |
(UseLineNote): Reformatted. |
| 6156 |
(BuildAsmElement): New procedure. |
| 6157 |
* gm2-compiler/P0SyntaxCheck.bnf (AsmOperands): Use |
| 6158 |
ConstExpression instead of string. |
| 6159 |
(AsmElement): Use ConstExpression instead of string. |
| 6160 |
(TrashList): Use ConstExpression instead of string. |
| 6161 |
* gm2-compiler/P1Build.bnf (AsmOperands): Use |
| 6162 |
ConstExpression instead of string. |
| 6163 |
(AsmElement): Use ConstExpression instead of string. |
| 6164 |
(TrashList): Use ConstExpression instead of string. |
| 6165 |
* gm2-compiler/P2Build.bnf (AsmOperands): Use |
| 6166 |
ConstExpression instead of string. |
| 6167 |
(AsmElement): Use ConstExpression instead of string. |
| 6168 |
(TrashList): Use ConstExpression instead of string. |
| 6169 |
* gm2-compiler/P3Build.bnf (AsmOperands): Rewrite. |
| 6170 |
(AsmOperandSpec): Rewrite. |
| 6171 |
(AsmOutputList): New rule. |
| 6172 |
(AsmInputList): New rule. |
| 6173 |
(TrashList): Rewrite. |
| 6174 |
* gm2-compiler/PCBuild.bnf (AsmOperands): Use |
| 6175 |
ConstExpression instead of string. |
| 6176 |
(AsmElement): Use ConstExpression instead of string. |
| 6177 |
(TrashList): Use ConstExpression instead of string. |
| 6178 |
* gm2-compiler/PHBuild.bnf (AsmOperands): Use |
| 6179 |
ConstExpression instead of string. |
| 6180 |
(AsmElement): Use ConstExpression instead of string. |
| 6181 |
(TrashList): Use ConstExpression instead of string. |
| 6182 |
* gm2-compiler/SymbolTable.def (PutRegInterface): |
| 6183 |
Rewrite interface. |
| 6184 |
(GetRegInterface): Rewrite interface. |
| 6185 |
* gm2-compiler/SymbolTable.mod (SetFirstUsed): New procedure. |
| 6186 |
(PutFirstUsed): New procedure. |
| 6187 |
(PutRegInterface): Rewrite. |
| 6188 |
(GetRegInterface): Rewrite. |
| 6189 |
|
| 6190 |
2023-06-07 Jakub Jelinek <[email protected]> |
| 6191 |
|
| 6192 |
* Make-lang.in: Build $(generated_files) before building |
| 6193 |
all $(GM2_C_OBJS). |
| 6194 |
|
| 6195 |
2023-06-07 Gaius Mulley <[email protected]> |
| 6196 |
|
| 6197 |
PR modula2/110019 |
| 6198 |
* gm2-compiler/SymbolKey.mod (SearchAndDo): Reformatted. |
| 6199 |
(ForeachNodeDo): Reformatted. |
| 6200 |
* gm2-compiler/SymbolTable.mod (AddListify): Join list |
| 6201 |
with "," or "and" if more than one word is in the list. |
| 6202 |
* m2.flex: Remove -1 from atoi(yytext) line number. |
| 6203 |
|
| 6204 |
2023-06-03 Gaius Mulley <[email protected]> |
| 6205 |
|
| 6206 |
PR modula2/110003 |
| 6207 |
* gm2-compiler/P2SymBuild.mod (GetParameterShadowVar): Import. |
| 6208 |
(CheckFormalParameterSection): Call PutDeclared for the shadow |
| 6209 |
variable associated with the parameter. |
| 6210 |
|
| 6211 |
2023-05-24 Gaius Mulley <[email protected]> |
| 6212 |
|
| 6213 |
PR modula2/109952 |
| 6214 |
* Make-maintainer.in: Change header to include emacs file mode. |
| 6215 |
* gm2-compiler/M2GenGCC.mod (BuildHighFromChar): Check whether |
| 6216 |
operand is a constant string and is nul terminated then return one. |
| 6217 |
* gm2-compiler/PCSymBuild.mod (WalkFunction): Add default return |
| 6218 |
TRUE. Static analysis missing return path fix. |
| 6219 |
* gm2-libs/IO.mod (Init): Rewrite to help static analysis. |
| 6220 |
* target-independent/m2/gm2-libs.texi: Rebuild. |
| 6221 |
|
| 6222 |
2023-05-19 Gaius Mulley <[email protected]> |
| 6223 |
|
| 6224 |
PR modula2/109908 |
| 6225 |
* gm2-libs-iso/Strings.mod (Delete): Re-implement. |
| 6226 |
|
| 6227 |
2023-05-18 Bernhard Reutner-Fischer <[email protected]> |
| 6228 |
|
| 6229 |
* gm2-gcc/m2builtins.cc (doradix): Use _P defines from tree.h. |
| 6230 |
(doplaces): Ditto. |
| 6231 |
(doexponentmin): Ditto. |
| 6232 |
(doexponentmax): Ditto. |
| 6233 |
(dolarge): Ditto. |
| 6234 |
(dosmall): Ditto. |
| 6235 |
(dogUnderflow): Ditto. |
| 6236 |
* gm2-gcc/m2convert.cc (unsafe_conversion_p): Ditto. |
| 6237 |
* gm2-gcc/m2expr.cc (m2expr_build_unary_op_check): Ditto. |
| 6238 |
(m2expr_build_binary_op_check): Ditto. |
| 6239 |
* gm2-gcc/m2tree.cc (m2tree_is_var): Ditto. |
| 6240 |
* gm2-gcc/m2treelib.cc (build_modify_expr): Ditto. |
| 6241 |
* gm2-gcc/m2type.cc (gm2_finish_decl): Ditto. |
| 6242 |
* m2pp.cc (hextree): Ditto. |
| 6243 |
(m2pp_call_expr): Ditto. |
| 6244 |
|
| 6245 |
2023-05-17 Gaius Mulley <[email protected]> |
| 6246 |
|
| 6247 |
* gm2-libs-iso/LongWholeIO.mod (WriteInt): Only request a |
| 6248 |
sign if the value is < 0. |
| 6249 |
* gm2-libs-iso/ShortWholeIO.mod (WriteInt): Only request a |
| 6250 |
sign if the value is < 0. |
| 6251 |
* gm2-libs-iso/WholeIO.mod (WriteInt): Only request a sign |
| 6252 |
if the value is < 0. |
| 6253 |
* gm2-libs-iso/WholeStr.mod (WriteInt): Only request a sign |
| 6254 |
if the value is < 0. |
| 6255 |
|
| 6256 |
2023-05-16 Gaius Mulley <[email protected]> |
| 6257 |
|
| 6258 |
PR modula2/109879 |
| 6259 |
* gm2-libs-iso/LongIO.mod (ReadReal): Call SkipSpaces. |
| 6260 |
* gm2-libs-iso/LongWholeIO.mod (ReadInt): Call SkipSpaces. |
| 6261 |
(ReadCard): Call SkipSpaces. |
| 6262 |
* gm2-libs-iso/RealIO.mod (ReadReal): Call SkipSpaces. |
| 6263 |
* gm2-libs-iso/ShortWholeIO.mod: (ReadInt): Call SkipSpaces. |
| 6264 |
(ReadCard): Call SkipSpaces. |
| 6265 |
* gm2-libs-iso/TextIO.mod: Import SkipSpaces. |
| 6266 |
* gm2-libs-iso/WholeIO.mod (ReadInt): Call SkipSpaces. |
| 6267 |
(ReadCard): Call SkipSpaces. |
| 6268 |
* gm2-libs-iso/TextUtil.def: New file. |
| 6269 |
* gm2-libs-iso/TextUtil.mod: New file. |
| 6270 |
|
| 6271 |
2023-05-16 Gaius Mulley <[email protected]> |
| 6272 |
|
| 6273 |
PR modula2/108344 |
| 6274 |
* gm2-libs-coroutines/TimerHandler.mod (EnableLED): New constant. |
| 6275 |
(Timer): Test EnableLED before switching on the scroll LED. |
| 6276 |
|
| 6277 |
2023-05-12 Gaius Mulley <[email protected]> |
| 6278 |
|
| 6279 |
PR modula2/109830 |
| 6280 |
* gm2-libs-iso/SeqFile.mod (newCid): New parameter toAppend |
| 6281 |
used to select FIO.OpenForRandom. |
| 6282 |
(OpenRead): Pass extra parameter to newCid. |
| 6283 |
(OpenWrite): Pass extra parameter to newCid. |
| 6284 |
(OpenAppend): Pass extra parameter to newCid. |
| 6285 |
|
| 6286 |
2023-05-11 Gaius Mulley <[email protected]> |
| 6287 |
|
| 6288 |
PR modula2/109810 |
| 6289 |
* gm2-compiler/M2ALU.mod (ConvertConstToType): Use |
| 6290 |
PrepareCopyString in place of DoCopyString. |
| 6291 |
* gm2-compiler/M2GenGCC.def (DoCopyString): Rename to ... |
| 6292 |
(PrepareCopyString): ... this. |
| 6293 |
* gm2-compiler/M2GenGCC.mod (CodeStatement): Call CodeReturnValue |
| 6294 |
with a single parameter. Call CodeXIndr with a single parameter. |
| 6295 |
(CodeReturnValue): Remove parameters and replace with a single |
| 6296 |
quadno. Reimplement using PrepareCopyString. Issue error |
| 6297 |
if the string exceeds designator space. |
| 6298 |
(DoCopyString): Reimplement and rename to ... |
| 6299 |
(PrepareCopyString): ... this. |
| 6300 |
(CodeXIndr): Remove parameters and replace with a single |
| 6301 |
quadno. Reimplement using PrepareCopyString. Issue error |
| 6302 |
if the string exceeds designator space. |
| 6303 |
(CodeBecomes): Remove parameters and replace with a single |
| 6304 |
quadno. Reimplement using PrepareCopyString. Issue error |
| 6305 |
if the string exceeds designator space. |
| 6306 |
* gm2-compiler/M2Quads.def (BuildReturn): Rename parameter to |
| 6307 |
tokreturn. |
| 6308 |
* gm2-compiler/M2Quads.mod (BuildReturn): Rename parameter to |
| 6309 |
tokreturn. Rename tokno to tokcombined. |
| 6310 |
|
| 6311 |
2023-05-09 Gaius Mulley <[email protected]> |
| 6312 |
|
| 6313 |
PR modula2/109779 |
| 6314 |
* gm2-libs-iso/RTgen.mod (doLook): Remove old. |
| 6315 |
Remove re-assignment of result. |
| 6316 |
* gm2-libs-iso/TextIO.mod (CanRead): Rename into ... |
| 6317 |
(CharAvailable): ... this. |
| 6318 |
(DumpState): New procedure. |
| 6319 |
(SetResult): Rename as SetNul. |
| 6320 |
(WasGoodChar): Rename into ... |
| 6321 |
(EofOrEoln): ... this. |
| 6322 |
(SkipLine): Skip over the newline. |
| 6323 |
(ReadString): Flip THEN ELSE statements after testing for |
| 6324 |
EofOrEoln. |
| 6325 |
(ReadRestLine): Flip THEN ELSE statements after testing for |
| 6326 |
EofOrEoln. |
| 6327 |
|
| 6328 |
2023-05-04 Gaius Mulley <[email protected]> |
| 6329 |
|
| 6330 |
PR modula2/109729 |
| 6331 |
* gm2-compiler/M2GenGCC.mod (CodeStatement): Detect |
| 6332 |
ArithAddOp and call CodeAddChecked. |
| 6333 |
(ResolveConstantExpressions): Detect ArithAddOp and call |
| 6334 |
FoldArithAdd. |
| 6335 |
(FoldArithAdd): New procedure. |
| 6336 |
(FoldAdd): Refactor to use FoldArithAdd. |
| 6337 |
* gm2-compiler/M2Quads.def (QuadOperator): Add ArithAddOp. |
| 6338 |
* gm2-compiler/M2Quads.mod: Remove commented imports. |
| 6339 |
(QuadFrame): Changed comments to use GNU coding standards. |
| 6340 |
(ArithPlusTok): New global variable. |
| 6341 |
(BuildForToByDo): Use ArithPlusTok instead of PlusTok. |
| 6342 |
(MakeOp): Detect ArithPlusTok and return ArithAddOp. |
| 6343 |
(WriteQuad): Add ArithAddOp clause. |
| 6344 |
(WriteOperator): Add ArithAddOp clause. |
| 6345 |
(Init): Initialize ArithPlusTok. |
| 6346 |
|
| 6347 |
2023-05-04 Gaius Mulley <[email protected]> |
| 6348 |
|
| 6349 |
PR modula2/109675 |
| 6350 |
* Make-lang.in (MC-LIB-DEFS): Remove M2LINK.def. |
| 6351 |
(BUILD-PGE-O): Remove GM2LINK.o. |
| 6352 |
* Make-maintainer.in (PPG-DEFS): New define. |
| 6353 |
(PPG-LIB-DEFS): Remove M2LINK.def. |
| 6354 |
(BUILD-BOOT-PPG-H): Add PPGDEF .h files. |
| 6355 |
(m2/ppg$(exeext)): Remove M2LINK.o |
| 6356 |
(PGE-DEPS): New define. |
| 6357 |
(m2/pg$(exeext)): Remove M2LINK.o. |
| 6358 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Add -Im2/gm2-pge-boot. |
| 6359 |
(m2/pge$(exeext)): Remove M2LINK.o. |
| 6360 |
(pge-maintainer): Re-implement. |
| 6361 |
(pge-libs-push): Re-implement. |
| 6362 |
(m2/m2obj3/cc1gm2$(exeext)): Remove M2LINK.o. |
| 6363 |
* gm2-libs/DynamicStrings.mod (writeAddress): Re-implement |
| 6364 |
using snprintf. |
| 6365 |
* gm2-libs/M2Dependent.mod: Remove commented out imports. |
| 6366 |
* mc-boot/GDynamicStrings.cc: Rebuild. |
| 6367 |
* mc-boot/GFIO.cc: Rebuild. |
| 6368 |
* mc-boot/GFormatStrings.cc: Rebuild. |
| 6369 |
* mc-boot/GM2Dependent.cc: Rebuild. |
| 6370 |
* mc-boot/GM2Dependent.h: Rebuild. |
| 6371 |
* mc-boot/GM2RTS.cc: Rebuild. |
| 6372 |
* mc-boot/GM2RTS.h: Rebuild. |
| 6373 |
* mc-boot/GRTExceptions.cc: Rebuild. |
| 6374 |
* mc-boot/GRTint.cc: Rebuild. |
| 6375 |
* mc-boot/GSFIO.cc: Rebuild. |
| 6376 |
* mc-boot/GStringConvert.cc: Rebuild. |
| 6377 |
* mc-boot/Gdecl.cc: Rebuild. |
| 6378 |
* pge-boot/GASCII.cc: Rebuild. |
| 6379 |
* pge-boot/GASCII.h: Rebuild. |
| 6380 |
* pge-boot/GArgs.cc: Rebuild. |
| 6381 |
* pge-boot/GArgs.h: Rebuild. |
| 6382 |
* pge-boot/GAssertion.cc: Rebuild. |
| 6383 |
* pge-boot/GAssertion.h: Rebuild. |
| 6384 |
* pge-boot/GBreak.h: Rebuild. |
| 6385 |
* pge-boot/GCmdArgs.h: Rebuild. |
| 6386 |
* pge-boot/GDebug.cc: Rebuild. |
| 6387 |
* pge-boot/GDebug.h: Rebuild. |
| 6388 |
* pge-boot/GDynamicStrings.cc: Rebuild. |
| 6389 |
* pge-boot/GDynamicStrings.h: Rebuild. |
| 6390 |
* pge-boot/GEnvironment.h: Rebuild. |
| 6391 |
* pge-boot/GFIO.cc: Rebuild. |
| 6392 |
* pge-boot/GFIO.h: Rebuild. |
| 6393 |
* pge-boot/GFormatStrings.h:: Rebuild. |
| 6394 |
* pge-boot/GFpuIO.h:: Rebuild. |
| 6395 |
* pge-boot/GIO.cc: Rebuild. |
| 6396 |
* pge-boot/GIO.h: Rebuild. |
| 6397 |
* pge-boot/GIndexing.cc: Rebuild. |
| 6398 |
* pge-boot/GIndexing.h: Rebuild. |
| 6399 |
* pge-boot/GLists.cc: Rebuild. |
| 6400 |
* pge-boot/GLists.h: Rebuild. |
| 6401 |
* pge-boot/GM2Dependent.cc: Rebuild. |
| 6402 |
* pge-boot/GM2Dependent.h: Rebuild. |
| 6403 |
* pge-boot/GM2EXCEPTION.cc: Rebuild. |
| 6404 |
* pge-boot/GM2EXCEPTION.h: Rebuild. |
| 6405 |
* pge-boot/GM2RTS.cc: Rebuild. |
| 6406 |
* pge-boot/GM2RTS.h: Rebuild. |
| 6407 |
* pge-boot/GNameKey.cc: Rebuild. |
| 6408 |
* pge-boot/GNameKey.h: Rebuild. |
| 6409 |
* pge-boot/GNumberIO.cc: Rebuild. |
| 6410 |
* pge-boot/GNumberIO.h: Rebuild. |
| 6411 |
* pge-boot/GOutput.cc: Rebuild. |
| 6412 |
* pge-boot/GOutput.h: Rebuild. |
| 6413 |
* pge-boot/GPushBackInput.cc: Rebuild. |
| 6414 |
* pge-boot/GPushBackInput.h: Rebuild. |
| 6415 |
* pge-boot/GRTExceptions.cc: Rebuild. |
| 6416 |
* pge-boot/GRTExceptions.h: Rebuild. |
| 6417 |
* pge-boot/GSArgs.h: Rebuild. |
| 6418 |
* pge-boot/GSEnvironment.h: Rebuild. |
| 6419 |
* pge-boot/GSFIO.cc: Rebuild. |
| 6420 |
* pge-boot/GSFIO.h: Rebuild. |
| 6421 |
* pge-boot/GSYSTEM.h: Rebuild. |
| 6422 |
* pge-boot/GScan.h: Rebuild. |
| 6423 |
* pge-boot/GStdIO.cc: Rebuild. |
| 6424 |
* pge-boot/GStdIO.h: Rebuild. |
| 6425 |
* pge-boot/GStorage.cc: Rebuild. |
| 6426 |
* pge-boot/GStorage.h: Rebuild. |
| 6427 |
* pge-boot/GStrCase.cc: Rebuild. |
| 6428 |
* pge-boot/GStrCase.h: Rebuild. |
| 6429 |
* pge-boot/GStrIO.cc: Rebuild. |
| 6430 |
* pge-boot/GStrIO.h: Rebuild. |
| 6431 |
* pge-boot/GStrLib.cc: Rebuild. |
| 6432 |
* pge-boot/GStrLib.h: Rebuild. |
| 6433 |
* pge-boot/GStringConvert.h: Rebuild. |
| 6434 |
* pge-boot/GSymbolKey.cc: Rebuild. |
| 6435 |
* pge-boot/GSymbolKey.h: Rebuild. |
| 6436 |
* pge-boot/GSysExceptions.h: Rebuild. |
| 6437 |
* pge-boot/GSysStorage.cc: Rebuild. |
| 6438 |
* pge-boot/GSysStorage.h: Rebuild. |
| 6439 |
* pge-boot/GTimeString.h: Rebuild. |
| 6440 |
* pge-boot/GUnixArgs.h: Rebuild. |
| 6441 |
* pge-boot/Gbnflex.cc: Rebuild. |
| 6442 |
* pge-boot/Gbnflex.h: Rebuild. |
| 6443 |
* pge-boot/Gdtoa.h: Rebuild. |
| 6444 |
* pge-boot/Gerrno.h: Rebuild. |
| 6445 |
* pge-boot/Gldtoa.h: Rebuild. |
| 6446 |
* pge-boot/Glibc.h: Rebuild. |
| 6447 |
* pge-boot/Glibm.h: Rebuild. |
| 6448 |
* pge-boot/Gpge.cc: Rebuild. |
| 6449 |
* pge-boot/Gtermios.h: Rebuild. |
| 6450 |
* pge-boot/Gwrapc.h: Rebuild. |
| 6451 |
* mc-boot/GM2LINK.h: Removed. |
| 6452 |
* pge-boot/GM2LINK.cc: Removed. |
| 6453 |
* pge-boot/GM2LINK.h: Removed. |
| 6454 |
|
| 6455 |
2023-04-30 Gaius Mulley <[email protected]> |
| 6456 |
|
| 6457 |
* gm2-compiler/SymbolTable.mod (ConstLitPoolEntry): New |
| 6458 |
pointer to record. |
| 6459 |
(ConstLitSym): New field RangeError. |
| 6460 |
(ConstLitPoolTree): New SymbolTree representing name to |
| 6461 |
index. |
| 6462 |
(ConstLitArray): New dynamic array containing pointers |
| 6463 |
to a ConstLitPoolEntry. |
| 6464 |
(CreateConstLit): New procedure function. |
| 6465 |
(LookupConstLitPoolEntry): New procedure function. |
| 6466 |
(AddConstLitPoolEntry): New procedure function. |
| 6467 |
(MakeConstLit): Re-implemented to check the constant lit |
| 6468 |
pool before calling CreateConstLit. |
| 6469 |
* m2.flex: Add ability to decode binary constant literals. |
| 6470 |
|
| 6471 |
2023-04-26 Gaius Mulley <[email protected]> |
| 6472 |
|
| 6473 |
PR modula2/108121 |
| 6474 |
* gm2-compiler/M2ALU.mod (Less): Reformatted. |
| 6475 |
* gm2-compiler/SymbolTable.mod (DetermineSizeOfConstant): Remove |
| 6476 |
from import. |
| 6477 |
(ConstantStringExceedsZType): Import. |
| 6478 |
(GetConstLitType): Re-implement using ConstantStringExceedsZType. |
| 6479 |
* gm2-gcc/m2decl.cc (m2decl_DetermineSizeOfConstant): Remove. |
| 6480 |
(m2decl_ConstantStringExceedsZType): New function. |
| 6481 |
(m2decl_BuildConstLiteralNumber): Re-implement. |
| 6482 |
* gm2-gcc/m2decl.def (DetermineSizeOfConstant): Remove. |
| 6483 |
(ConstantStringExceedsZType): New function. |
| 6484 |
* gm2-gcc/m2decl.h (m2decl_DetermineSizeOfConstant): Remove. |
| 6485 |
(m2decl_ConstantStringExceedsZType): New function. |
| 6486 |
* gm2-gcc/m2expr.cc (append_digit): Remove. |
| 6487 |
(m2expr_interpret_integer): Remove. |
| 6488 |
(append_m2_digit): Remove. |
| 6489 |
(m2expr_StrToWideInt): New function. |
| 6490 |
(m2expr_interpret_m2_integer): Remove. |
| 6491 |
* gm2-gcc/m2expr.def (CheckConstStrZtypeRange): New function. |
| 6492 |
* gm2-gcc/m2expr.h (m2expr_StrToWideInt): New function. |
| 6493 |
* gm2-gcc/m2type.cc (build_m2_word64_type_node): New function. |
| 6494 |
(build_m2_ztype_node): New function. |
| 6495 |
(m2type_InitBaseTypes): Call build_m2_ztype_node. |
| 6496 |
* gm2-lang.cc (gm2_type_for_size): Re-write using early returns. |
| 6497 |
|
| 6498 |
2023-04-21 Arsen Arsenović <[email protected]> |
| 6499 |
|
| 6500 |
* Make-lang.in: Remove references to $(P). |
| 6501 |
* Make-maintainer.in: Ditto. |
| 6502 |
|
| 6503 |
2023-04-21 Gaius Mulley <[email protected]> |
| 6504 |
|
| 6505 |
PR modula2/109586 |
| 6506 |
* gm2-gcc/m2tree.cc (m2tree_IsAConstant): Add (TREE_CODE |
| 6507 |
(t) == CONSTRUCTOR) to expression. |
| 6508 |
|
| 6509 |
2023-04-13 Gaius Mulley <[email protected]> |
| 6510 |
|
| 6511 |
PR modula2/109488 |
| 6512 |
* lang.opt: Fix typo "maybe" to "may be". |
| 6513 |
|
| 6514 |
2023-04-13 Gaius Mulley <[email protected]> |
| 6515 |
|
| 6516 |
* gm2-compiler/M2ALU.def (PopChar): New procedure function. |
| 6517 |
* gm2-compiler/M2ALU.mod (PopChar): New procedure function. |
| 6518 |
* gm2-compiler/M2GCCDeclare.mod (PromoteToString): Detect |
| 6519 |
a single constant char and build a C string. |
| 6520 |
* gm2-compiler/M2GenGCC.mod (IsConstStr): New procedure |
| 6521 |
function. |
| 6522 |
(GetStr): New procedure function. |
| 6523 |
(FoldAdd): Use IsConstStr. |
| 6524 |
* gm2-compiler/M2Quads.mod: Formatting changes. |
| 6525 |
* gm2-gcc/m2expr.cc (m2expr_GetCstInteger): New function. |
| 6526 |
* gm2-gcc/m2expr.def (GetCstInteger): New procedure function. |
| 6527 |
* gm2-gcc/m2expr.h (m2expr_GetCstInteger): New prototype. |
| 6528 |
|
| 6529 |
2023-04-05 Gaius Mulley <[email protected]> |
| 6530 |
|
| 6531 |
PR modula2/109423 |
| 6532 |
* gm2-compiler/M2Base.def (Unbounded): Remove. |
| 6533 |
* gm2-compiler/M2Error.def (ErrorAbort0): Add noreturn |
| 6534 |
attribute. |
| 6535 |
* gm2-compiler/M2Quads.mod (BuildInclProcedure): Correct |
| 6536 |
error format string. |
| 6537 |
(BuildExceptProcedure): Correct error format string. |
| 6538 |
(BuildAdrFunction): Call PutWriteQuad when taking the |
| 6539 |
address of a variable. |
| 6540 |
* gm2-libs-ch/SysExceptions.c (_M2_SysExceptions_init): Add |
| 6541 |
parameters. |
| 6542 |
* gm2-libs-ch/wrapc.c (_M2_wrapc_init): Add parameters. |
| 6543 |
* gm2-libs/DynamicStrings.mod (DumpStringInfo): Remove t. |
| 6544 |
(PopAllocationExemption): Remove f. |
| 6545 |
* gm2-libs/FIO.mod (BufferedWrite): Remove result. |
| 6546 |
* gm2-libs/FormatStrings.mod (Copy): Remove endpos and |
| 6547 |
afterperc. |
| 6548 |
(HandlePercent): Remove result. |
| 6549 |
* gm2-libs/Indexing.mod (RemoveIndiceFromIndex): Remove k. |
| 6550 |
* gm2-libs/M2Dependent.mod (CreateModule): Remove p0 |
| 6551 |
and p1. |
| 6552 |
(DumpModuleData): Remove mptr. |
| 6553 |
(ConstructModules): Remove nulp. |
| 6554 |
* gm2-libs/RTExceptions.mod (PopHandler): Remove i. |
| 6555 |
* gm2-libs/RTint.mod (Listen): Remove b4s, b4m, afs |
| 6556 |
and afm. |
| 6557 |
* gm2-libs/SFIO.mod (ReadS): Remove c. |
| 6558 |
* gm2-libs/StringConvert.mod (doDecimalPlaces): Remove |
| 6559 |
whole and fraction. |
| 6560 |
|
| 6561 |
2023-04-03 Gaius Mulley <[email protected]> |
| 6562 |
|
| 6563 |
PR modula2/109388 |
| 6564 |
* gm2-compiler/M2GCCDeclare.mod (DoVariableDeclaration): |
| 6565 |
Remove second parameter module. Adjust all callers to |
| 6566 |
remove the second parameter. |
| 6567 |
* gm2-compiler/PHBuild.bnf (CheckAndInsert): Remove. |
| 6568 |
(InStopSet): Remove. |
| 6569 |
(PeepToken): Remove. |
| 6570 |
(PushQualident): Remove. |
| 6571 |
(SimpleDes): Remove. |
| 6572 |
(ActualParameters): Remove. |
| 6573 |
|
| 6574 |
2023-04-02 Gaius Mulley <[email protected]> |
| 6575 |
|
| 6576 |
PR modula2/109336 |
| 6577 |
* Make-lang.in (GM2_O): Set to -O0. |
| 6578 |
(GM2_LIBS): Remove target libraries and replace with build libs. |
| 6579 |
(BUILD-LIBS): New declaration. |
| 6580 |
(m2/gm2-libs/libgm2.a): New rule. |
| 6581 |
(m2/gm2-libs/%.o): New rule. |
| 6582 |
(m2/gm2-libs/choosetemp.o): New rule. |
| 6583 |
* gm2-compiler/M2ColorString.mod (append): Use ADR rather than |
| 6584 |
implicit conversion. |
| 6585 |
* gm2-compiler/M2Comp.mod (Compile): Add qprintf messages for when |
| 6586 |
a source file is not found. Improve comments and formatting. |
| 6587 |
* gm2-libs-ch/cgetopt.c (cgetopt_cgetopt_long): Remove |
| 6588 |
ansi-decl.h. Add getopt.h. |
| 6589 |
(cgetopt_cgetopt_long_only): Change cgetopt_ to getopt_. |
| 6590 |
* gm2spec.cc (lang_specific_driver): Do not skip -fmod=. |
| 6591 |
Remove comment. |
| 6592 |
|
| 6593 |
2023-03-29 Gaius Mulley <[email protected]> |
| 6594 |
|
| 6595 |
PR modula2/109336 |
| 6596 |
PR modula2/109315 |
| 6597 |
* gm2-compiler/M2FileName.mod (CalculateFileName): Simplified by |
| 6598 |
ensuring the extension contains the ".". |
| 6599 |
(CalculateStemName): Re-formatted. |
| 6600 |
(ExtractExtension): Re-formatted. |
| 6601 |
(ExtractModule): Re-formatted. |
| 6602 |
* gm2-compiler/M2Options.def (setdefextension): Add block comment. |
| 6603 |
(setmodextension): Add block comment. Re-formatted. |
| 6604 |
* gm2-compiler/M2Options.mod (setdefextension): Add block comment. |
| 6605 |
(setmodextension): Add block comment. Re-formatted. |
| 6606 |
* gm2-compiler/M2Search.mod (FindSourceDefFile): Use |
| 6607 |
DefaultDefExt. |
| 6608 |
(DefaultDefExt): New constant. |
| 6609 |
(DefaultModExt): New constant. |
| 6610 |
(FindSourceModFile): Use DefaultModExt. |
| 6611 |
* gm2-gcc/m2decl.cc (m2decl_DeclareKnownVariable): Correct |
| 6612 |
spelling. |
| 6613 |
* gm2spec.cc (M2SOURCE): New constant. |
| 6614 |
(LANGSPEC): New value. |
| 6615 |
(MATHLIB): New value. |
| 6616 |
(WITHLIBC): New value. |
| 6617 |
(SKIPOPT): New value. |
| 6618 |
(lang_specific_driver): Replace seen_module_extension bool with |
| 6619 |
module_extension char *. Detect -fmod= and remember extension. |
| 6620 |
Use the extension to detect modula-2 source and mark it as such. |
| 6621 |
|
| 6622 |
2023-03-23 Gaius Mulley <[email protected]> |
| 6623 |
|
| 6624 |
PR modula2/109264 |
| 6625 |
* gm2-compiler/M2Quads.mod (BuildConstFunctionCall): Comment |
| 6626 |
out ErrorString in debugging block. |
| 6627 |
(BuildConstructorStart): Replace Assert with a call to |
| 6628 |
MetaErrorT3. Import MetaErrorT3. |
| 6629 |
* gm2-compiler/PCSymBuild.mod (buildConstFunction): Rename |
| 6630 |
local variables. |
| 6631 |
(WalkFunctionParam): Remove test for IsEnumeration when |
| 6632 |
resolving MIN or MAX parameters. |
| 6633 |
* gm2-compiler/PHBuild.bnf (BlockAssert): New procedure. |
| 6634 |
(ErrorArrayat): New procedure. |
| 6635 |
(Expect): Renamed parameter t to tok. |
| 6636 |
(PushQualident): New rule. |
| 6637 |
(ConstSetOrQualidentOrFunction): Force AutoOn. |
| 6638 |
(TypeDeclaration): Add debugging assert. |
| 6639 |
(SimpleType): Add debugging assert. |
| 6640 |
(DefaultRecordAttributes): New rule (and bugfix). |
| 6641 |
(FieldPragmaExpression): New rule (and bugfix). |
| 6642 |
(PragmaConstExpression): New rule (and bugfix). |
| 6643 |
(SetOrDesignatorOrFunction): Add debugging assert. |
| 6644 |
(Block): Add debugging assert. |
| 6645 |
* gm2-gcc/m2expr.cc (m2expr_ConstantExpressionWarning): int |
| 6646 |
to bool. |
| 6647 |
* gm2-gcc/m2expr.h (m2expr_TreeOverflow): int to bool. |
| 6648 |
(m2expr_GetBooleanTrue): Remove. |
| 6649 |
(m2expr_GetBooleanFalse): Remove. |
| 6650 |
* gm2-gcc/m2options.h (M2Options_SetStatistics): Replace |
| 6651 |
int with bool. |
| 6652 |
|
| 6653 |
2023-03-22 Gaius Mulley <[email protected]> |
| 6654 |
|
| 6655 |
PR modula2/109248 |
| 6656 |
* Make-lang.in (m2/pge-boot/%.o): Add CFLAGS and CXXFLAGS for C |
| 6657 |
and C++ compiles. |
| 6658 |
* gm2spec.cc (add_m2_I_path): Indentation. |
| 6659 |
(lang_specific_driver): New variable seen_pathname. |
| 6660 |
Detect -fm2-pathname. If not seen then push_back_Ipath ("."). |
| 6661 |
Change non iso library path to "m2cor,m2log,m2pim,m2iso". |
| 6662 |
|
| 6663 |
2023-03-22 Gaius Mulley <[email protected]> |
| 6664 |
|
| 6665 |
PR modula2/107630 |
| 6666 |
* Make-lang.in (m2/stage2/cc1gm2$(exeext)): Remove |
| 6667 |
m2/gm2-libs-boot/M2LINK.o. |
| 6668 |
(m2/stage1/cc1gm2$(exeext)): Ditto. |
| 6669 |
(GM2-LIBS-BOOT-DEFS): Remove M2LINK.def. |
| 6670 |
(GM2-LIBS-DEFS): Ditto. |
| 6671 |
(m2/mc-boot/$(SRC_PREFIX)%.o): Replace CXX_FLAGS with CXXFLAGS. |
| 6672 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto. |
| 6673 |
(m2/mc-boot/main.o): Ditto. |
| 6674 |
(mcflex.o): Add $(CFLAGS). |
| 6675 |
(m2/gm2-libs-boot/M2LINK.o): Remove rule. |
| 6676 |
* gm2-compiler/M2GCCDeclare.def (DeclareM2linkGlobals): Remove. |
| 6677 |
* gm2-compiler/M2GCCDeclare.mod: (M2LinkEntry): Remove. |
| 6678 |
(M2LinkIndex): Remove. |
| 6679 |
(DoVariableDeclaration): Remove initial and call to |
| 6680 |
AddEntryM2Link. |
| 6681 |
(AddEntryM2Link): Remove. |
| 6682 |
(GetEntryM2Link): Remove. |
| 6683 |
(DeclareM2linkGlobals): Remove. |
| 6684 |
(DetectM2LinkInitial): Remove. |
| 6685 |
(InitM2LinkModule): Remove. |
| 6686 |
* gm2-compiler/M2GenGCC.mod (CodeFinallyEnd): Remove call to |
| 6687 |
DeclareM2linkGlobals. |
| 6688 |
* gm2-compiler/M2Quads.mod (BuildM2InitFunction): Add extra |
| 6689 |
parameter containing runtime module override to ConstructModules. |
| 6690 |
* gm2-compiler/M2Scaffold.mod: Update comment describing |
| 6691 |
ConstructModules. |
| 6692 |
* gm2-gcc/m2decl.cc (m2decl_DeclareM2linkForcedModuleInitOrder): |
| 6693 |
Remove. |
| 6694 |
* gm2-libs-iso/M2RTS.def (ConstructModules): Add overrideliborder |
| 6695 |
parameter. |
| 6696 |
* gm2-libs-iso/M2RTS.mod: Add overrideliborder parameter. |
| 6697 |
* gm2-libs/M2Dependent.def (ConstructModules): Add overrideliborder |
| 6698 |
parameter. |
| 6699 |
* gm2-libs/M2Dependent.mod (ConstructModules): Add overrideliborder |
| 6700 |
parameter. |
| 6701 |
* gm2-libs/M2RTS.def (ConstructModules): Add overrideliborder parameter. |
| 6702 |
* gm2-libs/M2RTS.mod (ConstructModules): Add overrideliborder |
| 6703 |
parameter. |
| 6704 |
* gm2-libs/M2LINK.def: Removed. |
| 6705 |
|
| 6706 |
2023-03-21 Gaius Mulley <[email protected]> |
| 6707 |
|
| 6708 |
* Make-lang.in (m2/mc-boot/$(SRC_PREFIX)%.o): Add $(CXXFLAGS). |
| 6709 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Add $(CXXFLAGS). |
| 6710 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Add $(CXXFLAGS). |
| 6711 |
(m2/mc-boot/main.o): Add $(CXXFLAGS). |
| 6712 |
|
| 6713 |
2023-03-19 Gaius Mulley <[email protected]> |
| 6714 |
|
| 6715 |
* Make-maintainer.in (gm2.maintainer-clean): Remove. |
| 6716 |
(gm2.maintainer-help): Add gm2.maintainer-tools, |
| 6717 |
gm2.maintainer-doc. Remove gm2.maintainer-clean. |
| 6718 |
Change target-independent directory to target-independent/m2. |
| 6719 |
* gm2-compiler/ppg.mod: Correct __FILE_ typo to __FILE__. |
| 6720 |
* gm2-compiler/M2Options.def (SetAutoInit): Update comment. |
| 6721 |
* gm2-compiler/M2Options.mod (SetAutoInit): Update comment. |
| 6722 |
* gm2-gcc/m2color.cc (m2color_colorize_start): Rename name_len |
| 6723 |
to _name_high. |
| 6724 |
* gm2-gcc/m2color.def (colorize_start): change ARRAY OF CHAR to |
| 6725 |
ADDRESS and add _name_high. |
| 6726 |
* gm2-gcc/m2decl.cc (m2decl_BuildStartFunctionDeclaration): Change |
| 6727 |
int to bool. |
| 6728 |
* gm2-gcc/m2decl.h (m2decl_BuildStartFunctionDeclaration): Change |
| 6729 |
int to bool. |
| 6730 |
* gm2-gcc/m2expr.cc (m2expr_BuildBinarySetDo): Change int to bool. |
| 6731 |
(m2expr_BuildIfConstInVar): Change int to bool. |
| 6732 |
(m2expr_BuildIfNotConstInVar): Change int to bool. |
| 6733 |
(m2expr_BuildIfVarInVar): Change int to bool. |
| 6734 |
(m2expr_BuildIfNotVarInVar): Change int to bool. |
| 6735 |
(m2expr_BuildForeachWordInSetDoIfExpr): Change int to bool. |
| 6736 |
* gm2-gcc/m2expr.h (m2expr_BuildIfNotVarInVar): Change int to bool. |
| 6737 |
(m2expr_BuildIfVarInVar): Change int to bool. |
| 6738 |
(m2expr_BuildIfNotConstInVar): Change int to bool. |
| 6739 |
(m2expr_BuildIfConstInVar): Change int to bool. |
| 6740 |
* gm2-gcc/m2options.h (M2Options_SetAutoInit): Change int to bool. |
| 6741 |
(M2Options_SetNilCheck): Change int to bool. |
| 6742 |
(M2Options_SetReturnCheck): Change int to bool. |
| 6743 |
(M2Options_SetCaseCheck): Change int to bool. |
| 6744 |
(M2Options_SetCheckAll): Change int to bool. |
| 6745 |
(M2Options_SetVerboseUnbounded): Change int to bool. |
| 6746 |
(M2Options_SetUnboundedByReference): Change int to bool. |
| 6747 |
(M2Options_SetOptimizing): Change int to bool. |
| 6748 |
(M2Options_SetQuiet): Change int to bool. |
| 6749 |
(M2Options_SetCpp): Change int to bool. |
| 6750 |
(M2Options_SetM2g): Change int to bool. |
| 6751 |
(M2Options_SetLowerCaseKeywords): Change int to bool. |
| 6752 |
(M2Options_SetVerbose): Change int to bool. |
| 6753 |
* gm2-gcc/m2treelib.cc (m2treelib_get_rvalue): Change int to bool. |
| 6754 |
(m2treelib_get_field_no): Change int to bool. |
| 6755 |
(m2treelib_get_set_value): Change int to bool. |
| 6756 |
(m2treelib_get_set_address): Change int to bool. |
| 6757 |
(m2treelib_get_set_address_if_var): Change int to bool. |
| 6758 |
* gm2-gcc/m2treelib.def (get_set_address_if_var): Change int to bool. |
| 6759 |
(get_set_address): Change int to bool. |
| 6760 |
(get_set_value): Change int to bool. |
| 6761 |
(get_field_no): Change int to bool. |
| 6762 |
(get_rvalue): Change int to bool. |
| 6763 |
* gm2-gcc/m2treelib.h (m2treelib_get_field_no): Change int to bool. |
| 6764 |
(m2treelib_get_set_value): Change int to bool. |
| 6765 |
(m2treelib_get_set_address): Change int to bool. |
| 6766 |
(m2treelib_get_set_address_if_var): Change int to bool. |
| 6767 |
* gm2-gcc/m2type.cc (m2type_BuildEndFunctionType): Change int to bool. |
| 6768 |
* gm2-gcc/m2type.h (m2type_BuildEndFunctionType): Change int to bool. |
| 6769 |
* gm2-libs-ch/dtoa.cc (dtoa_calcsign): Change int to bool. |
| 6770 |
* gm2-libs-ch/ldtoa.cc (dtoa_calcsign): Change int to bool. |
| 6771 |
(ldtoa_ldtoa): Change int to bool. |
| 6772 |
* m2.flex (functionInfo): Change int to bool. |
| 6773 |
(pushFunction): Change parameter from int to bool. |
| 6774 |
* mc-boot/GDebug.cc (Debug_Halt): Rebuild. |
| 6775 |
* mc-boot/GDebug.h (Debug_Halt): Rebuild. |
| 6776 |
* mc-boot/GDynamicStrings.cc: Rebuild. |
| 6777 |
* mc-boot/GDynamicStrings.h: Rebuild. |
| 6778 |
* mc-boot/GFIO.cc: Rebuild. |
| 6779 |
* mc-boot/GM2RTS.cc: Rebuild. |
| 6780 |
* mc-boot/GM2RTS.h: Rebuild. |
| 6781 |
* mc-boot/GPushBackInput.cc: Rebuild. |
| 6782 |
* mc-boot/GRTExceptions.cc: Rebuild. |
| 6783 |
* mc-boot/GRTint.cc: Rebuild. |
| 6784 |
* mc-boot/GSysStorage.cc: Rebuild. |
| 6785 |
* mc-boot/Gdecl.cc: Rebuild. |
| 6786 |
* mc-boot/GsymbolKey.cc: Rebuild. |
| 6787 |
* mc/symbolKey.mod: Rebuild. |
| 6788 |
* target-independent/m2/Builtins.texi: Rebuild. |
| 6789 |
* target-independent/m2/SYSTEM-iso.texi: Rebuild. |
| 6790 |
* target-independent/m2/SYSTEM-pim.texi: Rebuild. |
| 6791 |
* target-independent/m2/gm2-libs.texi: Rebuild. |
| 6792 |
* tools-src/def2doc.py (PIM_Log): Change gm2-libs-pim to |
| 6793 |
gm2-lib-log. |
| 6794 |
|
| 6795 |
2023-03-17 Gaius Mulley <[email protected]> |
| 6796 |
|
| 6797 |
PR modula2/109032 |
| 6798 |
* gm2-gcc/m2expr.cc: Correct ? : order in comments. |
| 6799 |
(m2expr_BuildDivM2): Improve comment. |
| 6800 |
* lang.opt: Improve option descriptions. |
| 6801 |
|
| 6802 |
2023-03-17 Gaius Mulley <[email protected]> |
| 6803 |
|
| 6804 |
PR modula2/109102 |
| 6805 |
* gm2-gcc/m2builtins.cc (ASSERT): Change format specifier to |
| 6806 |
use %qs rather than quotes. |
| 6807 |
|
| 6808 |
2023-03-17 Gaius Mulley <[email protected]> |
| 6809 |
|
| 6810 |
* gm2-compiler/M2AsmUtil.mod (SymNeedsModulePrefix): |
| 6811 |
Re-implemented. |
| 6812 |
* gm2-libs/SysStorage.mod (enableTrace): Disable tracing. |
| 6813 |
|
| 6814 |
2023-03-16 Gaius Mulley <[email protected]> |
| 6815 |
|
| 6816 |
* gm2-compiler/SymbolKey.mod (PutSymKey): Halt parameters |
| 6817 |
reordered. |
| 6818 |
(DelSymKey): Ditto. |
| 6819 |
* gm2-compiler/ppg.mod (GetEpsilon): Ditto. |
| 6820 |
(GetReachEnd): Ditto. |
| 6821 |
(GetFollow): Ditto. |
| 6822 |
(CodeCondition): Ditto. |
| 6823 |
(CodeThenDo): Ditto. |
| 6824 |
(CodeEnd): Ditto. |
| 6825 |
(RecoverCondition): Ditto. |
| 6826 |
(ConditionIndent): Ditto. |
| 6827 |
* gm2-libs-ch/m2rts.h (M2RTS_Halt): Ditto. |
| 6828 |
* gm2-libs-coroutines/Executive.mod (Assert): Ditto. |
| 6829 |
(Resume): Remove redundant comments. |
| 6830 |
(Wait): Remove redundant comments. |
| 6831 |
* gm2-libs-coroutines/SYSTEM.mod (TRANSFER): Halt parameters |
| 6832 |
reordered. |
| 6833 |
(IOTransferHandler): Ditto. |
| 6834 |
(Finished): Ditto. |
| 6835 |
(localInit): Ditto. |
| 6836 |
* gm2-libs-coroutines/TimerHandler.mod (WaitOn): Halt parameters |
| 6837 |
reordered. |
| 6838 |
(Cancel): Ditto. |
| 6839 |
(ReArmEvent): Ditto. |
| 6840 |
(OnActiveQueue): Ditto. |
| 6841 |
* gm2-libs-iso/COROUTINES.mod (NEWCOROUTINE): Ditto. |
| 6842 |
(Transfer): Ditto. |
| 6843 |
(IOTRANSFER): Ditto. |
| 6844 |
* gm2-libs-iso/EXCEPTIONS.mod (RAISE): Correct Halt parameters. |
| 6845 |
* gm2-libs-iso/M2RTS.def (Halt): Halt parameters reordered. |
| 6846 |
(HaltC): Ditto. |
| 6847 |
* gm2-libs-iso/M2RTS.mod: Ditto. |
| 6848 |
* gm2-libs-iso/RTentity.mod (PutKey): Ditto. |
| 6849 |
(DelKey): Ditto. |
| 6850 |
(findChildAndParent): Ditto. |
| 6851 |
(assert): Ditto. |
| 6852 |
* gm2-libs-iso/Storage.mod (ALLOCATE): Add DebugTrace. |
| 6853 |
Add UseMallocFree test. |
| 6854 |
(DEALLOCATE): Add DebugTrace. Add UseMallocFree test. |
| 6855 |
(assert): Halt parameters reordered. |
| 6856 |
* gm2-libs-log/Termbase.mod (Read): Ditto. |
| 6857 |
(KeyPressed): Ditto. |
| 6858 |
(Write): Ditto. |
| 6859 |
(Init): Ditto. |
| 6860 |
* gm2-libs/Debug.def (Halt): Halt parameters reordered. |
| 6861 |
* gm2-libs/Debug.mod (Halt): Ditto. |
| 6862 |
* gm2-libs/DynamicStrings.def (PopAllocation): Improve comment. |
| 6863 |
* gm2-libs/DynamicStrings.mod (PopAllocation): Improve comment. |
| 6864 |
Halt parameters reordered. |
| 6865 |
* gm2-libs/M2RTS.def (Halt): Ditto. |
| 6866 |
(HaltC): Ditto. |
| 6867 |
* gm2-libs/M2RTS.mod (Halt): Ditto. |
| 6868 |
(HaltC): Ditto. |
| 6869 |
* gm2-libs/PushBackInput.mod (PutStr): Ditto. |
| 6870 |
(PutString): Ditto. |
| 6871 |
(PutCh): Ditto. |
| 6872 |
* gm2-libs/RTExceptions.mod (GetBaseExceptionBlock): Ditto. |
| 6873 |
* gm2-libs/RTint.mod (ReArmTimeVector): Ditto. |
| 6874 |
(GetTimeVector): Ditto. |
| 6875 |
(AttachVector): Ditto. |
| 6876 |
(IncludeVector): Ditto. |
| 6877 |
(Listen): Ditto. |
| 6878 |
* gm2-libs/SysStorage.mod (ALLOCATE): Ditto. |
| 6879 |
(DEALLOCATE): Ditto. |
| 6880 |
(REALLOCATE): Ditto. |
| 6881 |
* gm2-libs-coroutines/Debug.def: Removed. |
| 6882 |
* gm2-libs-coroutines/Debug.mod: Removed. |
| 6883 |
|
| 6884 |
2023-03-16 Gaius Mulley <[email protected]> |
| 6885 |
|
| 6886 |
* Make-lang.in: Rename target-independent to |
| 6887 |
target-independent/m2. |
| 6888 |
* target-independent/readme.txt: Update. |
| 6889 |
* target-independent/m2/gm2-ebnf.texi: New file. |
| 6890 |
* target-independent/m2/gpl_v3_without_node.texi: New file. |
| 6891 |
* target-independent/Builtins.texi: Rename ... |
| 6892 |
* target-independent/m2/Builtins.texi: ... to this. |
| 6893 |
* target-independent/SYSTEM-iso.texi: Rename ... |
| 6894 |
* target-independent/m2/SYSTEM-iso.texi: ... to this. |
| 6895 |
* target-independent/SYSTEM-pim.texi: Rename ... |
| 6896 |
* target-independent/m2/SYSTEM-pim.texi: ... to this. |
| 6897 |
* target-independent/gm2-libs.texi: Rename ... |
| 6898 |
* target-independent/m2/gm2-libs.texi: ... to this. |
| 6899 |
|
| 6900 |
2023-03-15 Gaius Mulley <[email protected]> |
| 6901 |
|
| 6902 |
PR modula2/109125 |
| 6903 |
* gm2-libs-ch/dtoa.cc (dtoa_strtod): Replace int with bool. |
| 6904 |
* gm2-libs-ch/ldtoa.cc (ldtoa_strtold): Replace int with bool. |
| 6905 |
|
| 6906 |
2023-03-14 Gaius Mulley <[email protected]> |
| 6907 |
|
| 6908 |
PR modula2/109125 |
| 6909 |
* gm2-libs-ch/cgetopt.c (cgetopt_SetOption): Replace int |
| 6910 |
for bool. |
| 6911 |
* gm2-libs-ch/termios.c (doSetUnset): Replace int for bool. |
| 6912 |
* gm2-libs/Builtins.mod (isfinitef): Correct typo in return |
| 6913 |
statement. |
| 6914 |
|
| 6915 |
2023-03-13 Gaius Mulley <[email protected]> |
| 6916 |
|
| 6917 |
PR modula2/109103 |
| 6918 |
* gm2-compiler/M2ALU.def (PushString): New parameter issueError. |
| 6919 |
* gm2-compiler/M2ALU.mod (PushString): New parameter issueError. |
| 6920 |
* gm2-compiler/SymbolTable.mod (PushString): New parameter issueError. |
| 6921 |
* gm2-gcc/m2decl.cc (m2decl_DetermineSizeOfConstant): Pass |
| 6922 |
location to interpret_m2_integer. |
| 6923 |
(m2decl_BuildConstLiteralNumber): New parameter issueError. |
| 6924 |
* gm2-gcc/m2expr.cc (m2expr_IsTrue): Replace int with bool. |
| 6925 |
(m2expr_IsFalse): Replace int with bool. |
| 6926 |
(m2expr_AreConstantsEqual): Replace int with bool. |
| 6927 |
(m2expr_BuildBinaryForeachWordDo): Call m2linemap_internal_error_at. |
| 6928 |
(append_digit): Ditto. |
| 6929 |
(m2expr_interpret_integer): Add location parameter. |
| 6930 |
(append_m2_digit): Call m2linemap_internal_error_at. |
| 6931 |
(m2expr_interpret_m2_integer): Add location parameter. |
| 6932 |
(m2expr_GetSizeOf): Replace sizeof with SIZE in error message. |
| 6933 |
* gm2-gcc/m2expr.h (m2expr_AreRealOrComplexConstantsEqual): |
| 6934 |
Replace int with bool. |
| 6935 |
(m2expr_AreConstantsEqual): Ditto. |
| 6936 |
(m2expr_IsFalse): Ditto. |
| 6937 |
(m2expr_IsTrue): Ditto. |
| 6938 |
(m2expr_interpret_integer): Add location parameter. |
| 6939 |
(m2expr_interpret_m2_integer): Add location parameter. |
| 6940 |
* gm2-gcc/m2linemap.cc (mformat_value): New function. |
| 6941 |
(expand_format): New function. |
| 6942 |
(expand_message): New function. |
| 6943 |
(gm2_internal_error_at): New function. |
| 6944 |
(m2linemap_internal_error_at): New function. |
| 6945 |
* gm2-gcc/m2linemap.h (m2linemap_internal_error_at): New function. |
| 6946 |
* gm2-gcc/m2options.h (M2Options_SetISO): Replace int with bool. |
| 6947 |
(M2Options_SetPIM): Ditto. |
| 6948 |
(M2Options_SetPIM2): Ditto. |
| 6949 |
(M2Options_SetPIM3): Ditto. |
| 6950 |
(M2Options_SetPIM4): Ditto. |
| 6951 |
(M2Options_SetFloatValueCheck): Ditto. |
| 6952 |
(M2Options_SetWholeValueCheck): Ditto. |
| 6953 |
(M2Options_GetISO): Ditto. |
| 6954 |
(M2Options_GetPIM): Ditto. |
| 6955 |
(M2Options_GetPIM2): Ditto. |
| 6956 |
(M2Options_GetPIM3): Ditto. |
| 6957 |
(M2Options_GetPIM4): Ditto. |
| 6958 |
(M2Options_GetPositiveModFloor): Ditto. |
| 6959 |
(M2Options_GetFloatValueCheck): Ditto. |
| 6960 |
(M2Options_GetWholeValueCheck): Ditto. |
| 6961 |
(M2Options_Setc): Ditto. |
| 6962 |
(M2Options_Getc): Ditto. |
| 6963 |
(M2Options_SetPPOnly): Ditto. |
| 6964 |
(M2Options_GetPPOnly): Ditto. |
| 6965 |
(M2Options_SetUselist): Ditto. |
| 6966 |
(M2Options_SetAutoInit): Ditto. |
| 6967 |
(M2Options_SetPositiveModFloor): Ditto. |
| 6968 |
(M2Options_SetNilCheck): Ditto. |
| 6969 |
(M2Options_SetWholeDiv): Ditto. |
| 6970 |
(M2Options_SetIndex): Ditto. |
| 6971 |
(M2Options_SetRange): Ditto. |
| 6972 |
(M2Options_SetReturnCheck): Ditto. |
| 6973 |
(M2Options_SetCaseCheck): Ditto. |
| 6974 |
(M2Options_SetCheckAll): Ditto. |
| 6975 |
(M2Options_SetExceptions): Ditto. |
| 6976 |
(M2Options_SetStyle): Ditto. |
| 6977 |
(M2Options_SetPedantic): Ditto. |
| 6978 |
(M2Options_SetPedanticParamNames): Ditto. |
| 6979 |
(M2Options_SetPedanticCast): Ditto. |
| 6980 |
(M2Options_SetExtendedOpaque): Ditto. |
| 6981 |
(M2Options_SetVerboseUnbounded): Ditto. |
| 6982 |
(M2Options_SetXCode): Ditto. |
| 6983 |
(M2Options_SetCompilerDebugging): Ditto. |
| 6984 |
(M2Options_SetQuadDebugging): Ditto. |
| 6985 |
(M2Options_SetDebugTraceQuad): Ditto. |
| 6986 |
(M2Options_SetDebugTraceAPI): Ditto. |
| 6987 |
(M2Options_SetSources): Ditto. |
| 6988 |
(M2Options_SetUnboundedByReference): Ditto. |
| 6989 |
(M2Options_SetDumpSystemExports): Ditto. |
| 6990 |
(M2Options_SetOptimizing): Ditto. |
| 6991 |
(M2Options_SetQuiet): Ditto. |
| 6992 |
(M2Options_SetCC1Quiet): Ditto. |
| 6993 |
(M2Options_SetCpp): Ditto. |
| 6994 |
(M2Options_SetSwig): Ditto. |
| 6995 |
(M2Options_SetWholeProgram): Ditto. |
| 6996 |
(M2Options_SetDebugFunctionLineNumbers): Ditto. |
| 6997 |
(M2Options_SetGenerateStatementNote): Ditto. |
| 6998 |
(M2Options_GetCpp): Ditto. |
| 6999 |
(M2Options_GetM2g): Ditto. |
| 7000 |
(M2Options_SetM2g): Ditto. |
| 7001 |
(M2Options_SetLowerCaseKeywords): Ditto. |
| 7002 |
(M2Options_SetVerbose): Ditto. |
| 7003 |
(M2Options_SetUnusedVariableChecking): Ditto. |
| 7004 |
(M2Options_SetUnusedParameterChecking): Ditto. |
| 7005 |
(M2Options_SetStrictTypeChecking): Ditto. |
| 7006 |
(M2Options_SetWall): Ditto. |
| 7007 |
(M2Options_SetSaveTemps): Ditto. |
| 7008 |
(M2Options_GetSaveTemps): Ditto. |
| 7009 |
(M2Options_SetScaffoldStatic): Ditto. |
| 7010 |
(M2Options_SetScaffoldDynamic): Ditto. |
| 7011 |
(M2Options_SetScaffoldMain): Ditto. |
| 7012 |
(M2Options_SetGenModuleList): Ditto. |
| 7013 |
(M2Options_SetShared): Ditto. |
| 7014 |
* gm2-libs-ch/M2LINK.c: Ditto. |
| 7015 |
* gm2-libs-ch/m2rts.h (M2RTS_RequestDependant): Replace |
| 7016 |
const char * with const void *. |
| 7017 |
(M2RTS_RegisterModule): Ditto. |
| 7018 |
(M2RTS_ConstructModules): Ditto. |
| 7019 |
* gm2-gcc/m2decl.def (DetermineSizeOfConstant): New parameter |
| 7020 |
issueError. |
| 7021 |
* gm2-gcc/m2decl.h (DetermineSizeOfConstant): New parameter |
| 7022 |
issueError. |
| 7023 |
|
| 7024 |
2023-03-12 Gaius Mulley <[email protected]> |
| 7025 |
|
| 7026 |
PR modula2/109089 |
| 7027 |
* gm2-compiler/M2GCCDeclare.mod (DeclareKnownType): Import. |
| 7028 |
* gm2-gcc/gcc-consolidation.h (stdbool.h): Include. |
| 7029 |
* gm2-gcc/init.h (defined): Change block start. |
| 7030 |
* gm2-gcc/m2block.cc: Change FALSE to false, change TRUE to true. |
| 7031 |
* gm2-gcc/m2block.h: Change int to bool. |
| 7032 |
* gm2-gcc/m2builtins.cc: Ditto. |
| 7033 |
* gm2-gcc/m2builtins.h: Ditto. |
| 7034 |
* gm2-gcc/m2convert.cc: Change FALSE to false, TRUE to true and |
| 7035 |
int to bool. |
| 7036 |
* gm2-gcc/m2convert.h: Change int to bool. |
| 7037 |
* gm2-gcc/m2decl.cc: Change int to bool. |
| 7038 |
* gm2-gcc/m2decl.h: Change int to bool. |
| 7039 |
* gm2-gcc/m2expr.cc: Change FALSE to false, TRUE to true and |
| 7040 |
int to bool. |
| 7041 |
* gm2-gcc/m2expr.h: Change int to bool. |
| 7042 |
* gm2-gcc/m2statement.cc: Change FALSE to false, TRUE to true and |
| 7043 |
int to bool. |
| 7044 |
* gm2-gcc/m2statement.h: Change int to bool. |
| 7045 |
* gm2-gcc/m2top.cc: Change int to bool. |
| 7046 |
* gm2-gcc/m2top.h: Change int to bool. |
| 7047 |
* gm2-gcc/m2tree.cc: Change int to bool. |
| 7048 |
* gm2-gcc/m2tree.h: Change int to bool. |
| 7049 |
* gm2-gcc/m2type.cc: Change int to bool. |
| 7050 |
* gm2-gcc/m2type.h: Change int to bool. |
| 7051 |
* gm2-lang.cc (convert_loc): Call convert_to_integer for BOOLEAN_TYPE. |
| 7052 |
* gm2-libs/Builtins.def (isfinitef): Change return value from |
| 7053 |
BOOLEAN to INTEGER. |
| 7054 |
(isfinite): Ditto. |
| 7055 |
(isfinitel): Ditto. |
| 7056 |
* gm2-libs/Builtins.mod (isfinitef): Change return value from |
| 7057 |
BOOLEAN to INTEGER. |
| 7058 |
(isfinite): Ditto. |
| 7059 |
(isfinitel): Ditto. |
| 7060 |
* mc-boot/GASCII.cc: Rebuild. |
| 7061 |
* mc-boot/GASCII.h: Rebuild. |
| 7062 |
* mc-boot/GArgs.cc: Rebuild. |
| 7063 |
* mc-boot/GArgs.h: Rebuild. |
| 7064 |
* mc-boot/GAssertion.cc: Rebuild. |
| 7065 |
* mc-boot/GAssertion.h: Rebuild. |
| 7066 |
* mc-boot/GBreak.cc: Rebuild. |
| 7067 |
* mc-boot/GBreak.h: Rebuild. |
| 7068 |
* mc-boot/GCOROUTINES.h: Rebuild. |
| 7069 |
* mc-boot/GCmdArgs.cc: Rebuild. |
| 7070 |
* mc-boot/GCmdArgs.h: Rebuild. |
| 7071 |
* mc-boot/GDebug.cc: Rebuild. |
| 7072 |
* mc-boot/GDebug.h: Rebuild. |
| 7073 |
* mc-boot/GDynamicStrings.cc: Rebuild. |
| 7074 |
* mc-boot/GDynamicStrings.h: Rebuild. |
| 7075 |
* mc-boot/GEnvironment.cc: Rebuild. |
| 7076 |
* mc-boot/GEnvironment.h: Rebuild. |
| 7077 |
* mc-boot/GFIO.cc: Rebuild. |
| 7078 |
* mc-boot/GFIO.h: Rebuild. |
| 7079 |
* mc-boot/GFormatStrings.cc: Rebuild. |
| 7080 |
* mc-boot/GFormatStrings.h: Rebuild. |
| 7081 |
* mc-boot/GFpuIO.cc: Rebuild. |
| 7082 |
* mc-boot/GFpuIO.h: Rebuild. |
| 7083 |
* mc-boot/GIO.cc: Rebuild. |
| 7084 |
* mc-boot/GIO.h: Rebuild. |
| 7085 |
* mc-boot/GIndexing.cc: Rebuild. |
| 7086 |
* mc-boot/GIndexing.h: Rebuild. |
| 7087 |
* mc-boot/GM2Dependent.cc: Rebuild. |
| 7088 |
* mc-boot/GM2Dependent.h: Rebuild. |
| 7089 |
* mc-boot/GM2EXCEPTION.cc: Rebuild. |
| 7090 |
* mc-boot/GM2EXCEPTION.h: Rebuild. |
| 7091 |
* mc-boot/GM2LINK.h: Rebuild. |
| 7092 |
* mc-boot/GM2RTS.cc: Rebuild. |
| 7093 |
* mc-boot/GM2RTS.h: Rebuild. |
| 7094 |
* mc-boot/GMemUtils.cc: Rebuild. |
| 7095 |
* mc-boot/GMemUtils.h: Rebuild. |
| 7096 |
* mc-boot/GNumberIO.cc: Rebuild. |
| 7097 |
* mc-boot/GNumberIO.h: Rebuild. |
| 7098 |
* mc-boot/GPushBackInput.cc: Rebuild. |
| 7099 |
* mc-boot/GPushBackInput.h: Rebuild. |
| 7100 |
* mc-boot/GRTExceptions.cc: Rebuild. |
| 7101 |
* mc-boot/GRTExceptions.h: Rebuild. |
| 7102 |
* mc-boot/GRTco.h: Rebuild. |
| 7103 |
* mc-boot/GRTentity.h: Rebuild. |
| 7104 |
* mc-boot/GRTint.cc: Rebuild. |
| 7105 |
* mc-boot/GRTint.h: Rebuild. |
| 7106 |
* mc-boot/GSArgs.cc: Rebuild. |
| 7107 |
* mc-boot/GSArgs.h: Rebuild. |
| 7108 |
* mc-boot/GSFIO.cc: Rebuild. |
| 7109 |
* mc-boot/GSFIO.h: Rebuild. |
| 7110 |
* mc-boot/GSYSTEM.h: Rebuild. |
| 7111 |
* mc-boot/GSelective.h: Rebuild. |
| 7112 |
* mc-boot/GStdIO.cc: Rebuild. |
| 7113 |
* mc-boot/GStdIO.h: Rebuild. |
| 7114 |
* mc-boot/GStorage.cc: Rebuild. |
| 7115 |
* mc-boot/GStorage.h: Rebuild. |
| 7116 |
* mc-boot/GStrCase.cc: Rebuild. |
| 7117 |
* mc-boot/GStrCase.h: Rebuild. |
| 7118 |
* mc-boot/GStrIO.cc: Rebuild. |
| 7119 |
* mc-boot/GStrIO.h: Rebuild. |
| 7120 |
* mc-boot/GStrLib.cc: Rebuild. |
| 7121 |
* mc-boot/GStrLib.h: Rebuild. |
| 7122 |
* mc-boot/GStringConvert.cc: Rebuild. |
| 7123 |
* mc-boot/GStringConvert.h: Rebuild. |
| 7124 |
* mc-boot/GSysExceptions.h: Rebuild. |
| 7125 |
* mc-boot/GSysStorage.cc: Rebuild. |
| 7126 |
* mc-boot/GSysStorage.h: Rebuild. |
| 7127 |
* mc-boot/GTimeString.cc: Rebuild. |
| 7128 |
* mc-boot/GTimeString.h: Rebuild. |
| 7129 |
* mc-boot/GUnixArgs.h: Rebuild. |
| 7130 |
* mc-boot/Galists.cc: Rebuild. |
| 7131 |
* mc-boot/Galists.h: Rebuild. |
| 7132 |
* mc-boot/Gdecl.cc: Rebuild. |
| 7133 |
* mc-boot/Gdecl.h: Rebuild. |
| 7134 |
* mc-boot/Gdtoa.h: Rebuild. |
| 7135 |
* mc-boot/Gerrno.h: Rebuild. |
| 7136 |
* mc-boot/Gkeyc.cc: Rebuild. |
| 7137 |
* mc-boot/Gkeyc.h: Rebuild. |
| 7138 |
* mc-boot/Gldtoa.h: Rebuild. |
| 7139 |
* mc-boot/Glibc.h: Rebuild. |
| 7140 |
* mc-boot/Glibm.h: Rebuild. |
| 7141 |
* mc-boot/Glists.cc: Rebuild. |
| 7142 |
* mc-boot/Glists.h: Rebuild. |
| 7143 |
* mc-boot/GmcComment.cc: Rebuild. |
| 7144 |
* mc-boot/GmcComment.h: Rebuild. |
| 7145 |
* mc-boot/GmcComp.cc: Rebuild. |
| 7146 |
* mc-boot/GmcComp.h: Rebuild. |
| 7147 |
* mc-boot/GmcDebug.cc: Rebuild. |
| 7148 |
* mc-boot/GmcDebug.h: Rebuild. |
| 7149 |
* mc-boot/GmcError.cc: Rebuild. |
| 7150 |
* mc-boot/GmcError.h: Rebuild. |
| 7151 |
* mc-boot/GmcFileName.cc: Rebuild. |
| 7152 |
* mc-boot/GmcFileName.h: Rebuild. |
| 7153 |
* mc-boot/GmcLexBuf.cc: Rebuild. |
| 7154 |
* mc-boot/GmcLexBuf.h: Rebuild. |
| 7155 |
* mc-boot/GmcMetaError.cc: Rebuild. |
| 7156 |
* mc-boot/GmcMetaError.h: Rebuild. |
| 7157 |
* mc-boot/GmcOptions.cc: Rebuild. |
| 7158 |
* mc-boot/GmcOptions.h: Rebuild. |
| 7159 |
* mc-boot/GmcPreprocess.cc: Rebuild. |
| 7160 |
* mc-boot/GmcPreprocess.h: Rebuild. |
| 7161 |
* mc-boot/GmcPretty.cc: Rebuild. |
| 7162 |
* mc-boot/GmcPretty.h: Rebuild. |
| 7163 |
* mc-boot/GmcPrintf.cc: Rebuild. |
| 7164 |
* mc-boot/GmcPrintf.h: Rebuild. |
| 7165 |
* mc-boot/GmcQuiet.cc: Rebuild. |
| 7166 |
* mc-boot/GmcQuiet.h: Rebuild. |
| 7167 |
* mc-boot/GmcReserved.cc: Rebuild. |
| 7168 |
* mc-boot/GmcReserved.h: Rebuild. |
| 7169 |
* mc-boot/GmcSearch.cc: Rebuild. |
| 7170 |
* mc-boot/GmcSearch.h: Rebuild. |
| 7171 |
* mc-boot/GmcStack.cc: Rebuild. |
| 7172 |
* mc-boot/GmcStack.h: Rebuild. |
| 7173 |
* mc-boot/GmcStream.cc: Rebuild. |
| 7174 |
* mc-boot/GmcStream.h: Rebuild. |
| 7175 |
* mc-boot/Gmcflex.h: Rebuild. |
| 7176 |
* mc-boot/Gmcp1.cc: Rebuild. |
| 7177 |
* mc-boot/Gmcp1.h: Rebuild. |
| 7178 |
* mc-boot/Gmcp2.cc: Rebuild. |
| 7179 |
* mc-boot/Gmcp2.h: Rebuild. |
| 7180 |
* mc-boot/Gmcp3.cc: Rebuild. |
| 7181 |
* mc-boot/Gmcp3.h: Rebuild. |
| 7182 |
* mc-boot/Gmcp4.cc: Rebuild. |
| 7183 |
* mc-boot/Gmcp4.h: Rebuild. |
| 7184 |
* mc-boot/Gmcp5.cc: Rebuild. |
| 7185 |
* mc-boot/Gmcp5.h: Rebuild. |
| 7186 |
* mc-boot/GnameKey.cc: Rebuild. |
| 7187 |
* mc-boot/GnameKey.h: Rebuild. |
| 7188 |
* mc-boot/GsymbolKey.cc: Rebuild. |
| 7189 |
* mc-boot/GsymbolKey.h: Rebuild. |
| 7190 |
* mc-boot/Gtermios.h: Rebuild. |
| 7191 |
* mc-boot/Gtop.cc: Rebuild. |
| 7192 |
* mc-boot/Gvarargs.cc: Rebuild. |
| 7193 |
* mc-boot/Gvarargs.h: Rebuild. |
| 7194 |
* mc-boot/Gwlists.cc: Rebuild. |
| 7195 |
* mc-boot/Gwlists.h: Rebuild. |
| 7196 |
* mc-boot/Gwrapc.h: Rebuild. |
| 7197 |
* mc/decl.mod (doBoolC): New procedure. |
| 7198 |
(doBaseC): Call doBoolC. |
| 7199 |
* mc/keyc.mod: Import useBool. |
| 7200 |
(genBool): New procedure. |
| 7201 |
(genDefs): Call genBool. |
| 7202 |
* mc/mcOptions.def (useBool): New procedure. |
| 7203 |
* mc/mcOptions.mod (useBool): New procedure. |
| 7204 |
(useBoolType): New variable. |
| 7205 |
(optionIs): Assign useBoolType to TRUE. |
| 7206 |
|
| 7207 |
2023-03-04 Gaius Mulley <[email protected]> |
| 7208 |
|
| 7209 |
* mc-boot-ch/GBuiltins.cc: New file. |
| 7210 |
* mc-boot-ch/Gdtoa.cc: New file. |
| 7211 |
* mc-boot-ch/Gerrno.cc: New file. |
| 7212 |
* mc-boot-ch/Gldtoa.cc: New file. |
| 7213 |
* mc-boot-ch/Gm2rtsdummy.cc: New file. |
| 7214 |
* mc-boot/GASCII.cc: New file. |
| 7215 |
* mc-boot/GArgs.cc: New file. |
| 7216 |
* mc-boot/GAssertion.cc: New file. |
| 7217 |
* mc-boot/GBreak.cc: New file. |
| 7218 |
* mc-boot/GCmdArgs.cc: New file. |
| 7219 |
* mc-boot/GDebug.cc: New file. |
| 7220 |
* mc-boot/GDynamicStrings.cc: New file. |
| 7221 |
* mc-boot/GEnvironment.cc: New file. |
| 7222 |
* mc-boot/GFIO.cc: New file. |
| 7223 |
* mc-boot/GFormatStrings.cc: New file. |
| 7224 |
* mc-boot/GFpuIO.cc: New file. |
| 7225 |
* mc-boot/GIO.cc: New file. |
| 7226 |
* mc-boot/GIndexing.cc: New file. |
| 7227 |
* mc-boot/GM2Dependent.cc: New file. |
| 7228 |
* mc-boot/GM2EXCEPTION.cc: New file. |
| 7229 |
* mc-boot/GM2RTS.cc: New file. |
| 7230 |
* mc-boot/GMemUtils.cc: New file. |
| 7231 |
* mc-boot/GNumberIO.cc: New file. |
| 7232 |
* mc-boot/GPushBackInput.cc: New file. |
| 7233 |
* mc-boot/GRTExceptions.cc: New file. |
| 7234 |
* mc-boot/GRTint.cc: New file. |
| 7235 |
* mc-boot/GSArgs.cc: New file. |
| 7236 |
* mc-boot/GSFIO.cc: New file. |
| 7237 |
* mc-boot/GStdIO.cc: New file. |
| 7238 |
* mc-boot/GStorage.cc: New file. |
| 7239 |
* mc-boot/GStrCase.cc: New file. |
| 7240 |
* mc-boot/GStrIO.cc: New file. |
| 7241 |
* mc-boot/GStrLib.cc: New file. |
| 7242 |
* mc-boot/GStringConvert.cc: New file. |
| 7243 |
* mc-boot/GSysStorage.cc: New file. |
| 7244 |
* mc-boot/GTimeString.cc: New file. |
| 7245 |
* mc-boot/Galists.cc: New file. |
| 7246 |
* mc-boot/Gdecl.cc: New file. |
| 7247 |
* mc-boot/Gkeyc.cc: New file. |
| 7248 |
* mc-boot/Glists.cc: New file. |
| 7249 |
* mc-boot/GmcComment.cc: New file. |
| 7250 |
* mc-boot/GmcComp.cc: New file. |
| 7251 |
* mc-boot/GmcDebug.cc: New file. |
| 7252 |
* mc-boot/GmcError.cc: New file. |
| 7253 |
* mc-boot/GmcFileName.cc: New file. |
| 7254 |
* mc-boot/GmcLexBuf.cc: New file. |
| 7255 |
* mc-boot/GmcMetaError.cc: New file. |
| 7256 |
* mc-boot/GmcOptions.cc: New file. |
| 7257 |
* mc-boot/GmcPreprocess.cc: New file. |
| 7258 |
* mc-boot/GmcPretty.cc: New file. |
| 7259 |
* mc-boot/GmcPrintf.cc: New file. |
| 7260 |
* mc-boot/GmcQuiet.cc: New file. |
| 7261 |
* mc-boot/GmcReserved.cc: New file. |
| 7262 |
* mc-boot/GmcSearch.cc: New file. |
| 7263 |
* mc-boot/GmcStack.cc: New file. |
| 7264 |
* mc-boot/GmcStream.cc: New file. |
| 7265 |
* mc-boot/Gmcp1.cc: New file. |
| 7266 |
* mc-boot/Gmcp2.cc: New file. |
| 7267 |
* mc-boot/Gmcp3.cc: New file. |
| 7268 |
* mc-boot/Gmcp4.cc: New file. |
| 7269 |
* mc-boot/Gmcp5.cc: New file. |
| 7270 |
* mc-boot/GnameKey.cc: New file. |
| 7271 |
* mc-boot/GsymbolKey.cc: New file. |
| 7272 |
* mc-boot/Gtop.cc: New file. |
| 7273 |
* mc-boot/Gvarargs.cc: New file. |
| 7274 |
* mc-boot/Gwlists.cc: New file. |
| 7275 |
* pge-boot/GASCII.cc: New file. |
| 7276 |
* pge-boot/GArgs.cc: New file. |
| 7277 |
* pge-boot/GAssertion.cc: New file. |
| 7278 |
* pge-boot/GBuiltins.cc: New file. |
| 7279 |
* pge-boot/GDebug.cc: New file. |
| 7280 |
* pge-boot/GDynamicStrings.cc: New file. |
| 7281 |
* pge-boot/GFIO.cc: New file. |
| 7282 |
* pge-boot/GIO.cc: New file. |
| 7283 |
* pge-boot/GIndexing.cc: New file. |
| 7284 |
* pge-boot/GLists.cc: New file. |
| 7285 |
* pge-boot/GM2Dependent.cc: New file. |
| 7286 |
* pge-boot/GM2EXCEPTION.cc: New file. |
| 7287 |
* pge-boot/GM2LINK.cc: New file. |
| 7288 |
* pge-boot/GM2RTS.cc: New file. |
| 7289 |
* pge-boot/GNameKey.cc: New file. |
| 7290 |
* pge-boot/GNumberIO.cc: New file. |
| 7291 |
* pge-boot/GOutput.cc: New file. |
| 7292 |
* pge-boot/GPushBackInput.cc: New file. |
| 7293 |
* pge-boot/GRTExceptions.cc: New file. |
| 7294 |
* pge-boot/GRTco.cc: New file. |
| 7295 |
* pge-boot/GSFIO.cc: New file. |
| 7296 |
* pge-boot/GSYSTEM.cc: New file. |
| 7297 |
* pge-boot/GSelective.cc: New file. |
| 7298 |
* pge-boot/GStdIO.cc: New file. |
| 7299 |
* pge-boot/GStorage.cc: New file. |
| 7300 |
* pge-boot/GStrCase.cc: New file. |
| 7301 |
* pge-boot/GStrIO.cc: New file. |
| 7302 |
* pge-boot/GStrLib.cc: New file. |
| 7303 |
* pge-boot/GSymbolKey.cc: New file. |
| 7304 |
* pge-boot/GSysExceptions.cc: New file. |
| 7305 |
* pge-boot/GSysStorage.cc: New file. |
| 7306 |
* pge-boot/Gabort.cc: New file. |
| 7307 |
* pge-boot/Gbnflex.cc: New file. |
| 7308 |
* pge-boot/Gcbuiltin.cc: New file. |
| 7309 |
* pge-boot/Gdtoa.cc: New file. |
| 7310 |
* pge-boot/Gerrno.cc: New file. |
| 7311 |
* pge-boot/Gldtoa.cc: New file. |
| 7312 |
* pge-boot/Glibc.cc: New file. |
| 7313 |
* pge-boot/Glibm.cc: New file. |
| 7314 |
* pge-boot/Gmcrts.cc: New file. |
| 7315 |
* pge-boot/Gpge.cc: New file. |
| 7316 |
* pge-boot/Gwrapc.cc: New file. |
| 7317 |
* pge-boot/main.cc: New file. |
| 7318 |
* pge-boot/network.cc: New file. |
| 7319 |
|
| 7320 |
2023-03-04 Gaius Mulley <[email protected]> |
| 7321 |
|
| 7322 |
* Make-lang.in (MC-LIB-BOOT-C): Rename to MC-LIB-BOOT-CC. |
| 7323 |
(MC-BOOT-C): Rename to MC-BOOT-CC. |
| 7324 |
(BUILD-MC-BOOT-C): Rename to BUILD-MC-BOOT-CC. |
| 7325 |
(BUILD-MC-BOOT-AUTO-C): Rename to BUILD-MC-BOOT-AUTO-CC. |
| 7326 |
(m2/mc-boot/$(SRC_PREFIX)%.o): Change source file extension to .cc. |
| 7327 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto. |
| 7328 |
* Make-maintainer.in (m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Change |
| 7329 |
source file extension to .cc. |
| 7330 |
(m2/gm2-ppg-boot/main.o): Ditto. |
| 7331 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Ditto. |
| 7332 |
to .cc. |
| 7333 |
(m2/gm2-pg-boot/main.o): Ditto. |
| 7334 |
(m2/gm2-pge-boot/$(SRC_PREFIX)ldtoa.o): Ditto. |
| 7335 |
(m2/gm2-pge-boot/$(SRC_PREFIX)dtoa.o): Ditto. |
| 7336 |
(m2/gm2-pge-boot/$(SRC_PREFIX)errno.o): Ditto. |
| 7337 |
(m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): Ditto. |
| 7338 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto. |
| 7339 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto. |
| 7340 |
(m2/gm2-pge-boot/$(SRC_PREFIX)pge.o): Ditto. |
| 7341 |
(m2/gm2-pge-boot/main.o): Ditto. |
| 7342 |
(mc-push): Ditto. |
| 7343 |
(mc-clean): Ditto. |
| 7344 |
(mc-stage2): Ditto. |
| 7345 |
((objdir)/m2/mc-boot-gen): Ditto. |
| 7346 |
(m2/mc-boot-gen/$(SRC_PREFIX)decl.c): Ditto. |
| 7347 |
(m2/mc-boot-gen/$(SRC_PREFIX)%.c): Ditto. |
| 7348 |
* mc-boot-ch/GBuiltins.c: Correct comment and rename. |
| 7349 |
* mc-boot-ch/Gdtoa.c: Correct comment and rename. |
| 7350 |
* mc-boot-ch/Gldtoa.c: Correct comment and rename |
| 7351 |
* mc-boot-ch/Gtermios.cc: Rename from Gtermios.c. |
| 7352 |
* mc-boot-ch/Gerrno.c: Rename. |
| 7353 |
* mc-boot-ch/GRTco.c: Removed. |
| 7354 |
* mc-boot/GASCII.c: Rename to mc-boot/GASCII.cc. |
| 7355 |
* mc-boot/GArgs.c: Rename to mc-boot/GArgs.cc. |
| 7356 |
* mc-boot/GAssertion.c: Rename to mc-boot/GAssertion.cc. |
| 7357 |
* mc-boot/GBreak.c: Rename to mc-boot/GBreak.cc. |
| 7358 |
* mc-boot/GCmdArgs.c: Rename to mc-boot/GCmdArgs.cc. |
| 7359 |
* mc-boot/GDebug.c: Rename to mc-boot/GDebug.cc. |
| 7360 |
* mc-boot/GDynamicStrings.c: Rename to mc-boot/GDynamicStrings.cc. |
| 7361 |
* mc-boot/GEnvironment.c: Rename to mc-boot/GEnvironment.cc. |
| 7362 |
* mc-boot/GFIO.c: Rename to mc-boot/GFIO.cc. |
| 7363 |
* mc-boot/GFormatStrings.c: Rename to mc-boot/GFormatStrings.cc. |
| 7364 |
* mc-boot/GFpuIO.c: Rename to mc-boot/GFpuIO.cc. |
| 7365 |
* mc-boot/GIO.c: Rename to mc-boot/GIO.cc. |
| 7366 |
* mc-boot/GIndexing.c: Rename to mc-boot/GIndexing.cc. |
| 7367 |
* mc-boot/GM2Dependent.c: Rename to mc-boot/GM2Dependent.cc. |
| 7368 |
* mc-boot/GM2EXCEPTION.c: Rename to mc-boot/GM2EXCEPTION.cc. |
| 7369 |
* mc-boot/GM2RTS.c: Rename to mc-boot/GM2RTS.cc. |
| 7370 |
* mc-boot/GMemUtils.c: Rename to mc-boot/GMemUtils.cc. |
| 7371 |
* mc-boot/GNumberIO.c: Rename to mc-boot/GNumberIO.cc. |
| 7372 |
* mc-boot/GPushBackInput.c: Rename to mc-boot/GPushBackInput.cc. |
| 7373 |
* mc-boot/GRTExceptions.c: Rename to mc-boot/GRTExceptions.cc. |
| 7374 |
* mc-boot/GRTint.c: Rename to mc-boot/GRTint.cc. |
| 7375 |
* mc-boot/GSArgs.c: Rename to mc-boot/GSArgs.cc. |
| 7376 |
* mc-boot/GSFIO.c: Rename to mc-boot/GSFIO.cc. |
| 7377 |
* mc-boot/GStdIO.c: Rename to mc-boot/GStdIO.cc. |
| 7378 |
* mc-boot/GStorage.c: Rename to mc-boot/GStorage.cc. |
| 7379 |
* mc-boot/GStrCase.c: Rename to mc-boot/GStrCase.cc. |
| 7380 |
* mc-boot/GStrIO.c: Rename to mc-boot/GStrIO.cc. |
| 7381 |
* mc-boot/GStrLib.c: Rename to mc-boot/GStrLib.cc. |
| 7382 |
* mc-boot/GStringConvert.c: Rename to mc-boot/GStringConvert.cc. |
| 7383 |
* mc-boot/GSysStorage.c: Rename to mc-boot/GSysStorage.cc. |
| 7384 |
* mc-boot/GTimeString.c: Rename to mc-boot/GTimeString.cc. |
| 7385 |
* mc-boot/Galists.c: Rename to mc-boot/Galists.cc. |
| 7386 |
* mc-boot/Gdecl.c: Rename to mc-boot/Gdecl.cc. |
| 7387 |
* mc-boot/Gkeyc.c: Rename to mc-boot/Gkeyc.cc. |
| 7388 |
* mc-boot/Glists.c: Rename to mc-boot/Glists.cc. |
| 7389 |
* mc-boot/GmcComment.c: Rename to mc-boot/GmcComment.cc. |
| 7390 |
* mc-boot/GmcComp.c: Rename to mc-boot/GmcComp.cc. |
| 7391 |
* mc-boot/GmcDebug.c: Rename to mc-boot/GmcDebug.cc. |
| 7392 |
* mc-boot/GmcError.c: Rename to mc-boot/GmcError.cc. |
| 7393 |
* mc-boot/GmcFileName.c: Rename to mc-boot/GmcFileName.cc. |
| 7394 |
* mc-boot/GmcLexBuf.c: Rename to mc-boot/GmcLexBuf.cc. |
| 7395 |
* mc-boot/GmcMetaError.c: Rename to mc-boot/GmcMetaError.cc. |
| 7396 |
* mc-boot/GmcOptions.c: Rename to mc-boot/GmcOptions.cc. |
| 7397 |
* mc-boot/GmcPreprocess.c: Rename to mc-boot/GmcPreprocess.cc. |
| 7398 |
* mc-boot/GmcPretty.c: Rename to mc-boot/GmcPretty.cc. |
| 7399 |
* mc-boot/GmcPrintf.c: Rename to mc-boot/GmcPrintf.cc. |
| 7400 |
* mc-boot/GmcQuiet.c: Rename to mc-boot/GmcQuiet.cc. |
| 7401 |
* mc-boot/GmcReserved.c: Rename to mc-boot/GmcReserved.cc. |
| 7402 |
* mc-boot/GmcSearch.c: Rename to mc-boot/GmcSearch.cc. |
| 7403 |
* mc-boot/GmcStack.c: Rename to mc-boot/GmcStack.cc. |
| 7404 |
* mc-boot/GmcStream.c: Rename to mc-boot/GmcStream.cc. |
| 7405 |
* mc-boot/Gmcp1.c: Rename to mc-boot/Gmcp1.cc. |
| 7406 |
* mc-boot/Gmcp2.c: Rename to mc-boot/Gmcp2.cc. |
| 7407 |
* mc-boot/Gmcp3.c: Rename to mc-boot/Gmcp3.cc. |
| 7408 |
* mc-boot/Gmcp4.c: Rename to mc-boot/Gmcp4.cc. |
| 7409 |
* mc-boot/Gmcp5.c: Rename to mc-boot/Gmcp5.cc. |
| 7410 |
* mc-boot/GnameKey.c: Rename to mc-boot/GnameKey.cc. |
| 7411 |
* mc-boot/GsymbolKey.c: Rename to mc-boot/GsymbolKey.cc. |
| 7412 |
* mc-boot/Gtop.c: Rename to mc-boot/Gtop.cc. |
| 7413 |
* mc-boot/Gvarargs.c: Rename to mc-boot/Gvarargs.cc. |
| 7414 |
* mc-boot/Gwlists.c: Rename to mc-boot/Gwlists.cc. |
| 7415 |
* pge-boot/GASCII.c: Rename to pge-boot/GASCII.cc. |
| 7416 |
* pge-boot/GArgs.c: Rename to pge-boot/GArgs.cc. |
| 7417 |
* pge-boot/GAssertion.c: Rename to pge-boot/GAssertion.cc. |
| 7418 |
* pge-boot/GBuiltins.c: Rename to pge-boot/GBuiltins.cc. |
| 7419 |
* pge-boot/GDebug.c: Rename to pge-boot/GDebug.cc. |
| 7420 |
* pge-boot/GDynamicStrings.c: Rename to pge-boot/GDynamicStrings.cc. |
| 7421 |
* pge-boot/GFIO.c: Rename to pge-boot/GFIO.cc. |
| 7422 |
* pge-boot/GIO.c: Rename to pge-boot/GIO.cc. |
| 7423 |
* pge-boot/GIndexing.c: Rename to pge-boot/GIndexing.cc. |
| 7424 |
* pge-boot/GLists.c: Rename to pge-boot/GLists.cc. |
| 7425 |
* pge-boot/GM2Dependent.c: Rename to pge-boot/GM2Dependent.cc. |
| 7426 |
* pge-boot/GM2EXCEPTION.c: Rename to pge-boot/GM2EXCEPTION.cc. |
| 7427 |
* pge-boot/GM2LINK.c: Rename to pge-boot/GM2LINK.cc. |
| 7428 |
* pge-boot/GM2RTS.c: Rename to pge-boot/GM2RTS.cc. |
| 7429 |
* pge-boot/GNameKey.c: Rename to pge-boot/GNameKey.cc. |
| 7430 |
* pge-boot/GNumberIO.c: Rename to pge-boot/GNumberIO.cc. |
| 7431 |
* pge-boot/GOutput.c: Rename to pge-boot/GOutput.cc. |
| 7432 |
* pge-boot/GPushBackInput.c: Rename to pge-boot/GPushBackInput.cc. |
| 7433 |
* pge-boot/GRTExceptions.c: Rename to pge-boot/GRTExceptions.cc. |
| 7434 |
* pge-boot/GRTco.c: Rename to pge-boot/GRTco.cc. |
| 7435 |
* pge-boot/GSFIO.c: Rename to pge-boot/GSFIO.cc. |
| 7436 |
* pge-boot/GSYSTEM.c: Rename to pge-boot/GSYSTEM.cc. |
| 7437 |
* pge-boot/GSelective.c: Rename to pge-boot/GSelective.cc. |
| 7438 |
* pge-boot/GStdIO.c: Rename to pge-boot/GStdIO.cc. |
| 7439 |
* pge-boot/GStorage.c: Rename to pge-boot/GStorage.cc. |
| 7440 |
* pge-boot/GStrCase.c: Rename to pge-boot/GStrCase.cc. |
| 7441 |
* pge-boot/GStrIO.c: Rename to pge-boot/GStrIO.cc. |
| 7442 |
* pge-boot/GStrLib.c: Rename to pge-boot/GStrLib.cc. |
| 7443 |
* pge-boot/GSymbolKey.c: Rename to pge-boot/GSymbolKey.cc. |
| 7444 |
* pge-boot/GSysExceptions.c: Rename to pge-boot/GSysExceptions.cc. |
| 7445 |
* pge-boot/GSysStorage.c: Rename to pge-boot/GSysStorage.cc. |
| 7446 |
* pge-boot/Gabort.c: Rename to pge-boot/Gabort.cc. |
| 7447 |
* pge-boot/Gbnflex.c: Rename to pge-boot/Gbnflex.cc. |
| 7448 |
* pge-boot/Gcbuiltin.c: Rename to pge-boot/Gcbuiltin.cc. |
| 7449 |
* pge-boot/Gdtoa.c: Rename to pge-boot/Gdtoa.cc. |
| 7450 |
* pge-boot/Gerrno.c: Rename to pge-boot/Gerrno.cc. |
| 7451 |
* pge-boot/Gldtoa.c: Rename to pge-boot/Gldtoa.cc. |
| 7452 |
* pge-boot/Glibc.c: Rename to pge-boot/Glibc.cc. |
| 7453 |
* pge-boot/Glibm.c: Rename to pge-boot/Glibm.cc. |
| 7454 |
* pge-boot/Gmcrts.c: Rename to pge-boot/Gmcrts.cc. |
| 7455 |
* pge-boot/Gpge.c: Rename to pge-boot/Gpge.cc. |
| 7456 |
* pge-boot/Gwrapc.c: Rename to pge-boot/Gwrapc.cc. |
| 7457 |
* pge-boot/README: Correct description. |
| 7458 |
* pge-boot/main.c: Rename to pge-boot/main.cc. |
| 7459 |
* pge-boot/network.c: Rename to pge-boot/network.cc. |
| 7460 |
|
| 7461 |
2023-02-28 Gaius Mulley <[email protected]> |
| 7462 |
|
| 7463 |
PR modula2/108956 |
| 7464 |
* Make-lang.in (m2/gm2-libs-boot/M2RTS.o): New specific rule to |
| 7465 |
add the --suppress-noreturn option. |
| 7466 |
* Make-maintainer.in (m2/gm2-ppg-boot/$(SRC_PREFIX)M2RTS.o): New |
| 7467 |
specific rule to add the --suppress-noreturn option. |
| 7468 |
(m2/gm2-pg-boot/$(SRC_PREFIX)M2RTS.o): New |
| 7469 |
specific rule to add the --suppress-noreturn option. |
| 7470 |
(m2/gm2-pg-boot/$(SRC_PREFIX)%.o): Add missing $(srcdir). |
| 7471 |
(m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): New |
| 7472 |
specific rule to add the --suppress-noreturn option. |
| 7473 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Add missing $(srcdir). |
| 7474 |
* gm2-libs-ch/UnixArgs.cc (LIBNAME): New define. |
| 7475 |
(_M2_UnixArgs_ctor): Add LIBNAME parameter to RegisterModule. |
| 7476 |
* gm2-libs-ch/dtoa.cc (LIBNAME): New define. |
| 7477 |
(_M2_dtoa_ctor): Add LIBNAME parameter to RegisterModule. |
| 7478 |
* gm2-libs-ch/ldtoa.cc (LIBNAME): New define. |
| 7479 |
(_M2_ldtoa_ctor): Add LIBNAME parameter to RegisterModule. |
| 7480 |
* pge-boot/m2rts.h (M2RTS_RegisterModule): Add libname |
| 7481 |
parameter. |
| 7482 |
* gm2-libs-ch/m2rts.h (M2RTS_RegisterModule): Add libname |
| 7483 |
parameter. |
| 7484 |
* mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_ctor): Remove. |
| 7485 |
* pge-boot/GUnixArgs.cc (LIBNAME): New define. |
| 7486 |
(_M2_UnixArgs_ctor): Add LIBNAME parameter to RegisterModule. |
| 7487 |
* gm2-libs/RTint.def (AttachVector): Rename parameter. |
| 7488 |
* mc-boot/GDynamicStrings.c: Rebuilt. |
| 7489 |
* mc-boot/GFIO.c: Rebuilt. |
| 7490 |
* mc-boot/GIndexing.c: Rebuilt. |
| 7491 |
* mc-boot/GM2EXCEPTION.c: Rebuilt. |
| 7492 |
* mc-boot/GPushBackInput.c: Rebuilt. |
| 7493 |
* mc-boot/GRTExceptions.c: Rebuilt. |
| 7494 |
* mc-boot/GRTint.c: Rebuilt. |
| 7495 |
* mc-boot/GRTint.h: Rebuilt. |
| 7496 |
* mc-boot/GStdIO.c: Rebuilt. |
| 7497 |
* mc-boot/GStringConvert.c: Rebuilt. |
| 7498 |
* mc-boot/GSysStorage.c: Rebuilt. |
| 7499 |
* mc-boot/Gdecl.c: Rebuilt. |
| 7500 |
* mc-boot/Gkeyc.c: Rebuilt. |
| 7501 |
* mc-boot/GmcComment.c: Rebuilt. |
| 7502 |
* mc-boot/GmcComp.c: Rebuilt. |
| 7503 |
* mc-boot/GmcDebug.c: Rebuilt. |
| 7504 |
* mc-boot/GmcMetaError.c: Rebuilt. |
| 7505 |
* mc-boot/GmcOptions.c: Rebuilt. |
| 7506 |
* mc-boot/GmcOptions.h: Rebuilt. |
| 7507 |
* mc-boot/GmcStack.c: Rebuilt. |
| 7508 |
* mc-boot/GnameKey.c: Rebuilt. |
| 7509 |
* mc-boot/GsymbolKey.c: Rebuilt. |
| 7510 |
* mc/decl.mod:: Rebuilt. |
| 7511 |
* mc/mcOptions.def: Rebuilt. |
| 7512 |
* mc/mcOptions.mod:: Rebuilt. |
| 7513 |
* pge-boot/GDynamicStrings.c: Rebuilt. |
| 7514 |
* pge-boot/GFIO.c: Rebuilt. |
| 7515 |
* pge-boot/GIndexing.c: Rebuilt. |
| 7516 |
* pge-boot/GM2EXCEPTION.c: Rebuilt. |
| 7517 |
* pge-boot/GM2RTS.c: Rebuilt. |
| 7518 |
* pge-boot/GNameKey.c: Rebuilt. |
| 7519 |
* pge-boot/GPushBackInput.c: Rebuilt. |
| 7520 |
* pge-boot/GRTExceptions.c: Rebuilt. |
| 7521 |
* pge-boot/GStdIO.c: Rebuilt. |
| 7522 |
* pge-boot/GSymbolKey.c: Rebuilt. |
| 7523 |
* pge-boot/GSysStorage.c: Rebuilt. |
| 7524 |
|
| 7525 |
2023-02-25 Gaius Mulley <[email protected]> |
| 7526 |
|
| 7527 |
PR modula2/108261 |
| 7528 |
* Make-lang.in (GM2-COMP-BOOT-DEFS): DynamicStringPath.def |
| 7529 |
remove. DynamicPath.def add. |
| 7530 |
(GM2-COMP-BOOT-MODS): DynamicStringPath.mod remove. |
| 7531 |
DynamicPath.mod add. |
| 7532 |
* Make-maintainer.in (BUILD-BOOT-PPG-H): New dependency. |
| 7533 |
(m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): $(BUILD-BOOT-PPG-H) Add |
| 7534 |
dependency. |
| 7535 |
(PGE-DEF): New definition. |
| 7536 |
(BUILD-BOOT-PG-H): New dependency. |
| 7537 |
(m2/gm2-pg-boot/$(SRC_PREFIX)%.o): $(BUILD-BOOT-PG-H) Add |
| 7538 |
dependency. |
| 7539 |
(BUILD-BOOT-PGE-H): New dependency. |
| 7540 |
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): $(BUILD-BOOT-PGE-H) Add |
| 7541 |
dependency. |
| 7542 |
(GM2PATH): Add pathname entries. |
| 7543 |
(m2/boot-bin/mc-devel$(exeext)): Add m2/mc-boot-ch/Gm2rtsdummy.o |
| 7544 |
dependency. |
| 7545 |
(m2/boot-bin/mc-opt$(exeext)): Fix -I path. |
| 7546 |
* gm2-compiler/DynamicStringPath.def: Renamed module to |
| 7547 |
DynamicPath. |
| 7548 |
(GetUserPath): Remove. |
| 7549 |
(GetSystemPath): Remove. |
| 7550 |
(SetUserPath): Remove. |
| 7551 |
(SetSystemPath): Remove. |
| 7552 |
(DumpPath): New procedure definition. |
| 7553 |
* gm2-compiler/DynamicStringPath.mod: Renamed module to |
| 7554 |
DynamicPath. |
| 7555 |
(GetUserPath): Remove. |
| 7556 |
(GetSystemPath): Remove. |
| 7557 |
(SetUserPath): Remove. |
| 7558 |
(SetSystemPath): Remove. |
| 7559 |
(DumpPath): Remove Debugging conditional. |
| 7560 |
* gm2-compiler/M2AsmUtil.mod: Import EqualArray, NulName and |
| 7561 |
GetLibName. |
| 7562 |
(Debugging): New declaration. |
| 7563 |
(GetFullSymName): Re-implemented to prefix (mange) libname |
| 7564 |
to any extern variable/procedure which is IsExportQualified. |
| 7565 |
* gm2-compiler/M2Comp.mod (qprintLibName): New procedure. |
| 7566 |
* gm2-compiler/M2Graph.mod (resolveImports): Add libname. |
| 7567 |
* gm2-compiler/M2Options.def (SetM2Prefix): New procedure. |
| 7568 |
(GetM2Prefix): New procedure function. |
| 7569 |
(SetM2PathName): New procedure. |
| 7570 |
(GetM2PathName): New procedure function. |
| 7571 |
* gm2-compiler/M2Options.mod: (SetM2Prefix): New procedure implemented. |
| 7572 |
(GetM2Prefix): New procedure function implemented. |
| 7573 |
(SetM2PathName): New procedure implemented. |
| 7574 |
(GetM2PathName): New procedure function implemented. |
| 7575 |
(RuntimeModuleOverride): Set to DefaultRuntimeModuleOverride. |
| 7576 |
* gm2-compiler/M2Quads.mod: Import GetLibName. |
| 7577 |
(SafeRequestSym) Pass result of GetLibName to RequestDependant. |
| 7578 |
(callRequestDependant): Add libname as a parameter. |
| 7579 |
(BuildM2InitFunction): Add libname as a parameter. |
| 7580 |
(BuildM2FiniFunction): Add libname as a parameter. |
| 7581 |
(BuildM2CtorFunction): Add libname as a parameter. |
| 7582 |
* gm2-compiler/M2Scaffold.mod (LookupModuleSym): Set LibName |
| 7583 |
if a definition source was found. |
| 7584 |
* gm2-compiler/M2Search.def (FindSourceFile): Add named library parameter. |
| 7585 |
(FindSourceDefFile): Add named library parameter. |
| 7586 |
(FindSourceModFile): Add named library parameter. |
| 7587 |
* gm2-compiler/M2Search.mod (FindSourceFile): Reimplement. |
| 7588 |
(FindSourceDefFile): Add named library parameter. |
| 7589 |
(FindSourceModFile): Add named library parameter. |
| 7590 |
* gm2-compiler/SymbolTable.def (MakeProcedureCtorExtern): Add |
| 7591 |
libname parameter. |
| 7592 |
(PutLibName): New procedure. |
| 7593 |
(GetLibName): New procedure function. |
| 7594 |
* gm2-compiler/SymbolTable.mod (MakeProcedureCtorExtern): Add |
| 7595 |
libname parameter. |
| 7596 |
(GenName): Add libname parameter. |
| 7597 |
(InitCtorFields): Add moduleSym as a parameter. |
| 7598 |
(PutCtorExtern): Add libname parameter to GenName. |
| 7599 |
* gm2-gcc/init.cc (_M2_DynamicStringPath_init): Rename function... |
| 7600 |
(_M2_DynamicPath_init): ...to this. |
| 7601 |
(_M2_PathName_init): Added. |
| 7602 |
* gm2-gcc/m2decl.cc (m2decl_DeclareM2linkStaticInitialization): |
| 7603 |
Add m2pim as the manged component of the exported symbol. |
| 7604 |
(m2decl_DeclareM2linkForcedModuleInitOrder): Add m2pim mangle prefix. |
| 7605 |
* gm2-gcc/m2options.h (M2Options_SetM2Prefix): New function. |
| 7606 |
(M2Options_GetM2Prefix): New function. |
| 7607 |
(M2Options_SetM2PathName): New function. |
| 7608 |
(M2Options_GetM2PathName): New function. |
| 7609 |
* gm2-lang.cc (push_back_Ipath): New function. |
| 7610 |
(add_one_import_path): New function. |
| 7611 |
(gm2_langhook_handle_option): Record -I component. Call |
| 7612 |
SetM2PathName when -fm2-pathname= is seen. Record -fm2-pathnameI |
| 7613 |
component. Call SetM2Prefix when -fm2-prefix= is seen. |
| 7614 |
(gm2_langhook_post_options): Iterative over pathname entries |
| 7615 |
and call SetM2PathName, SetSearchPath as appropriate. |
| 7616 |
* gm2-libs-iso/M2RTS.def (ConstructModules): Add libname parameter. |
| 7617 |
(DeconstructModules): Add libname parameter. |
| 7618 |
(RegisterModule): Add libname parameter. |
| 7619 |
(RequestDependant): Add libname parameter. |
| 7620 |
* gm2-libs-iso/M2RTS.mod (ConstructModules): Add libname parameter. |
| 7621 |
(DeconstructModules): Add libname parameter. |
| 7622 |
(RegisterModule): Add libname parameter. |
| 7623 |
(RequestDependant): Add libname parameter. |
| 7624 |
* gm2-libs-min/M2RTS.def (ConstructModules): Add libname parameter. |
| 7625 |
(DeconstructModules): Add libname parameter. |
| 7626 |
(RegisterModule): Add libname parameter. |
| 7627 |
(RequestDependant): Add libname parameter. |
| 7628 |
* gm2-libs-min/M2RTS.mod (ConstructModules): Add libname parameter. |
| 7629 |
(DeconstructModules): Add libname parameter. |
| 7630 |
(RegisterModule): Add libname parameter. |
| 7631 |
(RequestDependant): Add libname parameter. |
| 7632 |
* gm2-libs/M2Dependent.def (ConstructModules): Add libname parameter. |
| 7633 |
(DeconstructModules): Add libname parameter. |
| 7634 |
(RegisterModule): Add libname parameter. |
| 7635 |
(RequestDependant): Add libname parameter. |
| 7636 |
* gm2-libs/M2Dependent.mod (ConstructModules): Add libname parameter. |
| 7637 |
(DeconstructModules): Add libname parameter. |
| 7638 |
(RegisterModule): Add libname parameter. |
| 7639 |
(RequestDependant): Add libname parameter. |
| 7640 |
* gm2-libs/M2RTS.def (ConstructModules): Add libname parameter. |
| 7641 |
(DeconstructModules): Add libname parameter. |
| 7642 |
(RegisterModule): Add libname parameter. |
| 7643 |
(RequestDependant): Add libname parameter. |
| 7644 |
* gm2-libs/M2RTS.mod (ConstructModules): Add libname parameter. |
| 7645 |
(DeconstructModules): Add libname parameter. |
| 7646 |
(RegisterModule): Add libname parameter. |
| 7647 |
(RequestDependant): Add libname parameter. |
| 7648 |
* gm2-libs/RTint.mod (FindVector): Rename variables. |
| 7649 |
(initInputVector): Rename variables. |
| 7650 |
(initOutputVector): Rename variables. |
| 7651 |
(InitTimeVector): Rename variables. |
| 7652 |
(FindVectorNo): Rename variables. |
| 7653 |
(FindPendingVector): Rename variables. |
| 7654 |
(ReArmTimeVector): Rename variables. |
| 7655 |
(GetTimeVector): Rename variables. |
| 7656 |
(AttachVector): Rename variables. |
| 7657 |
(AttachVector): Rename variables. |
| 7658 |
(IncludeVector): Rename variables. |
| 7659 |
(ExcludeVector): Rename variables. |
| 7660 |
(AddFd): Rename variables. |
| 7661 |
(AddFd): Rename variables. |
| 7662 |
(DumpPendingQueue): Rename variables. |
| 7663 |
(stop): Remove. |
| 7664 |
(activatePending): Rename variables. |
| 7665 |
(Listen): Rename variables. |
| 7666 |
* gm2-libs/libc.def (snprintf): New function. |
| 7667 |
* gm2-libs/sckt.def: Change all exported identifiers to be |
| 7668 |
export qualified. |
| 7669 |
* gm2spec.cc (push_back_Ipath): New function. |
| 7670 |
(add_m2_I_path): New function. |
| 7671 |
(lang_specific_driver): Skip -fm2-pathname= and remember pathname. |
| 7672 |
Skip -I and record the path and current pathname. Call add_m2_I_path. |
| 7673 |
* lang-specs.h: Replace %{I*} with %{fm2-pathname*}. |
| 7674 |
* lang.opt (-fm2-pathname=): New entry. |
| 7675 |
(-fm2-pathname): New entry. |
| 7676 |
(-fm2-prefix=): New entry. |
| 7677 |
* mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_dep): New function. |
| 7678 |
(_M2_UnixArgs_ctor::_M2_UnixArgs_ctor): New method. |
| 7679 |
* mc-boot-ch/Glibc.c (libc_snprintf): New function. |
| 7680 |
* mc-boot-ch/m2rts.h (M2RTS_RequestDependant): Changed prototype. |
| 7681 |
(M2RTS_RegisterModule): Changed prototype. |
| 7682 |
* mc-boot/GDynamicStrings.c: Rebuild. |
| 7683 |
* mc-boot/GFIO.c: Rebuild. |
| 7684 |
* mc-boot/GIndexing.c: Rebuild. |
| 7685 |
* mc-boot/GM2Dependent.c: Rebuild. |
| 7686 |
* mc-boot/GM2Dependent.h: Rebuild. |
| 7687 |
* mc-boot/GM2EXCEPTION.c: Rebuild. |
| 7688 |
* mc-boot/GM2RTS.c: Rebuild. |
| 7689 |
* mc-boot/GM2RTS.h: Rebuild. |
| 7690 |
* mc-boot/GPushBackInput.c: Rebuild. |
| 7691 |
* mc-boot/GRTExceptions.c: Rebuild. |
| 7692 |
* mc-boot/GRTint.c: Rebuild. |
| 7693 |
* mc-boot/GStdIO.c: Rebuild. |
| 7694 |
* mc-boot/GStringConvert.c: Rebuild. |
| 7695 |
* mc-boot/GSysStorage.c: Rebuild. |
| 7696 |
* mc-boot/Gdecl.c: Rebuild. |
| 7697 |
* mc-boot/Gkeyc.c: Rebuild. |
| 7698 |
* mc-boot/Glibc.h: Rebuild. |
| 7699 |
* mc-boot/GmcComment.c: Rebuild. |
| 7700 |
* mc-boot/GmcComp.c: Rebuild. |
| 7701 |
* mc-boot/GmcDebug.c: Rebuild. |
| 7702 |
* mc-boot/GmcMetaError.c: Rebuild. |
| 7703 |
* mc-boot/GmcStack.c: Rebuild. |
| 7704 |
* mc-boot/GnameKey.c: Rebuild. |
| 7705 |
* mc-boot/GsymbolKey.c: Rebuild. |
| 7706 |
* pge-boot/GASCII.c: Rebuild. |
| 7707 |
* pge-boot/GArgs.c: Rebuild. |
| 7708 |
* pge-boot/GAssertion.c: Rebuild. |
| 7709 |
* pge-boot/GDebug.c: Rebuild. |
| 7710 |
* pge-boot/GDynamicStrings.c: Rebuild. |
| 7711 |
* pge-boot/GFIO.c: Rebuild. |
| 7712 |
* pge-boot/GIO.c: Rebuild. |
| 7713 |
* pge-boot/GIndexing.c: Rebuild. |
| 7714 |
* pge-boot/GLists.c: Rebuild. |
| 7715 |
* pge-boot/GM2Dependent.c: Rebuild. |
| 7716 |
* pge-boot/GM2Dependent.h: Rebuild. |
| 7717 |
* pge-boot/GM2EXCEPTION.c: Rebuild. |
| 7718 |
* pge-boot/GM2RTS.c: Rebuild. |
| 7719 |
* pge-boot/GM2RTS.h: Rebuild. |
| 7720 |
* pge-boot/GNameKey.c: Rebuild. |
| 7721 |
* pge-boot/GNumberIO.c: Rebuild. |
| 7722 |
* pge-boot/GOutput.c: Rebuild. |
| 7723 |
* pge-boot/GPushBackInput.c: Rebuild. |
| 7724 |
* pge-boot/GRTExceptions.c: Rebuild. |
| 7725 |
* pge-boot/GSFIO.c: Rebuild. |
| 7726 |
* pge-boot/GStdIO.c: Rebuild. |
| 7727 |
* pge-boot/GStorage.c: Rebuild. |
| 7728 |
* pge-boot/GStrCase.c: Rebuild. |
| 7729 |
* pge-boot/GStrIO.c: Rebuild. |
| 7730 |
* pge-boot/GStrLib.c: Rebuild. |
| 7731 |
* pge-boot/GSymbolKey.c: Rebuild. |
| 7732 |
* pge-boot/GSysExceptions.c (_M2_SysExceptions_finish): Rename this... |
| 7733 |
(_M2_SysExceptions_fini): ... to this. |
| 7734 |
* pge-boot/GSysStorage.c: Rebuild. |
| 7735 |
(_M2_SysStorage_finish): Rename this... |
| 7736 |
(_M2_SysStorage_fini): ... to this. |
| 7737 |
* pge-boot/GUnixArgs.cc: New file. |
| 7738 |
* pge-boot/Gbnflex.c (_M2_bnflex_finish): Rename this... |
| 7739 |
(_M2_bnflex_fini): ... to this. |
| 7740 |
* pge-boot/Gerrno.c (_M2_errno_finish): Rename this... |
| 7741 |
(_M2_errno_fini): ... to this. |
| 7742 |
* pge-boot/Glibc.c (libc_snprintf): New function. |
| 7743 |
* pge-boot/Glibc.h (libc_snprintf): New prototype. |
| 7744 |
* pge-boot/Gpge.c (_M2_pge_finish): Rename this... |
| 7745 |
(_M2_pge_fini): ... to this. |
| 7746 |
* pge-boot/Gtermios.cc (_M2_termios_finish): Rename this... |
| 7747 |
(_M2_termios_fini): ... to this. |
| 7748 |
* pge-boot/main.c (_M2_RTExceptions_finish): Rename this... |
| 7749 |
(_M2_RTExceptions_fini): ... to this. |
| 7750 |
(_M2_M2EXCEPTION_finish): Rename this... |
| 7751 |
(_M2_M2EXCEPTION_fini): ... to this. |
| 7752 |
(_M2_M2RTS_finish): Rename this... |
| 7753 |
(_M2_M2RTS_fini): ... to this. |
| 7754 |
(_M2_SysExceptions_finish): Rename this... |
| 7755 |
(_M2_SysExceptions_fini): ... to this. |
| 7756 |
(_M2_StrLib_finish): Rename this... |
| 7757 |
(_M2_StrLib_fini): ... to this. |
| 7758 |
(_M2_errno_finish): Rename this... |
| 7759 |
(_M2_errno_fini): ... to this. |
| 7760 |
(_M2_termios_finish): Rename this... |
| 7761 |
(_M2_termios_fini): ... to this. |
| 7762 |
(_M2_IO_finish): Rename this... |
| 7763 |
(_M2_IO_fini): ... to this. |
| 7764 |
(_M2_StdIO_finish): Rename this... |
| 7765 |
(_M2_StdIO_fini): ... to this. |
| 7766 |
(_M2_Debug_finish): Rename this... |
| 7767 |
(_M2_Debug_fini): ... to this. |
| 7768 |
(_M2_SysStorage_finish): Rename this... |
| 7769 |
(_M2_SysStorage_fini): ... to this. |
| 7770 |
(_M2_Storage_finish): Rename this... |
| 7771 |
(_M2_Storage_fini): ... to this. |
| 7772 |
(_M2_StrIO_finish): Rename this... |
| 7773 |
(_M2_StrIO_fini): ... to this. |
| 7774 |
(_M2_DynamicStrings_finish): Rename this... |
| 7775 |
(_M2_DynamicStrings_fini): ... to this. |
| 7776 |
(_M2_Assertion_finish): Rename this... |
| 7777 |
(_M2_Assertion_fini): ... to this. |
| 7778 |
(_M2_Indexing_finish): Rename this... |
| 7779 |
(_M2_Indexing_fini): ... to this. |
| 7780 |
(_M2_NameKey_finish): Rename this... |
| 7781 |
(_M2_NameKey_fini): ... to this. |
| 7782 |
(_M2_NumberIO_finish): Rename this... |
| 7783 |
(_M2_NumberIO_fini): ... to this. |
| 7784 |
(_M2_PushBackInput_finish): Rename this... |
| 7785 |
(_M2_PushBackInput_fini): ... to this. |
| 7786 |
(_M2_SymbolKey_finish): Rename this... |
| 7787 |
(_M2_SymbolKey_fini): ... to this. |
| 7788 |
(_M2_UnixArgs_finish): Rename this... |
| 7789 |
(_M2_UnixArgs_fini): ... to this. |
| 7790 |
(_M2_FIO_finish): Rename this... |
| 7791 |
(_M2_FIO_fini): ... to this. |
| 7792 |
(_M2_SFIO_finish): Rename this... |
| 7793 |
(_M2_SFIO_fini): ... to this. |
| 7794 |
(_M2_StrCase_finish): Rename this... |
| 7795 |
(_M2_StrCase_fini): ... to this. |
| 7796 |
(_M2_bnflex_finish): Rename this... |
| 7797 |
(_M2_bnflex_fini): ... to this. |
| 7798 |
(_M2_Lists_finish): Rename this... |
| 7799 |
(_M2_Lists_fini): ... to this. |
| 7800 |
(_M2_Args_finish): Rename this... |
| 7801 |
(_M2_Args_fini): ... to this. |
| 7802 |
(_M2_Output_finish): Rename this... |
| 7803 |
(_M2_Output_fini): ... to this. |
| 7804 |
(_M2_pge_finish): Rename this... |
| 7805 |
(_M2_pge_fini): ... to this. |
| 7806 |
* plugin/m2rte.cc (m2_runtime_error_calls): Change all runtime |
| 7807 |
procedure names to their name mangled counterparts. |
| 7808 |
* gm2-libs-iso/wrapsock.c: Removed. |
| 7809 |
* gm2-libs-iso/wraptime.c: Removed. |
| 7810 |
* mc-boot/Gpth.h: Removed. |
| 7811 |
* gm2-compiler/PathName.def: New file. |
| 7812 |
* gm2-compiler/PathName.mod: New file. |
| 7813 |
* gm2-compiler/DynamicPath.def: New file. |
| 7814 |
* gm2-compiler/DynamicPath.mod: New file. |
| 7815 |
|
| 7816 |
2023-02-06 Gaius Mulley <[email protected]> |
| 7817 |
|
| 7818 |
PR modula2/108135 |
| 7819 |
* gm2-compiler/M2Search.mod (DSdbEnter): Comment out. |
| 7820 |
(DSdbExit): Comment out. |
| 7821 |
|
| 7822 |
2023-02-06 Co-Authored by: Rainer Orth <[email protected]> |
| 7823 |
|
| 7824 |
PR modula2/107234 |
| 7825 |
* m2pp.cc (m2pp_integer_cst): Use |
| 7826 |
HOST_WIDE_INT_PRINT_UNSIGNED as the format specifier. |
| 7827 |
|
| 7828 |
2023-02-06 Gaius Mulley <[email protected]> |
| 7829 |
|
| 7830 |
* gm2-compiler/M2Preprocess.mod (BaseName): Comment out. |
| 7831 |
* gm2-lang.cc (opt): Remove. |
| 7832 |
* gm2spec.cc (add_include): Remove. |
| 7833 |
(full_libraries): Remove. |
| 7834 |
(concat_option): Remove. |
| 7835 |
|
| 7836 |
2023-02-03 Gaius Mulley <[email protected]> |
| 7837 |
|
| 7838 |
* Make-lang.in (TEXISRC): Remove m2/images/gnu.eps. |
| 7839 |
(RSTSRC): Remove m2/images/gnu.eps. |
| 7840 |
(doc/m2.dvi): Add $(objdir)/m2/images/gnu.eps. |
| 7841 |
(doc/m2.pdf): Add $(objdir)/m2/images/gnu.eps. |
| 7842 |
(M2_PDFFILES): New definition. |
| 7843 |
(m2.install-pdf): New rule. |
| 7844 |
(m2.pod): Add $(objdir)/m2/images/gnu.eps. |
| 7845 |
(m2.info): Add $(objdir)/m2/images/gnu.eps. |
| 7846 |
(m2.html): New rule. |
| 7847 |
(m2/gpl_v3_without_node.texi): New rule. |
| 7848 |
(plugin/m2rte$(soext)): Simplify mkinstalldirs. |
| 7849 |
(cc1gm2$(exeext)): Ditto. |
| 7850 |
(m2/stage1/cc1gm2$(exeext)): Ditto. |
| 7851 |
(m2/gm2-gcc/%.o): Ditto. |
| 7852 |
(m2/gm2-gcc/rtegraph.o): Ditto. |
| 7853 |
(m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto. |
| 7854 |
(m2/mc-boot/$(SRC_PREFIX)%.o):Ditto. |
| 7855 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto. |
| 7856 |
(m2/mc-boot/main.o): Ditto. |
| 7857 |
(m2/gm2-libs-boot/%.o): Ditto. |
| 7858 |
(m2/gm2-libs-boot/$(SRC_PREFIX)%.h): Ditto. |
| 7859 |
(m2/gm2-libs-boot/RTcodummy.o): Ditto. |
| 7860 |
(m2/gm2-libs-boot/wrapc.o): Ditto. |
| 7861 |
(m2/gm2-libs-boot/M2LINK.o): Ditto. |
| 7862 |
(m2/gm2-libs-boot/UnixArgs.o): Ditto. |
| 7863 |
(m2/gm2-libs-boot/choosetemp.o): Ditto. |
| 7864 |
(m2/gm2-libs-boot/errno.o): Ditto. |
| 7865 |
(m2/gm2-libs-boot/dtoa.o): Ditto. |
| 7866 |
(m2/gm2-libs-boot/ldtoa.o): Ditto. |
| 7867 |
(m2/gm2-libs-boot/termios.o): Ditto. |
| 7868 |
(m2/gm2-libs-boot/SysExceptions.o): Ditto. |
| 7869 |
(m2/gm2-libs-boot/SysStorage.o): Ditto. |
| 7870 |
(m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto. |
| 7871 |
(m2/gm2-compiler-boot/M2Error.o): Ditto. |
| 7872 |
(m2/gm2-compiler-boot/%.o): Ditto. |
| 7873 |
(m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto. |
| 7874 |
(m2/gm2-compiler-boot/m2flex.o): Ditto. |
| 7875 |
(m2/gm2-compiler/m2flex.c): Ditto. |
| 7876 |
(m2/gm2-libiberty/$(SRC_PREFIX)%.h): Ditto. |
| 7877 |
(m2/gm2-compiler/%.o): Ditto. |
| 7878 |
(m2/gm2-compiler/m2flex.o): Ditto. |
| 7879 |
(m2/gm2-compiler/%.o): Ditto. |
| 7880 |
(m2/gm2-libs-iso/%.o): Ditto. |
| 7881 |
(m2/gm2-libs/gm2-libs-host.h): Ditto. |
| 7882 |
($(objdir)/m2/gm2-libs-min/SYSTEM.def): Ditto. |
| 7883 |
($(objdir)/m2/gm2-libs/SYSTEM.def): Ditto. |
| 7884 |
($(objdir)/m2/gm2-libs-iso/SYSTEM.def): Ditto. |
| 7885 |
($(objdir)/m2/gm2-libs-coroutines/SYSTEM.def): Ditto. |
| 7886 |
(m2/gm2-compiler/gm2.a): Ditto. |
| 7887 |
(m2/gm2-libs-boot/libgm2.a): Ditto. |
| 7888 |
(m2/gm2-compiler-boot/gm2.a): Ditto. |
| 7889 |
(m2/boot-bin/mklink$(exeext)): Ditto. |
| 7890 |
(m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto. |
| 7891 |
(m2/gm2-compiler/%.mod): Ditto. |
| 7892 |
(m2/gm2-compiler-boot/%.mod): Ditto. |
| 7893 |
(m2/pge-boot/%.o): Ditto. |
| 7894 |
|
| 7895 |
2023-02-01 Gaius Mulley <[email protected]> |
| 7896 |
|
| 7897 |
* Make-lang.in (GM2_FLAGS): Add -fno-return -Wreturn-type. |
| 7898 |
(GM2_ISO_FLAGS): Add -fno-return -Wreturn-type. |
| 7899 |
* Make-maintainer.in (GM2PATH): Split into separate -I components. |
| 7900 |
(MC-LIB-DEFS): Add RTentity.def. |
| 7901 |
(m2/boot-bin/mc-devel$(exeext)): Changed -I$(GM2PATH) to |
| 7902 |
$(GM2PATH). |
| 7903 |
(m2/boot-bin/mc-opt$(exeext)): Separate -I paths. |
| 7904 |
(m2/mc/decl.o): Separate -I paths. |
| 7905 |
(gm2-bootstrap): Separate -I paths. |
| 7906 |
(m2/mc-boot-gen/$(SRC_PREFIX)%.h): Separate -I paths. |
| 7907 |
(m2/mc-boot-gen/$(SRC_PREFIX)decl.c): Separate -I paths. |
| 7908 |
(m2/mc-boot-gen/$(SRC_PREFIX)%.c): Separate -I paths. |
| 7909 |
(gm2.verifyparanoid): Separate -I paths. |
| 7910 |
(gm2.verifystage12): Separate -I paths. |
| 7911 |
* gm2-compiler/M2ALU.mod (GetConstructorElement): Add default |
| 7912 |
Return NulSym. Remove return from the error case. |
| 7913 |
* gm2-compiler/M2Base.mod (ComplexToScalar): Return RType |
| 7914 |
from the error case. |
| 7915 |
(MixMetaTypes): Return MakeError as a default. |
| 7916 |
* gm2-compiler/M2GCCDeclare.mod (GetTypeMin): Return NulSym |
| 7917 |
from the error case. |
| 7918 |
(GetTypeMax): Return NulSym from the error case. |
| 7919 |
* gm2-compiler/M2GenGCC.mod (IsExportedGcc): Replace Assert |
| 7920 |
by InternalError. |
| 7921 |
* gm2-compiler/M2Quads.mod (GetItemPointedTo): Add InternalError. |
| 7922 |
(GetTypeMin): Add InternalError. |
| 7923 |
(GetTypeMax): Add InternalError. |
| 7924 |
* gm2-compiler/M2System.mod (InitSystem): Call |
| 7925 |
PutProcedureNoReturn on Throw. |
| 7926 |
* gm2-gcc/m2except.cc (m2except_InitExceptions): fn_throw_tree |
| 7927 |
declare as noreturn. fn_rethrow_tree declare as noreturn. |
| 7928 |
* gm2-libs-coroutines/Debug.def (Halt): Add noreturn attribute. |
| 7929 |
* gm2-libs-coroutines/SYSTEM.def (THROW): Add noreturn attribute. |
| 7930 |
* gm2-libs-iso/ClientSocket.mod (dorbytes): Add return FALSE. |
| 7931 |
* gm2-libs-iso/EXCEPTIONS.def (RAISE): Add noreturn attribute. |
| 7932 |
* gm2-libs-iso/IOLink.def (RAISEdevException): Add noreturn attribute. |
| 7933 |
* gm2-libs-iso/M2RTS.def (HALT): Add noreturn attribute. |
| 7934 |
(Halt): Ditto. |
| 7935 |
(HaltC): Ditto. |
| 7936 |
(ErrorMessage): Ditto. |
| 7937 |
(AssignmentException): Ditto. |
| 7938 |
(ReturnException): Ditto. |
| 7939 |
(IncException): Ditto. |
| 7940 |
(DecException): Ditto. |
| 7941 |
(InclException): Ditto. |
| 7942 |
(ExclException): Ditto. |
| 7943 |
(ShiftException): Ditto. |
| 7944 |
(RotateException): Ditto. |
| 7945 |
(StaticArraySubscriptException): Ditto. |
| 7946 |
(DynamicArraySubscriptException): Ditto. |
| 7947 |
(ForLoopBeginException): Ditto. |
| 7948 |
(ForLoopToException): Ditto. |
| 7949 |
(ForLoopEndException): Ditto. |
| 7950 |
(PointerNilException): Ditto. |
| 7951 |
(NoReturnException): Ditto. |
| 7952 |
(CaseException): Ditto. |
| 7953 |
(WholeNonPosDivException): Ditto. |
| 7954 |
(WholeNonPosModException): Ditto. |
| 7955 |
(WholeZeroDivException): Ditto. |
| 7956 |
(WholeZeroRemException): Ditto. |
| 7957 |
(WholeValueException): Ditto. |
| 7958 |
(RealValueException): Ditto. |
| 7959 |
(ParameterException): Ditto. |
| 7960 |
(NoException): Ditto. |
| 7961 |
* gm2-libs-iso/SYSTEM.def (THROW): Ditto. |
| 7962 |
* gm2-libs-iso/TermFile.mod (dorbytes): Add default return FALSE. |
| 7963 |
* gm2-libs-min/M2RTS.def: Add noreturn attribute. |
| 7964 |
* gm2-libs/FIO.mod (BufferedRead): Return -1. |
| 7965 |
(getFileName): Return NIL. |
| 7966 |
(getFileNameLength): Return 0. |
| 7967 |
* gm2-libs/M2RTS.def (HaltC): Add noreturn attribute. |
| 7968 |
(AssignmentException): Ditto. |
| 7969 |
(ReturnException): Ditto. |
| 7970 |
(IncException): Ditto. |
| 7971 |
(DecException): Ditto. |
| 7972 |
(InclException): Ditto. |
| 7973 |
(ExclException): Ditto. |
| 7974 |
(ShiftException): Ditto. |
| 7975 |
(RotateException): Ditto. |
| 7976 |
(StaticArraySubscriptException): Ditto. |
| 7977 |
(DynamicArraySubscriptException): Ditto. |
| 7978 |
(ForLoopBeginException): Ditto. |
| 7979 |
(ForLoopToException): Ditto. |
| 7980 |
(ForLoopEndException): Ditto. |
| 7981 |
(PointerNilException): Ditto. |
| 7982 |
(NoReturnException): Ditto. |
| 7983 |
(CaseException): Ditto. |
| 7984 |
(WholeNonPosDivException): Ditto. |
| 7985 |
(WholeNonPosModException): Ditto. |
| 7986 |
(WholeZeroDivException): Ditto. |
| 7987 |
(WholeZeroRemException): Ditto. |
| 7988 |
(WholeValueException): Ditto. |
| 7989 |
(RealValueException): Ditto. |
| 7990 |
(ParameterException): Ditto. |
| 7991 |
(NoException): Ditto. |
| 7992 |
* gm2-libs/RTExceptions.def (Raise): Ditto. |
| 7993 |
* gm2-libs/RTExceptions.mod (InvokeHandler): Ditto. |
| 7994 |
* gm2-libs/SYSTEM.def (THROW): Ditto. |
| 7995 |
* m2.flex (_M2_m2flex_fini): Remamed to... |
| 7996 |
(_M2_m2flex_finish): ...here. |
| 7997 |
* mc-boot-ch/GBuiltins.c (_M2_Builtins_finish): Remamed to... |
| 7998 |
(_M2_Builtins_fini): ...this. |
| 7999 |
* mc-boot-ch/GRTco.c (_M2_RTco_finish): Remamed to... |
| 8000 |
(_M2_RTco_fini): ...this. |
| 8001 |
* mc-boot-ch/GSYSTEM.c (_M2_SYSTEM_finish): Remamed to... |
| 8002 |
(_M2_SYSTEM_fini): ...this. |
| 8003 |
* mc-boot-ch/GSelective.c (_M2_Selective_finish): Remamed to... |
| 8004 |
(_M2_Selective_fini): ...this. |
| 8005 |
* mc-boot-ch/GSysExceptions.c (_M2_SysExceptions_init): Add |
| 8006 |
parameters. |
| 8007 |
(_M2_SysExceptions_finish): Remamed to... |
| 8008 |
(_M2_SysExceptions_fini): ...this. |
| 8009 |
* mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_finish): Remamed to... |
| 8010 |
(_M2_UnixArgs_fini): ...this. |
| 8011 |
(_M2_UnixArgs_ctor::_M2_UnixArgs_ctor): Change parameter |
| 8012 |
to _M2_UnixArgs_fini. |
| 8013 |
* mc-boot-ch/Gdtoa.c (_M2_dtoa_finish): Remamed to... |
| 8014 |
(_M2_dtoa_fini): ...this. |
| 8015 |
* mc-boot-ch/Gerrno.c (_M2_errno_finish): Remamed to... |
| 8016 |
(_M2_errno_fini): ...this. |
| 8017 |
* mc-boot-ch/Gldtoa.c (_M2_ldtoa_finish): Remamed to... |
| 8018 |
(_M2_ldtoa_fini): ...this. |
| 8019 |
* mc-boot-ch/Gtermios.cc (_M2_termios_init): Add parameters. |
| 8020 |
(_M2_termios_finish): Remamed to... |
| 8021 |
(_M2_termios_fini): ...this. |
| 8022 |
* mc-boot-ch/Gwrapc.c (_M2_wrapc_init): Add parameters. |
| 8023 |
(_M2_wrapc_finish): Remamed to... |
| 8024 |
(_M2_wrapc_fini): ...this. |
| 8025 |
* mc-boot/GASCII.c: Rebuild. |
| 8026 |
* mc-boot/GArgs.c: Rebuild. |
| 8027 |
* mc-boot/GAssertion.c: Rebuild. |
| 8028 |
* mc-boot/GBreak.c: Rebuild. |
| 8029 |
* mc-boot/GCmdArgs.c: Rebuild. |
| 8030 |
* mc-boot/GDebug.c: Rebuild. |
| 8031 |
* mc-boot/GDynamicStrings.c: Rebuild. |
| 8032 |
* mc-boot/GEnvironment.c: Rebuild. |
| 8033 |
* mc-boot/GFIO.c: Rebuild. |
| 8034 |
* mc-boot/GFormatStrings.c: Rebuild. |
| 8035 |
* mc-boot/GFpuIO.c: Rebuild. |
| 8036 |
* mc-boot/GIO.c: Rebuild. |
| 8037 |
* mc-boot/GIndexing.c: Rebuild. |
| 8038 |
* mc-boot/GM2Dependent.c: Rebuild. |
| 8039 |
* mc-boot/GM2EXCEPTION.c: Rebuild. |
| 8040 |
* mc-boot/GM2RTS.c: Rebuild. |
| 8041 |
* mc-boot/GM2RTS.h: Rebuild. |
| 8042 |
* mc-boot/GMemUtils.c: Rebuild. |
| 8043 |
* mc-boot/GNumberIO.c: Rebuild. |
| 8044 |
* mc-boot/GPushBackInput.c: Rebuild. |
| 8045 |
* mc-boot/GRTExceptions.c: Rebuild. |
| 8046 |
* mc-boot/GRTExceptions.h: Rebuild. |
| 8047 |
* mc-boot/GRTco.h: Rebuild. |
| 8048 |
* mc-boot/GRTint.c: Rebuild. |
| 8049 |
* mc-boot/GSArgs.c: Rebuild. |
| 8050 |
* mc-boot/GSFIO.c: Rebuild. |
| 8051 |
* mc-boot/GStdIO.c: Rebuild. |
| 8052 |
* mc-boot/GStorage.c: Rebuild. |
| 8053 |
* mc-boot/GStrCase.c: Rebuild. |
| 8054 |
* mc-boot/GStrIO.c: Rebuild. |
| 8055 |
* mc-boot/GStrLib.c: Rebuild. |
| 8056 |
* mc-boot/GStringConvert.c: Rebuild. |
| 8057 |
* mc-boot/GSysStorage.c: Rebuild. |
| 8058 |
* mc-boot/GTimeString.c: Rebuild. |
| 8059 |
* mc-boot/Galists.c: Rebuild. |
| 8060 |
* mc-boot/Gdecl.c: Rebuild. |
| 8061 |
* mc-boot/Gkeyc.c: Rebuild. |
| 8062 |
* mc-boot/Glists.c: Rebuild. |
| 8063 |
* mc-boot/GmcComment.c: Rebuild. |
| 8064 |
* mc-boot/GmcComp.c: Rebuild. |
| 8065 |
* mc-boot/GmcDebug.c: Rebuild. |
| 8066 |
* mc-boot/GmcError.c: Rebuild. |
| 8067 |
* mc-boot/GmcFileName.c: Rebuild. |
| 8068 |
* mc-boot/GmcLexBuf.c: Rebuild. |
| 8069 |
* mc-boot/GmcMetaError.c: Rebuild. |
| 8070 |
* mc-boot/GmcOptions.c: Rebuild. |
| 8071 |
* mc-boot/GmcPreprocess.c: Rebuild. |
| 8072 |
* mc-boot/GmcPretty.c: Rebuild. |
| 8073 |
* mc-boot/GmcPrintf.c: Rebuild. |
| 8074 |
* mc-boot/GmcQuiet.c: Rebuild. |
| 8075 |
* mc-boot/GmcReserved.c: Rebuild. |
| 8076 |
* mc-boot/GmcSearch.c: Rebuild. |
| 8077 |
* mc-boot/GmcStack.c: Rebuild. |
| 8078 |
* mc-boot/GmcStream.c: Rebuild. |
| 8079 |
* mc-boot/Gmcp1.c: Rebuild. |
| 8080 |
* mc-boot/Gmcp2.c: Rebuild. |
| 8081 |
* mc-boot/Gmcp3.c: Rebuild. |
| 8082 |
* mc-boot/Gmcp4.c: Rebuild. |
| 8083 |
* mc-boot/Gmcp5.c: Rebuild. |
| 8084 |
* mc-boot/GnameKey.c: Rebuild. |
| 8085 |
* mc-boot/GsymbolKey.c: Rebuild. |
| 8086 |
* mc-boot/Gtop.c: Rebuild. |
| 8087 |
* mc-boot/Gvarargs.c: Rebuild. |
| 8088 |
* mc-boot/Gwlists.c: Rebuild. |
| 8089 |
* mc-boot/GRTentity.h: New file. |
| 8090 |
* mc/decl.mod (scaffoldStatic): Change _finish to _fini. |
| 8091 |
* mc/mc.flex (_M2_mcflex_fini): New function. |
| 8092 |
(_M2_mcflex_finish): Remove function. |
| 8093 |
* tools-src/mklink.c (GenerateFinishCalls): Change |
| 8094 |
_finish to _fini. |
| 8095 |
(GeneratePrototypes): Change _finish to _fini. |
| 8096 |
|
| 8097 |
2023-01-31 Gaius Mulley <[email protected]> |
| 8098 |
|
| 8099 |
* Make-lang.in (gm2-libs.texi-check): Rename |
| 8100 |
m2/gm2-libs-pim to m2/gm2-libs-log. |
| 8101 |
* gm2-libs-pim/BitBlockOps.def: Moved to... |
| 8102 |
* gm2-libs-log/BitBlockOps.def: ...here. |
| 8103 |
* gm2-libs-pim/BitBlockOps.mod: Moved to... |
| 8104 |
* gm2-libs-log/BitBlockOps.mod: ...here. |
| 8105 |
* gm2-libs-pim/BitByteOps.def: Moved to... |
| 8106 |
* gm2-libs-log/BitByteOps.def: ...here. |
| 8107 |
* gm2-libs-pim/BitByteOps.mod: Moved to... |
| 8108 |
* gm2-libs-log/BitByteOps.mod: ...here. |
| 8109 |
* gm2-libs-pim/BitWordOps.def: Moved to... |
| 8110 |
* gm2-libs-log/BitWordOps.def: ...here. |
| 8111 |
* gm2-libs-pim/BitWordOps.mod: Moved to... |
| 8112 |
* gm2-libs-log/BitWordOps.mod: ...here. |
| 8113 |
* gm2-libs-pim/BlockOps.def: Moved to... |
| 8114 |
* gm2-libs-log/BlockOps.def: ...here. |
| 8115 |
* gm2-libs-pim/BlockOps.mod: Moved to... |
| 8116 |
* gm2-libs-log/BlockOps.mod: ...here. |
| 8117 |
* gm2-libs-pim/Break.c: Moved to... |
| 8118 |
* gm2-libs-log/Break.c: ...here. |
| 8119 |
* gm2-libs-pim/Break.def: Moved to... |
| 8120 |
* gm2-libs-log/Break.def: ...here. |
| 8121 |
* gm2-libs-pim/CardinalIO.def: Moved to... |
| 8122 |
* gm2-libs-log/CardinalIO.def: ...here. |
| 8123 |
* gm2-libs-pim/CardinalIO.mod: Moved to... |
| 8124 |
* gm2-libs-log/CardinalIO.mod: ...here. |
| 8125 |
* gm2-libs-pim/Conversions.def: Moved to... |
| 8126 |
* gm2-libs-log/Conversions.def: ...here. |
| 8127 |
* gm2-libs-pim/Conversions.mod: Moved to... |
| 8128 |
* gm2-libs-log/Conversions.mod: ...here. |
| 8129 |
* gm2-libs-pim/DebugPMD.def: Moved to... |
| 8130 |
* gm2-libs-log/DebugPMD.def: ...here. |
| 8131 |
* gm2-libs-pim/DebugPMD.mod: Moved to... |
| 8132 |
* gm2-libs-log/DebugPMD.mod: ...here. |
| 8133 |
* gm2-libs-pim/DebugTrace.def: Moved to... |
| 8134 |
* gm2-libs-log/DebugTrace.def: ...here. |
| 8135 |
* gm2-libs-pim/DebugTrace.mod: Moved to... |
| 8136 |
* gm2-libs-log/DebugTrace.mod: ...here. |
| 8137 |
* gm2-libs-pim/Delay.def: Moved to... |
| 8138 |
* gm2-libs-log/Delay.def: ...here. |
| 8139 |
* gm2-libs-pim/Delay.mod: Moved to... |
| 8140 |
* gm2-libs-log/Delay.mod: ...here. |
| 8141 |
* gm2-libs-pim/Display.def: Moved to... |
| 8142 |
* gm2-libs-log/Display.def: ...here. |
| 8143 |
* gm2-libs-pim/Display.mod: Moved to... |
| 8144 |
* gm2-libs-log/Display.mod: ...here. |
| 8145 |
* gm2-libs-pim/ErrorCode.def: Moved to... |
| 8146 |
* gm2-libs-log/ErrorCode.def: ...here. |
| 8147 |
* gm2-libs-pim/ErrorCode.mod: Moved to... |
| 8148 |
* gm2-libs-log/ErrorCode.mod: ...here. |
| 8149 |
* gm2-libs-pim/FileSystem.def: Moved to... |
| 8150 |
* gm2-libs-log/FileSystem.def: ...here. |
| 8151 |
* gm2-libs-pim/FileSystem.mod: Moved to... |
| 8152 |
* gm2-libs-log/FileSystem.mod: ...here. |
| 8153 |
* gm2-libs-pim/FloatingUtilities.def: Moved to... |
| 8154 |
* gm2-libs-log/FloatingUtilities.def: ...here. |
| 8155 |
* gm2-libs-pim/FloatingUtilities.mod: Moved to... |
| 8156 |
* gm2-libs-log/FloatingUtilities.mod: ...here. |
| 8157 |
* gm2-libs-pim/InOut.def: Moved to... |
| 8158 |
* gm2-libs-log/InOut.def: ...here. |
| 8159 |
* gm2-libs-pim/InOut.mod: Moved to... |
| 8160 |
* gm2-libs-log/InOut.mod: ...here. |
| 8161 |
* gm2-libs-pim/Keyboard.def: Moved to... |
| 8162 |
* gm2-libs-log/Keyboard.def: ...here. |
| 8163 |
* gm2-libs-pim/Keyboard.mod: Moved to... |
| 8164 |
* gm2-libs-log/Keyboard.mod: ...here. |
| 8165 |
* gm2-libs-pim/LongIO.def: Moved to... |
| 8166 |
* gm2-libs-log/LongIO.def: ...here. |
| 8167 |
* gm2-libs-pim/LongIO.mod: Moved to... |
| 8168 |
* gm2-libs-log/LongIO.mod: ...here. |
| 8169 |
* gm2-libs-pim/NumberConversion.def: Moved to... |
| 8170 |
* gm2-libs-log/NumberConversion.def: ...here. |
| 8171 |
* gm2-libs-pim/NumberConversion.mod: Moved to... |
| 8172 |
* gm2-libs-log/NumberConversion.mod: ...here. |
| 8173 |
* gm2-libs-pim/README.texi: Moved to... |
| 8174 |
* gm2-libs-log/README.texi: ...here. |
| 8175 |
* gm2-libs-pim/Random.def: Moved to... |
| 8176 |
* gm2-libs-log/Random.def: ...here. |
| 8177 |
* gm2-libs-pim/Random.mod: Moved to... |
| 8178 |
* gm2-libs-log/Random.mod: ...here. |
| 8179 |
* gm2-libs-pim/RealConversions.def: Moved to... |
| 8180 |
* gm2-libs-log/RealConversions.def: ...here. |
| 8181 |
* gm2-libs-pim/RealConversions.mod: Moved to... |
| 8182 |
* gm2-libs-log/RealConversions.mod: ...here. |
| 8183 |
* gm2-libs-pim/RealInOut.def: Moved to... |
| 8184 |
* gm2-libs-log/RealInOut.def: ...here. |
| 8185 |
* gm2-libs-pim/RealInOut.mod: Moved to... |
| 8186 |
* gm2-libs-log/RealInOut.mod: ...here. |
| 8187 |
* gm2-libs-pim/Strings.def: Moved to... |
| 8188 |
* gm2-libs-log/Strings.def: ...here. |
| 8189 |
* gm2-libs-pim/Strings.mod: Moved to... |
| 8190 |
* gm2-libs-log/Strings.mod: ...here. |
| 8191 |
* gm2-libs-pim/Termbase.def: Moved to... |
| 8192 |
* gm2-libs-log/Termbase.def: ...here. |
| 8193 |
* gm2-libs-pim/Termbase.mod: Moved to... |
| 8194 |
* gm2-libs-log/Termbase.mod: ...here. |
| 8195 |
* gm2-libs-pim/Terminal.def: Moved to... |
| 8196 |
* gm2-libs-log/Terminal.def: ...here. |
| 8197 |
* gm2-libs-pim/Terminal.mod: Moved to... |
| 8198 |
* gm2-libs-log/Terminal.mod: ...here. |
| 8199 |
* gm2-libs-pim/TimeDate.def: Moved to... |
| 8200 |
* gm2-libs-log/TimeDate.def: ...here. |
| 8201 |
* gm2-libs-pim/TimeDate.mod: Moved to... |
| 8202 |
* gm2-libs-log/TimeDate.mod: ...here. |
| 8203 |
|
| 8204 |
2023-01-28 Iain Sandoe <[email protected]> |
| 8205 |
|
| 8206 |
* lang.opt: Claim Wreturn-type. |
| 8207 |
|
| 8208 |
2023-01-27 Gaius Mulley <[email protected]> |
| 8209 |
|
| 8210 |
* gm2-compiler/M2Comp.mod: Import MetaString0. |
| 8211 |
(ExamineCompilationUnit): New variable Message. |
| 8212 |
Create and format error string. |
| 8213 |
* gm2-compiler/M2LexBuf.mod: New variable SeenEof. |
| 8214 |
(GetNonEofToken): New procedure. |
| 8215 |
(Init): Set SeenEof to FALSE. |
| 8216 |
(GetToken): Use GetNonEofToken instead of calls to |
| 8217 |
m2flex.GetToken and GetToken. |
| 8218 |
(AddTok): Detect eoftok and set SeenEof. |
| 8219 |
|
| 8220 |
2023-01-27 Gaius Mulley <[email protected]> |
| 8221 |
|
| 8222 |
* gm2-compiler/M2Options.def: Export GetMQ, SetMQ. |
| 8223 |
* gm2-compiler/M2Preprocess.mod: (MakeSaveTempsFileName): |
| 8224 |
Test NewDir against NIL. Test Dumpdir against NIL. |
| 8225 |
Test GetMD () against NIL. Test GetMMD () against NIL. |
| 8226 |
Test GetMQ () against NIL. Test GetObj () against NIL. |
| 8227 |
Test tempfile against NIL. |
| 8228 |
* gm2-compiler/P2SymBuild.def: Export |
| 8229 |
BuildNoReturnAttribute. |
| 8230 |
|
| 8231 |
2023-01-27 Iain Sandoe <[email protected]> |
| 8232 |
|
| 8233 |
PR modula2/108555 |
| 8234 |
PR modula2/108182 |
| 8235 |
PR modula2/102343 |
| 8236 |
* gm2-lang.cc (gm2_langhook_option_lang_mask): Do not claim CL_C |
| 8237 |
or CL_DRIVER. |
| 8238 |
(gm2_langhook_init_options): Handle options that we want to pass |
| 8239 |
to the preprocessor. |
| 8240 |
* lang-specs.h: Pass -B and -save-temps to regular compile lines. |
| 8241 |
* lang.opt: Add C and Driver options that Modula-2 intercepts for |
| 8242 |
internal use. Reorder options into two sections and to collate. |
| 8243 |
|
| 8244 |
2023-01-26 Gaius Mulley <[email protected]> |
| 8245 |
|
| 8246 |
* gm2-compiler/M2GCCDeclare.mod: Import IsProcedureNoReturn. |
| 8247 |
(DeclareProcedureToGccWholeProgram): New variable declared and set |
| 8248 |
returnType. Pass returnType to BuildEndFunctionDeclaration. |
| 8249 |
Extra parameter IsProcedureNoReturn passed to |
| 8250 |
BuildEndFunctionDeclaration. |
| 8251 |
* gm2-compiler/M2Quads.mod (BuildM2MainFunction): Correct |
| 8252 |
scaffold comment and add extra return 0. |
| 8253 |
* gm2-compiler/P2Build.bnf: Import BuildNoReturnAttribute. |
| 8254 |
(ProcedureHeading): Process EndBuildFormalParameters before |
| 8255 |
parsing AttributeNoReturn. |
| 8256 |
(DefProcedureHeading): Process EndBuildFormalParameters before |
| 8257 |
parsing AttributeNoReturn. |
| 8258 |
(AttributeNoReturn): Call BuildNoReturnAttribute. |
| 8259 |
* gm2-compiler/P2SymBuild.def (BuildNoReturnAttribute): New |
| 8260 |
procedure. |
| 8261 |
* gm2-compiler/P2SymBuild.mod (BuildNoReturnAttribute): New |
| 8262 |
procedure. |
| 8263 |
* gm2-compiler/SymbolTable.def (PutProcedureInline): Corrected |
| 8264 |
comment. |
| 8265 |
(PutProcedureNoReturn): New procedure. |
| 8266 |
(IsProcedureNoReturn): New procedure function. |
| 8267 |
* gm2-compiler/SymbolTable.mod (SymProcedure): IsNoReturn |
| 8268 |
new field. |
| 8269 |
(MakeProcedure): Initialize IsNoReturn to FALSE. |
| 8270 |
(PutProcedureNoReturn): New procedure. |
| 8271 |
(IsProcedureNoReturn): New procedure function. |
| 8272 |
* gm2-gcc/m2decl.cc (m2decl_BuildEndFunctionDeclaration): |
| 8273 |
Add extra parameter isnoreturn. Set TREE_THIS_VOLATILE |
| 8274 |
to isnoreturn. |
| 8275 |
* gm2-gcc/m2decl.def (BuildEndFunctionDeclaration): Add |
| 8276 |
extra parameter isnoreturn. |
| 8277 |
* gm2-gcc/m2decl.h (m2decl_BuildEndFunctionDeclaration): Add |
| 8278 |
extra parameter isnoreturn. |
| 8279 |
* gm2-gcc/m2except.cc (m2except_InitExceptions): Change all |
| 8280 |
function decl to pass an extra parameter isnoreturn. |
| 8281 |
|
| 8282 |
2023-01-26 Gaius Mulley <[email protected]> |
| 8283 |
|
| 8284 |
* m2.flex (splitSlashStar): Fix comment so that /* does not |
| 8285 |
appear inside the comment. |
| 8286 |
|
| 8287 |
2023-01-26 Iain Sandoe <[email protected]> |
| 8288 |
|
| 8289 |
PR modula2/108553 |
| 8290 |
* gm2-lang.cc (gm2_langhook_init_options): Remove debug code. |
| 8291 |
|
| 8292 |
2023-01-26 Gaius Mulley <[email protected]> |
| 8293 |
|
| 8294 |
* Make-lang.in (m2/gm2config.h): Rewrite rule to be |
| 8295 |
dependent upon m2/gm2config.aci. |
| 8296 |
(m2/gm2config.aci): Newrule. |
| 8297 |
* configure.ac (AC_CONFIG_HEADERS): Change destination |
| 8298 |
to gm2config.aci. |
| 8299 |
* configure: Regenerate. |
| 8300 |
* gm2-libs/config-host: Regenerate. |
| 8301 |
* gm2-compiler/M2GCCDeclare.mod (AddSymToWatch): Comment |
| 8302 |
out. |
| 8303 |
* gm2-compiler/M2Quads.mod (BuildConstHighFromSym): Remove |
| 8304 |
Dim. |
| 8305 |
(StartBuildWith): Call BuildStmtNoteTok. |
| 8306 |
(BuildStmtNoteTok): New procedure. |
| 8307 |
(BuildStmtNote): Re-implement re-factor into two |
| 8308 |
procedures and call BuildStmtNoteTok. |
| 8309 |
* gm2config.h.in: Remove. |
| 8310 |
* gm2config.aci.in: New file. |
| 8311 |
|
| 8312 |
2023-01-25 Iain Sandoe <[email protected]> |
| 8313 |
|
| 8314 |
PR modula2/102343 |
| 8315 |
PR modula2/108182 |
| 8316 |
* gm2-compiler/M2Comp.mod: Early exit for pre-processor-only jobs. |
| 8317 |
* gm2-compiler/M2Options.def (SetPPOnly, GetPPOnly, SetMD, GetMD, |
| 8318 |
SetMMD, GetMMD, SetMQ, GetMQ, SetObj, GetObj, SetDumpDir, |
| 8319 |
GetDumpDir):New. |
| 8320 |
* gm2-compiler/M2Options.mod:(SetPPOnly, GetPPOnly, SetMD, GetMD, |
| 8321 |
SetMMD, GetMMD, SetMQ, GetMQ, SetObj, GetObj, SetDumpDir, |
| 8322 |
GetDumpDir):New. |
| 8323 |
* gm2-compiler/M2Preprocess.def (PreprocessModule): Add flag to |
| 8324 |
indicate the main file. |
| 8325 |
* gm2-compiler/M2Preprocess.mod: Handle Preprocess-only jobs, |
| 8326 |
handle MD, MMD and MQ options. |
| 8327 |
* gm2-gcc/m2options.h (M2Options_SetPPOnly, M2Options_GetPPOnly, |
| 8328 |
M2Options_SetDumpDir, M2Options_SetMD, M2Options_GetMD, |
| 8329 |
M2Options_SetMMD, M2Options_GetMMD, M2Options_SetMQ, M2Options_GetMQ, |
| 8330 |
M2Options_SetObj, M2Options_GetObj): New. |
| 8331 |
* gm2-gcc/m2type.cc (m2type_InitBaseTypes): Early exit for pre- |
| 8332 |
processor-only jobs. |
| 8333 |
* gm2-lang.cc (gm2_langhook_init): Handle preprocess-only commands. |
| 8334 |
(gm2_langhook_option_lang_mask): Claim C and Driver options so that |
| 8335 |
we can intercept them for building pre-processor commands. |
| 8336 |
(gm2_langhook_init_options): Collect the preprocessor line here. |
| 8337 |
Save options that have different actions for preprocessor and compile |
| 8338 |
commands. |
| 8339 |
(gm2_langhook_handle_option): Only handle the modula-2 options here. |
| 8340 |
(gm2_langhook_post_options): Do not create a back-end for pre- |
| 8341 |
processor-only jobs. |
| 8342 |
* gm2spec.cc (lang_specific_driver): Ignore PCH options, append a |
| 8343 |
scaffold-main for cases where we are building a main module with |
| 8344 |
-c. |
| 8345 |
* lang-specs.h: Revise to handle preprocessor-only jobs and to |
| 8346 |
consume pre-processed files. |
| 8347 |
* lang.opt: Remove Driver and C options copies (we claim these |
| 8348 |
separately). |
| 8349 |
|
| 8350 |
2023-01-24 Co-Authored by: Iain Sandoe <[email protected]> |
| 8351 |
|
| 8352 |
* Make-lang.in (GM2-COMP-BOOT-DEFS): Add |
| 8353 |
DynamicStringPath.def. |
| 8354 |
(GM2-COMP-BOOT-MODS): Add DynamicStringPath.mod. |
| 8355 |
(GM2-COMP-DEFS): Add DynamicStringPath.def. |
| 8356 |
(GM2-COMP-MODS): Add DynamicStringPath.mod. |
| 8357 |
($(objdir)/m2/gm2-libs-min/SYSTEM.def): Split path into |
| 8358 |
multiple -I components. |
| 8359 |
($(objdir)/m2/gm2-libs/SYSTEM.def): Ditto. |
| 8360 |
($(objdir)/m2/gm2-libs-coroutines/SYSTEM.def): Ditto. |
| 8361 |
* gm2-compiler/M2Options.mod: Import DynamicStringPath. |
| 8362 |
(SetSearchPath): Reimplement using DynamicStringPath |
| 8363 |
procedures. |
| 8364 |
* gm2-compiler/M2Search.def (InitSearchPath): Remove. |
| 8365 |
(PrependSearchPath): Remove. |
| 8366 |
* gm2-compiler/M2Search.mod (SFIO): Remove import. |
| 8367 |
(DynamicStringPath): Add import. |
| 8368 |
(Directory): Remove. |
| 8369 |
(UserPath): Remove. |
| 8370 |
(InitialPath): Remove. |
| 8371 |
(InitSearchPath): Remove. |
| 8372 |
(PrependSearchPath): Remove. |
| 8373 |
(FindSourceFile): Re-implement. |
| 8374 |
(FindSourceDefFile): Re-implement. |
| 8375 |
(FindSourceModFile): Re-implement. |
| 8376 |
* gm2-gcc/init.cc (_M2_DynamicStringPath_init): |
| 8377 |
New prototype. |
| 8378 |
(init_FrontEndInit): Call _M2_DynamicStringPath_init. |
| 8379 |
* tools-src/makeSystem: Allow multiple -I paths. |
| 8380 |
* gm2-compiler/DynamicStringPath.def: New file. |
| 8381 |
* gm2-compiler/DynamicStringPath.mod: New file. |
| 8382 |
* gm2-gcc/m2options.h (M2Options_SetMakeIncludePath): Add |
| 8383 |
prototype. |
| 8384 |
|
| 8385 |
2023-01-24 Gaius Mulley <[email protected]> |
| 8386 |
|
| 8387 |
* m2.flex (cpreprocessor): Add temporary variable |
| 8388 |
which is initialized to 0. |
| 8389 |
(commentCLevel): New variable. |
| 8390 |
(endOfCComment): New function. |
| 8391 |
(splitSlashStar): New function to split /* into / and * |
| 8392 |
tokens. |
| 8393 |
(COMMENTC): New flex state. |
| 8394 |
("/*"): New rule to test whether we should treat /* |
| 8395 |
as a single token or as two tokens. |
| 8396 |
(<COMMENTC>.): New rule to skip a character. |
| 8397 |
(<COMMENTC>\n.*): New rule to consume the line. |
| 8398 |
(<COMMENTC>"*/"): New rule to call endOfCComment. |
| 8399 |
|
| 8400 |
2023-01-24 Gaius Mulley <[email protected]> |
| 8401 |
|
| 8402 |
* gm2-libs-iso/RTco.def: Import RTentity. |
| 8403 |
Declare RTco as a definition for C module. |
| 8404 |
|
| 8405 |
2023-01-23 Iain Sandoe <[email protected]> |
| 8406 |
|
| 8407 |
PR modula2/108182 |
| 8408 |
PR modula2/108480 |
| 8409 |
* Make-lang.in: Pass libsubdir to the language init |
| 8410 |
build. |
| 8411 |
* gm2-lang.cc (INCLUDE_VECTOR): Define. |
| 8412 |
(add_one_import_path): New. |
| 8413 |
(add_m2_import_paths): New. |
| 8414 |
(gm2_langhook_post_options): Arrange to add the include |
| 8415 |
paths (and add the system ones) in the same order as C |
| 8416 |
uses. |
| 8417 |
* gm2spec.cc (build_archive_path): Remove. |
| 8418 |
(add_default_combination): Remove. |
| 8419 |
(add_default_archives): Remove. |
| 8420 |
(add_default_libs): We no longer need a '-L' option, just |
| 8421 |
emit the -l and each library in use. |
| 8422 |
(build_include_path): Remove. |
| 8423 |
(add_include): Remove. |
| 8424 |
(add_default_includes): Remove. |
| 8425 |
(library_installed): Remove. |
| 8426 |
(check_valid_library): Remove. |
| 8427 |
(check_valid_list): Remove. |
| 8428 |
(convert_abbreviation): Diagnose unhandled cases. |
| 8429 |
(lang_specific_driver): Skip options where we will add back |
| 8430 |
a validated version. |
| 8431 |
* lang-specs.h (M2CPP): Reformat, append %I when -fcpp is not |
| 8432 |
in use. Revise the cc1gm2 spec to omit mentioning options that |
| 8433 |
are handled in the c pre-processor line. |
| 8434 |
* lang.opt: Allow preprocessing and path options as input to the |
| 8435 |
cc1gm2 invocation, so that they can be passed to the preprocessor |
| 8436 |
invocation. |
| 8437 |
|
| 8438 |
2023-01-23 Iain Sandoe <[email protected]> |
| 8439 |
|
| 8440 |
PR modula2/108405 |
| 8441 |
* gm2-libs-iso/Preemptive.mod (initPreemptive): Use a value for |
| 8442 |
extra space that is divisible by common OS pagesizes. |
| 8443 |
|
| 8444 |
2023-01-20 Gaius Mulley <[email protected]> |
| 8445 |
|
| 8446 |
* gm2-libs/Args.mod (GetArg): Check index before |
| 8447 |
accessing array. |
| 8448 |
* gm2-libs/M2Dependent.mod (toCString): Check index |
| 8449 |
before accessing array. |
| 8450 |
* mc-boot/GArgs.c: Rebuilt. |
| 8451 |
* mc-boot/GM2Dependent.c: Rebuilt. |
| 8452 |
* mc-boot/Gkeyc.c: Rebuilt. |
| 8453 |
* mc/keyc.mod (seenUIntMin): Initialize once. |
| 8454 |
(seenUIntMax): Initialize once. |
| 8455 |
(checkLimits): Only test seenUIntMin and seenUIntMax |
| 8456 |
once. |
| 8457 |
* pge-boot/GArgs.c: Rebuilt. |
| 8458 |
* pge-boot/GM2Dependent.c: Rebuilt. |
| 8459 |
|
| 8460 |
2023-01-20 Gaius Mulley <[email protected]> |
| 8461 |
|
| 8462 |
* gm2-gcc/m2statement.cc (gm2_gimplify_function_node): |
| 8463 |
Remove. |
| 8464 |
* gm2-libs/DynamicStrings.mod (Equal): Remove dead code. |
| 8465 |
* m2.flex (<COMMENT>"<*"): Add {} for else statement. |
| 8466 |
* m2pp.cc (hextree): Add conditional #ifdef DEBUGGING. |
| 8467 |
* mc-boot/GDynamicStrings.c: Rebuild. |
| 8468 |
* pge-boot/GDynamicStrings.c: Rebuild. |
| 8469 |
* pge-boot/GFIO.c: Rebuild. |
| 8470 |
* pge-boot/GIndexing.c: Rebuild. |
| 8471 |
* pge-boot/GM2EXCEPTION.c: Rebuild. |
| 8472 |
* pge-boot/GM2RTS.c: Rebuild. |
| 8473 |
* pge-boot/GNameKey.c: Rebuild. |
| 8474 |
* pge-boot/GPushBackInput.c: Rebuild. |
| 8475 |
* pge-boot/GRTExceptions.c: Rebuild. |
| 8476 |
* pge-boot/GStdIO.c: Rebuild. |
| 8477 |
* pge-boot/GSymbolKey.c: Rebuild. |
| 8478 |
* pge-boot/GSysStorage.c: Rebuild. |
| 8479 |
|
| 8480 |
2023-01-17 Gaius Mulley <[email protected]> |
| 8481 |
|
| 8482 |
* mc-boot/GM2RTS.c: Rebuilt. |
| 8483 |
* mc-boot/GM2RTS.h: Rebuilt. |
| 8484 |
* mc-boot/Gdecl.c: Rebuilt. |
| 8485 |
* mc-boot/GmcOptions.c: Rebuilt. |
| 8486 |
* mc/mcOptions.mod (displayVersion): |
| 8487 |
Split first printf into three components |
| 8488 |
|
| 8489 |
2023-01-17 Gaius Mulley <[email protected]> |
| 8490 |
|
| 8491 |
* gm2-libs-iso/M2RTS.def (Halt): Parameter file renamed to filename. |
| 8492 |
(HaltC): New procedure declaration. |
| 8493 |
(ErrorMessage): Parameter file renamed to filename. |
| 8494 |
* gm2-libs-iso/M2RTS.mod (Halt): Parameter file renamed to |
| 8495 |
filename. |
| 8496 |
(HaltC): New procedure implementation. |
| 8497 |
(ErrorStringC): New procedure implementation. |
| 8498 |
(ErrorMessageC): New procedure implementation. |
| 8499 |
* gm2-libs/M2RTS.def (Halt): Parameter file renamed to filename. |
| 8500 |
(HaltC): New procedure declaration. |
| 8501 |
(ErrorMessage): Parameter file renamed to filename. |
| 8502 |
* gm2-libs/M2RTS.mod (Halt): Parameter file renamed to filename. |
| 8503 |
(HaltC): New procedure implementation. |
| 8504 |
(ErrorStringC): New procedure implementation. |
| 8505 |
(ErrorMessageC): New procedure implementation. |
| 8506 |
|
| 8507 |
2023-01-16 Gaius Mulley <[email protected]> |
| 8508 |
|
| 8509 |
* mc-boot-ch/Glibc.c (libc_time): New function. |
| 8510 |
(libc_localtime): New function. |
| 8511 |
* mc-boot/GDynamicStrings.c: Regenerate. |
| 8512 |
* mc-boot/GFIO.c: Regenerate. |
| 8513 |
* mc-boot/GFormatStrings.c: Regenerate. |
| 8514 |
* mc-boot/GIndexing.c: Regenerate. |
| 8515 |
* mc-boot/GM2Dependent.c: Regenerate. |
| 8516 |
* mc-boot/GM2EXCEPTION.c: Regenerate. |
| 8517 |
* mc-boot/GPushBackInput.c: Regenerate. |
| 8518 |
* mc-boot/GRTExceptions.c: Regenerate. |
| 8519 |
* mc-boot/GRTint.c: Regenerate. |
| 8520 |
* mc-boot/GStdIO.c: Regenerate. |
| 8521 |
* mc-boot/GStringConvert.c: Regenerate. |
| 8522 |
* mc-boot/GSysStorage.c: Regenerate. |
| 8523 |
* mc-boot/Gdecl.c: Regenerate. |
| 8524 |
* mc-boot/GmcComment.c: Regenerate. |
| 8525 |
* mc-boot/GmcComp.c: Regenerate. |
| 8526 |
* mc-boot/GmcDebug.c: Regenerate. |
| 8527 |
* mc-boot/GmcMetaError.c: Regenerate. |
| 8528 |
* mc-boot/GmcOptions.c: Regenerate. |
| 8529 |
* mc-boot/GmcStack.c: Regenerate. |
| 8530 |
* mc-boot/GnameKey.c: Regenerate. |
| 8531 |
* mc-boot/GsymbolKey.c: Regenerate. |
| 8532 |
* mc-boot/Gkeyc.c: Regenerate. |
| 8533 |
* mc/decl.mod (putFieldRecord): Change NulName to NulKey |
| 8534 |
and fix type comparision. |
| 8535 |
* mc/mcOptions.mod (YEAR): Remove. |
| 8536 |
(getYear): New procedure function. |
| 8537 |
(displayVersion): Use result from getYear instead of YEAR. |
| 8538 |
Emit boilerplate for GPL v3. |
| 8539 |
(gplBody): Use result from getYear instead of YEAR. |
| 8540 |
(glplBody): Use result from getYear instead of YEAR. |
| 8541 |
|
| 8542 |
2023-01-16 Gaius Mulley <[email protected]> |
| 8543 |
|
| 8544 |
* gm2-compiler/M2Quads.mod (AssignUnboundedVar): Check Type |
| 8545 |
against NulSym and call MetaErrorT1 if necessary. |
| 8546 |
(AssignUnboundedNonVar): Check Type against NulSym and |
| 8547 |
call MetaErrorT1 if necessary. |
| 8548 |
(BuildDesignatorPointer): Check Type1 against NulSym and |
| 8549 |
call MetaErrorT1 if necessary. |
| 8550 |
|
| 8551 |
2023-01-16 Gaius Mulley <[email protected]> |
| 8552 |
|
| 8553 |
* mc/mcOptions.mod (displayVersion): Change GPLv2 to GPLv3. |
| 8554 |
(YEAR) set to 2023. |
| 8555 |
|
| 8556 |
2023-01-15 Gaius Mulley <[email protected]> |
| 8557 |
|
| 8558 |
* gm2-compiler/M2LexBuf.mod (isSrcToken): Add block comment. |
| 8559 |
Remove dead code. |
| 8560 |
* gm2-compiler/M2Quads.def (BuildNot): Add notTokPos parameter. |
| 8561 |
* gm2-compiler/M2Quads.mod (BuildNot): Add notTokPos parameter. |
| 8562 |
Create and push virtual token. |
| 8563 |
(PopBooltok): New procedure. |
| 8564 |
(PushBooltok): New procedure. |
| 8565 |
(PushBool): Re-implement using PushBooltok. |
| 8566 |
(PopBool): Re-implement using PopBooltok. |
| 8567 |
* gm2-compiler/P3Build.bnf (ConstFactor): Record token |
| 8568 |
position of NOT. |
| 8569 |
(Factor): Record token position of NOT. |
| 8570 |
* gm2-compiler/PHBuild.bnf (ConstFactor): Record token |
| 8571 |
position of NOT. |
| 8572 |
(Relation): Push token position. |
| 8573 |
(UnaryOrConstTerm): Push token position. |
| 8574 |
(AddOperator): Push token position. |
| 8575 |
(MulOperator): Push token position. |
| 8576 |
|
| 8577 |
2023-01-13 Iain Sandoe <[email protected]> |
| 8578 |
|
| 8579 |
* gm2-gcc/m2options.h (M2Options_SetVerbose): Export the |
| 8580 |
function. |
| 8581 |
* gm2-lang.cc: Handle OPT_v, passing it to the compiler. |
| 8582 |
* lang-specs.h: Pass -v to cc1gm2. |
| 8583 |
|
| 8584 |
2023-01-13 Gaius Mulley <[email protected]> |
| 8585 |
|
| 8586 |
* mc-boot-ch/GRTco.c (RTco_select): Add return 0. |
| 8587 |
* pge-boot/GRTco.c (RTco_select): Add return 0. |
| 8588 |
|
| 8589 |
2023-01-10 Gaius Mulley <[email protected]> |
| 8590 |
|
| 8591 |
* Make-lang.in (m2/mc-boot/$(SRC_PREFIX)%.o): Add |
| 8592 |
m2/gm2-libs/gm2-libs-host.h dependency. |
| 8593 |
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Add |
| 8594 |
m2/gm2-libs/gm2-libs-host.h dependency. |
| 8595 |
|
| 8596 |
2023-01-10 Gaius Mulley <[email protected]> |
| 8597 |
|
| 8598 |
* Make-lang.in (GM2_1): Change -B path to m2/stage1. |
| 8599 |
($(objdir)/m2/images/gnu.eps): Check and create dest dir |
| 8600 |
if necessary. |
| 8601 |
(gm2-libs.texi-check): Check and create dir m2/gm2-libs-pim, |
| 8602 |
m2/gm2-libs-iso and m2/gm2-libs if necessary. |
| 8603 |
($(objdir)/m2/gm2-compiler-boot): Remove. |
| 8604 |
($(objdir)/m2/gm2-libs-boot): Remove. |
| 8605 |
($(objdir)/m2/gm2-libs-libiberty): Remove. |
| 8606 |
($(objdir)/m2/gm2-libiberty): Remove. |
| 8607 |
($(objdir)/m2/gm2-gcc): Remove. |
| 8608 |
($(objdir)/m2/gm2-compiler): Remove. |
| 8609 |
($(objdir)/m2/gm2-libs): Remove. |
| 8610 |
($(objdir)/m2/gm2-libs-iso): Remove. |
| 8611 |
($(objdir)/m2/gm2-libs-min): Remove. |
| 8612 |
($(objdir)/m2/gm2-compiler-paranoid): Remove. |
| 8613 |
($(objdir)/m2/gm2-libs-paranoid): Remove. |
| 8614 |
($(objdir)/m2/gm2-compiler-verify): Remove. |
| 8615 |
($(objdir)/m2/boot-bin): Remove. |
| 8616 |
($(objdir)/m2/gm2-libs-pim): Remove. |
| 8617 |
($(objdir)/m2/gm2-libs-coroutines): Remove. |
| 8618 |
(stage1/m2): Remove. |
| 8619 |
(stage2/m2): Remove. |
| 8620 |
(stage3/m2): Remove. |
| 8621 |
(m2.stageprofile): New rule. |
| 8622 |
(m2.stagefeedback): New rule. |
| 8623 |
(cc1gm2$(exeext)): Change dependent name. |
| 8624 |
(m2/stage2/cc1gm2$(exeext)): Change dependent name. |
| 8625 |
Check and create dest dir. |
| 8626 |
(m2/stage1/cc1gm2$(exeext)): Check and create dest dir |
| 8627 |
if necessary. |
| 8628 |
(m2/gm2-gcc/%.o): Ditto. |
| 8629 |
(m2/gm2-gcc/rtegraph.o): Ditto. |
| 8630 |
(m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto. |
| 8631 |
(m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto. |
| 8632 |
(m2/mc-boot): Ditto. |
| 8633 |
(m2/mc-boot-ch): Ditto. |
| 8634 |
(m2/gm2-libs-boot): Ditto. |
| 8635 |
(m2/gm2-compiler-boot): Ditto. |
| 8636 |
(m2/gm2-compiler): Ditto. |
| 8637 |
(m2/gm2-libiberty): Ditto. |
| 8638 |
(m2/gm2-compiler): Ditto. |
| 8639 |
(m2/gm2-libs-iso): Ditto. |
| 8640 |
(m2/gm2-libs): Ditto. |
| 8641 |
(m2/gm2-libs-min): Ditto. |
| 8642 |
(m2/gm2-libs-coroutines): Ditto. |
| 8643 |
(m2/boot-bin): Ditto. |
| 8644 |
(m2/pge-boot): Ditto. |
| 8645 |
(m2/pge-boot): Ditto. |
| 8646 |
* Make-maintainer.in (m2/gm2-ppg-boot): Check and create |
| 8647 |
dest dir if necessary. |
| 8648 |
(m2): Ditto. |
| 8649 |
(m2/gm2-ppg-boot): Ditto. |
| 8650 |
(m2/gm2-pg-boot): Ditto. |
| 8651 |
(m2/gm2-auto): Ditto. |
| 8652 |
(m2/gm2-pg-boot): Ditto. |
| 8653 |
(m2/gm2-pge-boot): Ditto. |
| 8654 |
($(objdir)/plugin): Ditto. |
| 8655 |
($(objdir)/m2/mc-boot-ch): Ditto. |
| 8656 |
($(objdir)/m2/mc-boot-gen): Ditto. |
| 8657 |
(m2/boot-bin): Ditto. |
| 8658 |
(m2/mc): Ditto. |
| 8659 |
(m2/mc-obj): Ditto. |
| 8660 |
($(objdir)/m2/gm2-ppg-boot): Ditto. |
| 8661 |
($(objdir)/m2/gm2-pg-boot): Ditto. |
| 8662 |
($(objdir)/m2/gm2-pge-boot): Ditto. |
| 8663 |
(m2/mc-boot-gen): Ditto. |
| 8664 |
(m2/m2obj3): Ditto. |
| 8665 |
(m2/gm2-libs-paranoid): Ditto. |
| 8666 |
(m2/gm2-compiler-paranoid): Ditto. |
| 8667 |
(m2/gm2-libs-paranoid): Ditto. |
| 8668 |
(m2/gm2-compiler-paranoid): Ditto. |
| 8669 |
(m2/gm2-libs-paranoid): Ditto. |
| 8670 |
(m2/gm2-compiler-paranoid): Ditto. |
| 8671 |
* config-lang.in (m2/gm2-compiler-boot): Remove mkdir. |
| 8672 |
(m2/gm2-libs-boot): Ditto. |
| 8673 |
(m2/gm2-ici-boot): Ditto. |
| 8674 |
(m2/gm2-libiberty): Ditto. |
| 8675 |
(m2/gm2-gcc): Ditto. |
| 8676 |
(m2/gm2-compiler): Ditto. |
| 8677 |
(m2/gm2-libs): Ditto. |
| 8678 |
(m2/gm2-libs-iso): Ditto. |
| 8679 |
(m2/gm2-compiler-paranoid): Ditto. |
| 8680 |
(m2/gm2-libs-paranoid): Ditto. |
| 8681 |
(m2/gm2-compiler-verify): Ditto. |
| 8682 |
(m2/boot-bin): Ditto. |
| 8683 |
(m2/gm2-libs-pim): Ditto. |
| 8684 |
(m2/gm2-libs-coroutines): Ditto. |
| 8685 |
(m2/gm2-libs-min): Ditto. |
| 8686 |
(m2/pge-boot): Ditto. |
| 8687 |
(plugin): Ditto. |
| 8688 |
(stage1/m2): Ditto. |
| 8689 |
(stage2/m2): Ditto. |
| 8690 |
(stage3/m2): Ditto. |
| 8691 |
(stage4/m2): Ditto. |
| 8692 |
(m2/gm2-auto): Ditto. |
| 8693 |
(m2/gm2-pg-boot): Ditto. |
| 8694 |
(m2/gm2-pge-boot): Ditto. |
| 8695 |
(m2/gm2-ppg-boot): Ditto. |
| 8696 |
(m2/mc-boot): Ditto. |
| 8697 |
(m2/mc-boot-ch): Ditto. |
| 8698 |
(m2/mc-boot-gen): Ditto. |
| 8699 |
|
| 8700 |
2023-01-09 Gaius Mulley <[email protected]> |
| 8701 |
|
| 8702 |
* Make-lang.in (m2/pge-boot/%.o): Add m2/gm2config.h. |
| 8703 |
* gm2-libs/config-host: Regenerate. |
| 8704 |
|
| 8705 |
2023-01-07 Iain Sandoe <[email protected]> |
| 8706 |
|
| 8707 |
* gm2-libs-min/libc.c (abort): Update declaration to match the |
| 8708 |
expected form, add no-return attribute. |
| 8709 |
(exit): Add no-return attribute. |
| 8710 |
|
| 8711 |
2023-01-05 Iain Sandoe <[email protected]> |
| 8712 |
|
| 8713 |
PR modula2/107631 |
| 8714 |
* gm2-gcc/m2builtins.cc: Remove scalb, scalbf, scalbl, |
| 8715 |
significand, significandf, significandl. |
| 8716 |
* gm2-libs/Builtins.def (significand): Likewise. |
| 8717 |
* gm2-libs/Builtins.mod: Likewise. |
| 8718 |
* target-independent/Builtins.texi: Likewise. |
| 8719 |
* gm2-libs-iso/LowLong.mod: Implement fraction with scalbn*() and |
| 8720 |
ilogb*(). |
| 8721 |
* gm2-libs-iso/LowReal.mod: Likewise. |
| 8722 |
* gm2-libs-iso/LowShort.mod: Likewise. |
| 8723 |
|
| 8724 |
2023-01-05 Gaius Mulley <[email protected]> |
| 8725 |
|
| 8726 |
* gm2-libs-min/M2RTS.def (ConstructModules): New procedure |
| 8727 |
declaration. |
| 8728 |
(DeconstructModules): New procedure declaration. |
| 8729 |
* gm2-libs-min/M2RTS.mod (ConstructModules): New procedure |
| 8730 |
dummy implementation. |
| 8731 |
(DeconstructModules): New procedure dummy implementation. |
| 8732 |
|
| 8733 |
2023-01-05 Iain Sandoe <[email protected]> |
| 8734 |
|
| 8735 |
* gm2spec.cc (lang_specific_driver): Handle static-libgm2. |
| 8736 |
* lang.opt: Add static-libgm2. |
| 8737 |
|
| 8738 |
2023-01-05 Iain Sandoe <[email protected]> |
| 8739 |
|
| 8740 |
* gm2spec.cc (lang_specific_driver): Pass -static-libstdc++ on to |
| 8741 |
the target driver if the linker does not support Bstatic/dynamic. |
| 8742 |
|
| 8743 |
2023-01-04 Iain Sandoe <[email protected]> |
| 8744 |
|
| 8745 |
PR modula2/108183 |
| 8746 |
* gm2-libs-ch/UnixArgs.cc (_M2_UnixArgs_ctor): Rework to use |
| 8747 |
an extern "C" function with 'constructor' attribute. |
| 8748 |
* gm2-libs-ch/dtoa.cc (_M2_dtoa_ctor): Likewise. |
| 8749 |
* gm2-libs-ch/ldtoa.cc (_M2_ldtoa_ctor): Likewise. |
| 8750 |
|
| 8751 |
2023-01-04 Iain Sandoe <[email protected]> |
| 8752 |
|
| 8753 |
PR modula2/108259 |
| 8754 |
* gm2-gcc/m2decl.cc (m2decl_DeclareModuleCtor): Make module |
| 8755 |
registration constructors visible. |
| 8756 |
|
| 8757 |
2023-01-04 Iain Sandoe <[email protected]> |
| 8758 |
|
| 8759 |
* Make-lang.in (dvi, ps, pdf): Build in the gcc/doc directory, also |
| 8760 |
use the configured tools for texi -> dvi and texi -> pdf. |
| 8761 |
|
| 8762 |
2023-01-01 Iain Sandoe <[email protected]> |
| 8763 |
Gaius Mulley <[email protected]> |
| 8764 |
|
| 8765 |
PR modula2/108183 |
| 8766 |
* gm2-compiler/M2GCCDeclare.mod: Module registration constructors are |
| 8767 |
externs to the builder of m2_link. |
| 8768 |
|
| 8769 |
2022-12-31 Rainer Orth <[email protected]> |
| 8770 |
Iain Sandoe <[email protected]> |
| 8771 |
|
| 8772 |
PR modula2/107612 |
| 8773 |
* Make-lang.in (soext): Use .dylib for Darwin. |
| 8774 |
(PLUGINLDFLAGS): Use dynmic lookup, set the plugin name, and append |
| 8775 |
-nodefaultlibs to suppress the linking of libstdc++. |
| 8776 |
Use INCINTL in compile lines for the plugin. |
| 8777 |
|
| 8778 |
2022-12-21 Jakub Jelinek <[email protected]> |
| 8779 |
|
| 8780 |
PR modula2/108153 |
| 8781 |
* gm2-gcc/m2linemap.def (location_t): Use CARDINAL instead of INTEGER. |
| 8782 |
|
| 8783 |
2022-12-19 Jakub Jelinek <[email protected]> |
| 8784 |
|
| 8785 |
* gm2-gcc/m2linemap.cc (m2linemap_ErrorAt, m2linemap_ErrorAtf, |
| 8786 |
m2linemap_WarningAtf, m2linemap_NoteAtf, m2linemap_internal_error): |
| 8787 |
Call functions with "%s", message rather than just message, so that |
| 8788 |
% chars in message aren't treated as format specifiers. |
| 8789 |
|
| 8790 |
2022-12-19 Jakub Jelinek <[email protected]> |
| 8791 |
|
| 8792 |
PR modula2/108147 |
| 8793 |
* gm2-gcc/m2linemap.def (ErrorAtf, WarningAtf, NoteAtf): |
| 8794 |
Comment out prototypes with varargs. |
| 8795 |
* gm2-gcc/m2linemap.h (m2linemap_ErrorAtf, m2linemap_WarningAtf, |
| 8796 |
m2linemap_NoteAtf): No longer varargs. |
| 8797 |
* gm2-gcc/m2linemap.cc (m2linemap_ErrorAtf): Turned into a |
| 8798 |
non-varargs wrapper around ... |
| 8799 |
(m2linemap_ErrorAtf_1): ... this. New static function. |
| 8800 |
(m2linemap_WarningAtf): Turned into a non-varargs wrapper around ... |
| 8801 |
(m2linemap_WarningAtf_1): ... this. New static function. |
| 8802 |
(m2linemap_NoteAtf): Turned into a non-varargs wrapper around ... |
| 8803 |
(m2linemap_NoteAtf_1): ... this. New static function. |
| 8804 |
|
| 8805 |
2022-12-15 Gaius Mulley <[email protected]> |
| 8806 |
|
| 8807 |
* configure.ac: Stop probing for realpath. |
| 8808 |
* tools-src/calcpath: Break dependency on realpath, cut |
| 8809 |
and echo. |
| 8810 |
* configure: Rebuilt. |
| 8811 |
|
| 8812 |
2022-12-15 Gaius Mulley <[email protected]> |
| 8813 |
|
| 8814 |
* gm2config.h.in: Rebuilt. |
| 8815 |
|
| 8816 |
2022-12-14 Gaius Mulley <[email protected]> |
| 8817 |
|
| 8818 |
* COPYING.FDL: New file. |
| 8819 |
* COPYING.RUNTIME: New file. |
| 8820 |
* COPYING3: New file. |
| 8821 |
* COPYING3.LIB: New file. |
| 8822 |
* Make-lang.in: New file. |
| 8823 |
* Make-maintainer.in: New file. |
| 8824 |
* NEWS: New file. |
| 8825 |
* README: New file. |
| 8826 |
* config-lang.in: New file. |
| 8827 |
* config-make.in: New file. |
| 8828 |
* configure.ac: New file. |
| 8829 |
* gm2-compiler/CLexBuf.def: New file. |
| 8830 |
* gm2-compiler/CLexBuf.mod: New file. |
| 8831 |
* gm2-compiler/FifoQueue.def: New file. |
| 8832 |
* gm2-compiler/FifoQueue.mod: New file. |
| 8833 |
* gm2-compiler/Lists.def: New file. |
| 8834 |
* gm2-compiler/Lists.mod: New file. |
| 8835 |
* gm2-compiler/M2ALU.def: New file. |
| 8836 |
* gm2-compiler/M2ALU.mod: New file. |
| 8837 |
* gm2-compiler/M2AsmUtil.def: New file. |
| 8838 |
* gm2-compiler/M2AsmUtil.mod: New file. |
| 8839 |
* gm2-compiler/M2Base.def: New file. |
| 8840 |
* gm2-compiler/M2Base.mod: New file. |
| 8841 |
* gm2-compiler/M2BasicBlock.def: New file. |
| 8842 |
* gm2-compiler/M2BasicBlock.mod: New file. |
| 8843 |
* gm2-compiler/M2Batch.def: New file. |
| 8844 |
* gm2-compiler/M2Batch.mod: New file. |
| 8845 |
* gm2-compiler/M2Bitset.def: New file. |
| 8846 |
* gm2-compiler/M2Bitset.mod: New file. |
| 8847 |
* gm2-compiler/M2CaseList.def: New file. |
| 8848 |
* gm2-compiler/M2CaseList.mod: New file. |
| 8849 |
* gm2-compiler/M2Check.def: New file. |
| 8850 |
* gm2-compiler/M2Check.mod: New file. |
| 8851 |
* gm2-compiler/M2Code.def: New file. |
| 8852 |
* gm2-compiler/M2Code.mod: New file. |
| 8853 |
* gm2-compiler/M2ColorString.def: New file. |
| 8854 |
* gm2-compiler/M2ColorString.mod: New file. |
| 8855 |
* gm2-compiler/M2Comp.def: New file. |
| 8856 |
* gm2-compiler/M2Comp.mod: New file. |
| 8857 |
* gm2-compiler/M2Const.def: New file. |
| 8858 |
* gm2-compiler/M2Const.mod: New file. |
| 8859 |
* gm2-compiler/M2Debug.def: New file. |
| 8860 |
* gm2-compiler/M2Debug.mod: New file. |
| 8861 |
* gm2-compiler/M2DebugStack.def: New file. |
| 8862 |
* gm2-compiler/M2DebugStack.mod: New file. |
| 8863 |
* gm2-compiler/M2Defaults.def: New file. |
| 8864 |
* gm2-compiler/M2Defaults.mod: New file. |
| 8865 |
* gm2-compiler/M2DriverOptions.def: New file. |
| 8866 |
* gm2-compiler/M2DriverOptions.mod: New file. |
| 8867 |
* gm2-compiler/M2Emit.def: New file. |
| 8868 |
* gm2-compiler/M2Emit.mod: New file. |
| 8869 |
* gm2-compiler/M2Error.def: New file. |
| 8870 |
* gm2-compiler/M2Error.mod: New file. |
| 8871 |
* gm2-compiler/M2EvalSym.def: New file. |
| 8872 |
* gm2-compiler/M2FileName.def: New file. |
| 8873 |
* gm2-compiler/M2FileName.mod: New file. |
| 8874 |
* gm2-compiler/M2GCCDeclare.def: New file. |
| 8875 |
* gm2-compiler/M2GCCDeclare.mod: New file. |
| 8876 |
* gm2-compiler/M2GenGCC.def: New file. |
| 8877 |
* gm2-compiler/M2GenGCC.mod: New file. |
| 8878 |
* gm2-compiler/M2Graph.def: New file. |
| 8879 |
* gm2-compiler/M2Graph.mod: New file. |
| 8880 |
* gm2-compiler/M2Lex.def: New file. |
| 8881 |
* gm2-compiler/M2Lex.mod: New file. |
| 8882 |
* gm2-compiler/M2LexBuf.def: New file. |
| 8883 |
* gm2-compiler/M2LexBuf.mod: New file. |
| 8884 |
* gm2-compiler/M2MetaError.def: New file. |
| 8885 |
* gm2-compiler/M2MetaError.mod: New file. |
| 8886 |
* gm2-compiler/M2Optimize.def: New file. |
| 8887 |
* gm2-compiler/M2Optimize.mod: New file. |
| 8888 |
* gm2-compiler/M2Options.def: New file. |
| 8889 |
* gm2-compiler/M2Options.mod: New file. |
| 8890 |
* gm2-compiler/M2Pass.def: New file. |
| 8891 |
* gm2-compiler/M2Pass.mod: New file. |
| 8892 |
* gm2-compiler/M2Preprocess.def: New file. |
| 8893 |
* gm2-compiler/M2Preprocess.mod: New file. |
| 8894 |
* gm2-compiler/M2Printf.def: New file. |
| 8895 |
* gm2-compiler/M2Printf.mod: New file. |
| 8896 |
* gm2-compiler/M2Quads.def: New file. |
| 8897 |
* gm2-compiler/M2Quads.mod: New file. |
| 8898 |
* gm2-compiler/M2Quiet.def: New file. |
| 8899 |
* gm2-compiler/M2Quiet.mod: New file. |
| 8900 |
* gm2-compiler/M2Range.def: New file. |
| 8901 |
* gm2-compiler/M2Range.mod: New file. |
| 8902 |
* gm2-compiler/M2Reserved.def: New file. |
| 8903 |
* gm2-compiler/M2Reserved.mod: New file. |
| 8904 |
* gm2-compiler/M2SSA.def: New file. |
| 8905 |
* gm2-compiler/M2SSA.mod: New file. |
| 8906 |
* gm2-compiler/M2Scaffold.def: New file. |
| 8907 |
* gm2-compiler/M2Scaffold.mod: New file. |
| 8908 |
* gm2-compiler/M2Scope.def: New file. |
| 8909 |
* gm2-compiler/M2Scope.mod: New file. |
| 8910 |
* gm2-compiler/M2Search.def: New file. |
| 8911 |
* gm2-compiler/M2Search.mod: New file. |
| 8912 |
* gm2-compiler/M2Size.def: New file. |
| 8913 |
* gm2-compiler/M2Size.mod: New file. |
| 8914 |
* gm2-compiler/M2StackAddress.def: New file. |
| 8915 |
* gm2-compiler/M2StackAddress.mod: New file. |
| 8916 |
* gm2-compiler/M2StackWord.def: New file. |
| 8917 |
* gm2-compiler/M2StackWord.mod: New file. |
| 8918 |
* gm2-compiler/M2Students.def: New file. |
| 8919 |
* gm2-compiler/M2Students.mod: New file. |
| 8920 |
* gm2-compiler/M2Swig.def: New file. |
| 8921 |
* gm2-compiler/M2Swig.mod: New file. |
| 8922 |
* gm2-compiler/M2System.def: New file. |
| 8923 |
* gm2-compiler/M2System.mod: New file. |
| 8924 |
* gm2-compiler/M2Version.def: New file. |
| 8925 |
* gm2-compiler/NameKey.def: New file. |
| 8926 |
* gm2-compiler/NameKey.mod: New file. |
| 8927 |
* gm2-compiler/ObjectFiles.def: New file. |
| 8928 |
* gm2-compiler/ObjectFiles.mod: New file. |
| 8929 |
* gm2-compiler/Output.def: New file. |
| 8930 |
* gm2-compiler/Output.mod: New file. |
| 8931 |
* gm2-compiler/P0SymBuild.def: New file. |
| 8932 |
* gm2-compiler/P0SymBuild.mod: New file. |
| 8933 |
* gm2-compiler/P0SyntaxCheck.bnf: New file. |
| 8934 |
* gm2-compiler/P0SyntaxCheck.def: New file. |
| 8935 |
* gm2-compiler/P1Build.bnf: New file. |
| 8936 |
* gm2-compiler/P1Build.def: New file. |
| 8937 |
* gm2-compiler/P1SymBuild.def: New file. |
| 8938 |
* gm2-compiler/P1SymBuild.mod: New file. |
| 8939 |
* gm2-compiler/P2Build.bnf: New file. |
| 8940 |
* gm2-compiler/P2Build.def: New file. |
| 8941 |
* gm2-compiler/P2SymBuild.def: New file. |
| 8942 |
* gm2-compiler/P2SymBuild.mod: New file. |
| 8943 |
* gm2-compiler/P3Build.bnf: New file. |
| 8944 |
* gm2-compiler/P3Build.def: New file. |
| 8945 |
* gm2-compiler/P3SymBuild.def: New file. |
| 8946 |
* gm2-compiler/P3SymBuild.mod: New file. |
| 8947 |
* gm2-compiler/PCBuild.bnf: New file. |
| 8948 |
* gm2-compiler/PCBuild.def: New file. |
| 8949 |
* gm2-compiler/PCSymBuild.def: New file. |
| 8950 |
* gm2-compiler/PCSymBuild.mod: New file. |
| 8951 |
* gm2-compiler/PHBuild.bnf: New file. |
| 8952 |
* gm2-compiler/PHBuild.def: New file. |
| 8953 |
* gm2-compiler/README: New file. |
| 8954 |
* gm2-compiler/Sets.def: New file. |
| 8955 |
* gm2-compiler/Sets.mod: New file. |
| 8956 |
* gm2-compiler/SymbolConversion.def: New file. |
| 8957 |
* gm2-compiler/SymbolConversion.mod: New file. |
| 8958 |
* gm2-compiler/SymbolKey.def: New file. |
| 8959 |
* gm2-compiler/SymbolKey.mod: New file. |
| 8960 |
* gm2-compiler/SymbolTable.def: New file. |
| 8961 |
* gm2-compiler/SymbolTable.mod: New file. |
| 8962 |
* gm2-compiler/bnflex.def: New file. |
| 8963 |
* gm2-compiler/bnflex.mod: New file. |
| 8964 |
* gm2-compiler/cflex.def: New file. |
| 8965 |
* gm2-compiler/gm2.mod: New file. |
| 8966 |
* gm2-compiler/gm2lcc.mod: New file. |
| 8967 |
* gm2-compiler/gm2lgen.mod: New file. |
| 8968 |
* gm2-compiler/gm2lorder.mod: New file. |
| 8969 |
* gm2-compiler/m2flex.def: New file. |
| 8970 |
* gm2-compiler/ppg.mod: New file. |
| 8971 |
* gm2-gcc/README: New file. |
| 8972 |
* gm2-gcc/dynamicstrings.h: New file. |
| 8973 |
* gm2-gcc/gcc-consolidation.h: New file. |
| 8974 |
* gm2-gcc/init.cc: New file. |
| 8975 |
* gm2-gcc/init.def: New file. |
| 8976 |
* gm2-gcc/init.h: New file. |
| 8977 |
* gm2-gcc/m2assert.cc: New file. |
| 8978 |
* gm2-gcc/m2assert.h: New file. |
| 8979 |
* gm2-gcc/m2block.cc: New file. |
| 8980 |
* gm2-gcc/m2block.def: New file. |
| 8981 |
* gm2-gcc/m2block.h: New file. |
| 8982 |
* gm2-gcc/m2builtins.cc: New file. |
| 8983 |
* gm2-gcc/m2builtins.def: New file. |
| 8984 |
* gm2-gcc/m2builtins.h: New file. |
| 8985 |
* gm2-gcc/m2color.cc: New file. |
| 8986 |
* gm2-gcc/m2color.def: New file. |
| 8987 |
* gm2-gcc/m2color.h: New file. |
| 8988 |
* gm2-gcc/m2configure.cc: New file. |
| 8989 |
* gm2-gcc/m2configure.def: New file. |
| 8990 |
* gm2-gcc/m2configure.h: New file. |
| 8991 |
* gm2-gcc/m2convert.cc: New file. |
| 8992 |
* gm2-gcc/m2convert.def: New file. |
| 8993 |
* gm2-gcc/m2convert.h: New file. |
| 8994 |
* gm2-gcc/m2decl.cc: New file. |
| 8995 |
* gm2-gcc/m2decl.def: New file. |
| 8996 |
* gm2-gcc/m2decl.h: New file. |
| 8997 |
* gm2-gcc/m2except.cc: New file. |
| 8998 |
* gm2-gcc/m2except.def: New file. |
| 8999 |
* gm2-gcc/m2except.h: New file. |
| 9000 |
* gm2-gcc/m2expr.cc: New file. |
| 9001 |
* gm2-gcc/m2expr.def: New file. |
| 9002 |
* gm2-gcc/m2expr.h: New file. |
| 9003 |
* gm2-gcc/m2linemap.cc: New file. |
| 9004 |
* gm2-gcc/m2linemap.def: New file. |
| 9005 |
* gm2-gcc/m2linemap.h: New file. |
| 9006 |
* gm2-gcc/m2misc.cc: New file. |
| 9007 |
* gm2-gcc/m2misc.def: New file. |
| 9008 |
* gm2-gcc/m2misc.h: New file. |
| 9009 |
* gm2-gcc/m2options.h: New file. |
| 9010 |
* gm2-gcc/m2range.h: New file. |
| 9011 |
* gm2-gcc/m2search.h: New file. |
| 9012 |
* gm2-gcc/m2statement.cc: New file. |
| 9013 |
* gm2-gcc/m2statement.def: New file. |
| 9014 |
* gm2-gcc/m2statement.h: New file. |
| 9015 |
* gm2-gcc/m2top.cc: New file. |
| 9016 |
* gm2-gcc/m2top.def: New file. |
| 9017 |
* gm2-gcc/m2top.h: New file. |
| 9018 |
* gm2-gcc/m2tree.cc: New file. |
| 9019 |
* gm2-gcc/m2tree.def: New file. |
| 9020 |
* gm2-gcc/m2tree.h: New file. |
| 9021 |
* gm2-gcc/m2treelib.cc: New file. |
| 9022 |
* gm2-gcc/m2treelib.def: New file. |
| 9023 |
* gm2-gcc/m2treelib.h: New file. |
| 9024 |
* gm2-gcc/m2type.cc: New file. |
| 9025 |
* gm2-gcc/m2type.def: New file. |
| 9026 |
* gm2-gcc/m2type.h: New file. |
| 9027 |
* gm2-gcc/rtegraph.cc: New file. |
| 9028 |
* gm2-gcc/rtegraph.h: New file. |
| 9029 |
* gm2-ici/M2Emit.mod: New file. |
| 9030 |
* gm2-ici/README: New file. |
| 9031 |
* gm2-ici/m2linemap.c: New file. |
| 9032 |
* gm2-internals.texi: New file. |
| 9033 |
* gm2-lang.cc: New file. |
| 9034 |
* gm2-lang.h: New file. |
| 9035 |
* gm2-libiberty/README: New file. |
| 9036 |
* gm2-libiberty/choosetemp.def: New file. |
| 9037 |
* gm2-libiberty/pexecute.def: New file. |
| 9038 |
* gm2-libs-ch/M2LINK.c: New file. |
| 9039 |
* gm2-libs-ch/README: New file. |
| 9040 |
* gm2-libs-ch/RTcodummy.c: New file. |
| 9041 |
* gm2-libs-ch/RTintdummy.c: New file. |
| 9042 |
* gm2-libs-ch/Selective.c: New file. |
| 9043 |
* gm2-libs-ch/SysExceptions.c: New file. |
| 9044 |
* gm2-libs-ch/UnixArgs.cc: New file. |
| 9045 |
* gm2-libs-ch/cgetopt.c: New file. |
| 9046 |
* gm2-libs-ch/choosetemp.c: New file. |
| 9047 |
* gm2-libs-ch/dtoa.cc: New file. |
| 9048 |
* gm2-libs-ch/errno.c: New file. |
| 9049 |
* gm2-libs-ch/host.c: New file. |
| 9050 |
* gm2-libs-ch/ldtoa.cc: New file. |
| 9051 |
* gm2-libs-ch/m2rts.h: New file. |
| 9052 |
* gm2-libs-ch/termios.c: New file. |
| 9053 |
* gm2-libs-ch/tools.c: New file. |
| 9054 |
* gm2-libs-ch/wrapc.c: New file. |
| 9055 |
* gm2-libs-ch/xlibc.c: New file. |
| 9056 |
* gm2-libs-coroutines/Debug.def: New file. |
| 9057 |
* gm2-libs-coroutines/Debug.mod: New file. |
| 9058 |
* gm2-libs-coroutines/Executive.def: New file. |
| 9059 |
* gm2-libs-coroutines/Executive.mod: New file. |
| 9060 |
* gm2-libs-coroutines/KeyBoardLEDs.def: New file. |
| 9061 |
* gm2-libs-coroutines/README.texi: New file. |
| 9062 |
* gm2-libs-coroutines/SYSTEM.def: New file. |
| 9063 |
* gm2-libs-coroutines/SYSTEM.mod: New file. |
| 9064 |
* gm2-libs-coroutines/TimerHandler.def: New file. |
| 9065 |
* gm2-libs-coroutines/TimerHandler.mod: New file. |
| 9066 |
* gm2-libs-iso/COROUTINES.def: New file. |
| 9067 |
* gm2-libs-iso/COROUTINES.mod: New file. |
| 9068 |
* gm2-libs-iso/ChanConsts.def: New file. |
| 9069 |
* gm2-libs-iso/ChanConsts.h: New file. |
| 9070 |
* gm2-libs-iso/ChanConsts.mod: New file. |
| 9071 |
* gm2-libs-iso/CharClass.def: New file. |
| 9072 |
* gm2-libs-iso/CharClass.mod: New file. |
| 9073 |
* gm2-libs-iso/ClientSocket.def: New file. |
| 9074 |
* gm2-libs-iso/ClientSocket.mod: New file. |
| 9075 |
* gm2-libs-iso/ComplexMath.def: New file. |
| 9076 |
* gm2-libs-iso/ComplexMath.mod: New file. |
| 9077 |
* gm2-libs-iso/ConvStringLong.def: New file. |
| 9078 |
* gm2-libs-iso/ConvStringLong.mod: New file. |
| 9079 |
* gm2-libs-iso/ConvStringReal.def: New file. |
| 9080 |
* gm2-libs-iso/ConvStringReal.mod: New file. |
| 9081 |
* gm2-libs-iso/ConvTypes.def: New file. |
| 9082 |
* gm2-libs-iso/ConvTypes.mod: New file. |
| 9083 |
* gm2-libs-iso/EXCEPTIONS.def: New file. |
| 9084 |
* gm2-libs-iso/EXCEPTIONS.mod: New file. |
| 9085 |
* gm2-libs-iso/ErrnoCategory.def: New file. |
| 9086 |
* gm2-libs-iso/GeneralUserExceptions.def: New file. |
| 9087 |
* gm2-libs-iso/GeneralUserExceptions.mod: New file. |
| 9088 |
* gm2-libs-iso/IOChan.def: New file. |
| 9089 |
* gm2-libs-iso/IOChan.mod: New file. |
| 9090 |
* gm2-libs-iso/IOConsts.def: New file. |
| 9091 |
* gm2-libs-iso/IOConsts.mod: New file. |
| 9092 |
* gm2-libs-iso/IOLink.def: New file. |
| 9093 |
* gm2-libs-iso/IOLink.mod: New file. |
| 9094 |
* gm2-libs-iso/IOResult.def: New file. |
| 9095 |
* gm2-libs-iso/IOResult.mod: New file. |
| 9096 |
* gm2-libs-iso/LongComplexMath.def: New file. |
| 9097 |
* gm2-libs-iso/LongComplexMath.mod: New file. |
| 9098 |
* gm2-libs-iso/LongConv.def: New file. |
| 9099 |
* gm2-libs-iso/LongConv.mod: New file. |
| 9100 |
* gm2-libs-iso/LongIO.def: New file. |
| 9101 |
* gm2-libs-iso/LongIO.mod: New file. |
| 9102 |
* gm2-libs-iso/LongMath.def: New file. |
| 9103 |
* gm2-libs-iso/LongMath.mod: New file. |
| 9104 |
* gm2-libs-iso/LongStr.def: New file. |
| 9105 |
* gm2-libs-iso/LongStr.mod: New file. |
| 9106 |
* gm2-libs-iso/LongWholeIO.def: New file. |
| 9107 |
* gm2-libs-iso/LongWholeIO.mod: New file. |
| 9108 |
* gm2-libs-iso/LowLong.def: New file. |
| 9109 |
* gm2-libs-iso/LowLong.mod: New file. |
| 9110 |
* gm2-libs-iso/LowReal.def: New file. |
| 9111 |
* gm2-libs-iso/LowReal.mod: New file. |
| 9112 |
* gm2-libs-iso/LowShort.def: New file. |
| 9113 |
* gm2-libs-iso/LowShort.mod: New file. |
| 9114 |
* gm2-libs-iso/M2EXCEPTION.def: New file. |
| 9115 |
* gm2-libs-iso/M2EXCEPTION.mod: New file. |
| 9116 |
* gm2-libs-iso/M2RTS.def: New file. |
| 9117 |
* gm2-libs-iso/M2RTS.mod: New file. |
| 9118 |
* gm2-libs-iso/MemStream.def: New file. |
| 9119 |
* gm2-libs-iso/MemStream.mod: New file. |
| 9120 |
* gm2-libs-iso/Preemptive.def: New file. |
| 9121 |
* gm2-libs-iso/Preemptive.mod: New file. |
| 9122 |
* gm2-libs-iso/Processes.def: New file. |
| 9123 |
* gm2-libs-iso/Processes.mod: New file. |
| 9124 |
* gm2-libs-iso/ProgramArgs.def: New file. |
| 9125 |
* gm2-libs-iso/ProgramArgs.mod: New file. |
| 9126 |
* gm2-libs-iso/README.texi: New file. |
| 9127 |
* gm2-libs-iso/RTco.def: New file. |
| 9128 |
* gm2-libs-iso/RTdata.def: New file. |
| 9129 |
* gm2-libs-iso/RTdata.mod: New file. |
| 9130 |
* gm2-libs-iso/RTentity.def: New file. |
| 9131 |
* gm2-libs-iso/RTentity.mod: New file. |
| 9132 |
* gm2-libs-iso/RTfio.def: New file. |
| 9133 |
* gm2-libs-iso/RTfio.mod: New file. |
| 9134 |
* gm2-libs-iso/RTgen.def: New file. |
| 9135 |
* gm2-libs-iso/RTgen.mod: New file. |
| 9136 |
* gm2-libs-iso/RTgenif.def: New file. |
| 9137 |
* gm2-libs-iso/RTgenif.mod: New file. |
| 9138 |
* gm2-libs-iso/RTio.def: New file. |
| 9139 |
* gm2-libs-iso/RTio.mod: New file. |
| 9140 |
* gm2-libs-iso/RandomNumber.def: New file. |
| 9141 |
* gm2-libs-iso/RandomNumber.mod: New file. |
| 9142 |
* gm2-libs-iso/RawIO.def: New file. |
| 9143 |
* gm2-libs-iso/RawIO.mod: New file. |
| 9144 |
* gm2-libs-iso/RealConv.def: New file. |
| 9145 |
* gm2-libs-iso/RealConv.mod: New file. |
| 9146 |
* gm2-libs-iso/RealIO.def: New file. |
| 9147 |
* gm2-libs-iso/RealIO.mod: New file. |
| 9148 |
* gm2-libs-iso/RealMath.def: New file. |
| 9149 |
* gm2-libs-iso/RealMath.mod: New file. |
| 9150 |
* gm2-libs-iso/RealStr.def: New file. |
| 9151 |
* gm2-libs-iso/RealStr.mod: New file. |
| 9152 |
* gm2-libs-iso/RndFile.def: New file. |
| 9153 |
* gm2-libs-iso/RndFile.mod: New file. |
| 9154 |
* gm2-libs-iso/SIOResult.def: New file. |
| 9155 |
* gm2-libs-iso/SIOResult.mod: New file. |
| 9156 |
* gm2-libs-iso/SLongIO.def: New file. |
| 9157 |
* gm2-libs-iso/SLongIO.mod: New file. |
| 9158 |
* gm2-libs-iso/SLongWholeIO.def: New file. |
| 9159 |
* gm2-libs-iso/SLongWholeIO.mod: New file. |
| 9160 |
* gm2-libs-iso/SRawIO.def: New file. |
| 9161 |
* gm2-libs-iso/SRawIO.mod: New file. |
| 9162 |
* gm2-libs-iso/SRealIO.def: New file. |
| 9163 |
* gm2-libs-iso/SRealIO.mod: New file. |
| 9164 |
* gm2-libs-iso/SShortIO.def: New file. |
| 9165 |
* gm2-libs-iso/SShortIO.mod: New file. |
| 9166 |
* gm2-libs-iso/SShortWholeIO.def: New file. |
| 9167 |
* gm2-libs-iso/SShortWholeIO.mod: New file. |
| 9168 |
* gm2-libs-iso/STextIO.def: New file. |
| 9169 |
* gm2-libs-iso/STextIO.mod: New file. |
| 9170 |
* gm2-libs-iso/SWholeIO.def: New file. |
| 9171 |
* gm2-libs-iso/SWholeIO.mod: New file. |
| 9172 |
* gm2-libs-iso/SYSTEM.def: New file. |
| 9173 |
* gm2-libs-iso/SYSTEM.mod: New file. |
| 9174 |
* gm2-libs-iso/Semaphores.def: New file. |
| 9175 |
* gm2-libs-iso/Semaphores.mod: New file. |
| 9176 |
* gm2-libs-iso/SeqFile.def: New file. |
| 9177 |
* gm2-libs-iso/SeqFile.mod: New file. |
| 9178 |
* gm2-libs-iso/ShortComplexMath.def: New file. |
| 9179 |
* gm2-libs-iso/ShortComplexMath.mod: New file. |
| 9180 |
* gm2-libs-iso/ShortIO.def: New file. |
| 9181 |
* gm2-libs-iso/ShortIO.mod: New file. |
| 9182 |
* gm2-libs-iso/ShortWholeIO.def: New file. |
| 9183 |
* gm2-libs-iso/ShortWholeIO.mod: New file. |
| 9184 |
* gm2-libs-iso/SimpleCipher.def: New file. |
| 9185 |
* gm2-libs-iso/SimpleCipher.mod: New file. |
| 9186 |
* gm2-libs-iso/StdChans.def: New file. |
| 9187 |
* gm2-libs-iso/StdChans.mod: New file. |
| 9188 |
* gm2-libs-iso/Storage.def: New file. |
| 9189 |
* gm2-libs-iso/Storage.mod: New file. |
| 9190 |
* gm2-libs-iso/StreamFile.def: New file. |
| 9191 |
* gm2-libs-iso/StreamFile.mod: New file. |
| 9192 |
* gm2-libs-iso/StringChan.def: New file. |
| 9193 |
* gm2-libs-iso/StringChan.mod: New file. |
| 9194 |
* gm2-libs-iso/Strings.def: New file. |
| 9195 |
* gm2-libs-iso/Strings.mod: New file. |
| 9196 |
* gm2-libs-iso/SysClock.def: New file. |
| 9197 |
* gm2-libs-iso/SysClock.mod: New file. |
| 9198 |
* gm2-libs-iso/TERMINATION.def: New file. |
| 9199 |
* gm2-libs-iso/TERMINATION.mod: New file. |
| 9200 |
* gm2-libs-iso/TermFile.def: New file. |
| 9201 |
* gm2-libs-iso/TermFile.mod: New file. |
| 9202 |
* gm2-libs-iso/TextIO.def: New file. |
| 9203 |
* gm2-libs-iso/TextIO.mod: New file. |
| 9204 |
* gm2-libs-iso/WholeConv.def: New file. |
| 9205 |
* gm2-libs-iso/WholeConv.mod: New file. |
| 9206 |
* gm2-libs-iso/WholeIO.def: New file. |
| 9207 |
* gm2-libs-iso/WholeIO.mod: New file. |
| 9208 |
* gm2-libs-iso/WholeStr.def: New file. |
| 9209 |
* gm2-libs-iso/WholeStr.mod: New file. |
| 9210 |
* gm2-libs-iso/wrapsock.c: New file. |
| 9211 |
* gm2-libs-iso/wrapsock.def: New file. |
| 9212 |
* gm2-libs-iso/wraptime.c: New file. |
| 9213 |
* gm2-libs-iso/wraptime.def: New file. |
| 9214 |
* gm2-libs-min/M2RTS.def: New file. |
| 9215 |
* gm2-libs-min/M2RTS.mod: New file. |
| 9216 |
* gm2-libs-min/SYSTEM.def: New file. |
| 9217 |
* gm2-libs-min/SYSTEM.mod: New file. |
| 9218 |
* gm2-libs-min/libc.c: New file. |
| 9219 |
* gm2-libs-min/libc.def: New file. |
| 9220 |
* gm2-libs-pim/BitBlockOps.def: New file. |
| 9221 |
* gm2-libs-pim/BitBlockOps.mod: New file. |
| 9222 |
* gm2-libs-pim/BitByteOps.def: New file. |
| 9223 |
* gm2-libs-pim/BitByteOps.mod: New file. |
| 9224 |
* gm2-libs-pim/BitWordOps.def: New file. |
| 9225 |
* gm2-libs-pim/BitWordOps.mod: New file. |
| 9226 |
* gm2-libs-pim/BlockOps.def: New file. |
| 9227 |
* gm2-libs-pim/BlockOps.mod: New file. |
| 9228 |
* gm2-libs-pim/Break.c: New file. |
| 9229 |
* gm2-libs-pim/Break.def: New file. |
| 9230 |
* gm2-libs-pim/CardinalIO.def: New file. |
| 9231 |
* gm2-libs-pim/CardinalIO.mod: New file. |
| 9232 |
* gm2-libs-pim/Conversions.def: New file. |
| 9233 |
* gm2-libs-pim/Conversions.mod: New file. |
| 9234 |
* gm2-libs-pim/DebugPMD.def: New file. |
| 9235 |
* gm2-libs-pim/DebugPMD.mod: New file. |
| 9236 |
* gm2-libs-pim/DebugTrace.def: New file. |
| 9237 |
* gm2-libs-pim/DebugTrace.mod: New file. |
| 9238 |
* gm2-libs-pim/Delay.def: New file. |
| 9239 |
* gm2-libs-pim/Delay.mod: New file. |
| 9240 |
* gm2-libs-pim/Display.def: New file. |
| 9241 |
* gm2-libs-pim/Display.mod: New file. |
| 9242 |
* gm2-libs-pim/ErrorCode.def: New file. |
| 9243 |
* gm2-libs-pim/ErrorCode.mod: New file. |
| 9244 |
* gm2-libs-pim/FileSystem.def: New file. |
| 9245 |
* gm2-libs-pim/FileSystem.mod: New file. |
| 9246 |
* gm2-libs-pim/FloatingUtilities.def: New file. |
| 9247 |
* gm2-libs-pim/FloatingUtilities.mod: New file. |
| 9248 |
* gm2-libs-pim/InOut.def: New file. |
| 9249 |
* gm2-libs-pim/InOut.mod: New file. |
| 9250 |
* gm2-libs-pim/Keyboard.def: New file. |
| 9251 |
* gm2-libs-pim/Keyboard.mod: New file. |
| 9252 |
* gm2-libs-pim/LongIO.def: New file. |
| 9253 |
* gm2-libs-pim/LongIO.mod: New file. |
| 9254 |
* gm2-libs-pim/NumberConversion.def: New file. |
| 9255 |
* gm2-libs-pim/NumberConversion.mod: New file. |
| 9256 |
* gm2-libs-pim/README.texi: New file. |
| 9257 |
* gm2-libs-pim/Random.def: New file. |
| 9258 |
* gm2-libs-pim/Random.mod: New file. |
| 9259 |
* gm2-libs-pim/RealConversions.def: New file. |
| 9260 |
* gm2-libs-pim/RealConversions.mod: New file. |
| 9261 |
* gm2-libs-pim/RealInOut.def: New file. |
| 9262 |
* gm2-libs-pim/RealInOut.mod: New file. |
| 9263 |
* gm2-libs-pim/Strings.def: New file. |
| 9264 |
* gm2-libs-pim/Strings.mod: New file. |
| 9265 |
* gm2-libs-pim/Termbase.def: New file. |
| 9266 |
* gm2-libs-pim/Termbase.mod: New file. |
| 9267 |
* gm2-libs-pim/Terminal.def: New file. |
| 9268 |
* gm2-libs-pim/Terminal.mod: New file. |
| 9269 |
* gm2-libs-pim/TimeDate.def: New file. |
| 9270 |
* gm2-libs-pim/TimeDate.mod: New file. |
| 9271 |
* gm2-libs/ASCII.def: New file. |
| 9272 |
* gm2-libs/ASCII.mod: New file. |
| 9273 |
* gm2-libs/Args.def: New file. |
| 9274 |
* gm2-libs/Args.mod: New file. |
| 9275 |
* gm2-libs/Assertion.def: New file. |
| 9276 |
* gm2-libs/Assertion.mod: New file. |
| 9277 |
* gm2-libs/Break.def: New file. |
| 9278 |
* gm2-libs/Break.mod: New file. |
| 9279 |
* gm2-libs/Builtins.def: New file. |
| 9280 |
* gm2-libs/Builtins.mod: New file. |
| 9281 |
* gm2-libs/COROUTINES.def: New file. |
| 9282 |
* gm2-libs/COROUTINES.mod: New file. |
| 9283 |
* gm2-libs/CmdArgs.def: New file. |
| 9284 |
* gm2-libs/CmdArgs.mod: New file. |
| 9285 |
* gm2-libs/Debug.def: New file. |
| 9286 |
* gm2-libs/Debug.mod: New file. |
| 9287 |
* gm2-libs/DynamicStrings.def: New file. |
| 9288 |
* gm2-libs/DynamicStrings.mod: New file. |
| 9289 |
* gm2-libs/Environment.def: New file. |
| 9290 |
* gm2-libs/Environment.mod: New file. |
| 9291 |
* gm2-libs/FIO.def: New file. |
| 9292 |
* gm2-libs/FIO.mod: New file. |
| 9293 |
* gm2-libs/FormatStrings.def: New file. |
| 9294 |
* gm2-libs/FormatStrings.mod: New file. |
| 9295 |
* gm2-libs/FpuIO.def: New file. |
| 9296 |
* gm2-libs/FpuIO.mod: New file. |
| 9297 |
* gm2-libs/GetOpt.def: New file. |
| 9298 |
* gm2-libs/GetOpt.mod: New file. |
| 9299 |
* gm2-libs/IO.def: New file. |
| 9300 |
* gm2-libs/IO.mod: New file. |
| 9301 |
* gm2-libs/Indexing.def: New file. |
| 9302 |
* gm2-libs/Indexing.mod: New file. |
| 9303 |
* gm2-libs/LMathLib0.def: New file. |
| 9304 |
* gm2-libs/LMathLib0.mod: New file. |
| 9305 |
* gm2-libs/LegacyReal.def: New file. |
| 9306 |
* gm2-libs/LegacyReal.mod: New file. |
| 9307 |
* gm2-libs/M2Dependent.def: New file. |
| 9308 |
* gm2-libs/M2Dependent.mod: New file. |
| 9309 |
* gm2-libs/M2EXCEPTION.def: New file. |
| 9310 |
* gm2-libs/M2EXCEPTION.mod: New file. |
| 9311 |
* gm2-libs/M2LINK.def: New file. |
| 9312 |
* gm2-libs/M2RTS.def: New file. |
| 9313 |
* gm2-libs/M2RTS.mod: New file. |
| 9314 |
* gm2-libs/MathLib0.def: New file. |
| 9315 |
* gm2-libs/MathLib0.mod: New file. |
| 9316 |
* gm2-libs/MemUtils.def: New file. |
| 9317 |
* gm2-libs/MemUtils.mod: New file. |
| 9318 |
* gm2-libs/NumberIO.def: New file. |
| 9319 |
* gm2-libs/NumberIO.mod: New file. |
| 9320 |
* gm2-libs/OptLib.def: New file. |
| 9321 |
* gm2-libs/OptLib.mod: New file. |
| 9322 |
* gm2-libs/PushBackInput.def: New file. |
| 9323 |
* gm2-libs/PushBackInput.mod: New file. |
| 9324 |
* gm2-libs/README.texi: New file. |
| 9325 |
* gm2-libs/RTExceptions.def: New file. |
| 9326 |
* gm2-libs/RTExceptions.mod: New file. |
| 9327 |
* gm2-libs/RTint.def: New file. |
| 9328 |
* gm2-libs/RTint.mod: New file. |
| 9329 |
* gm2-libs/SArgs.def: New file. |
| 9330 |
* gm2-libs/SArgs.mod: New file. |
| 9331 |
* gm2-libs/SCmdArgs.def: New file. |
| 9332 |
* gm2-libs/SCmdArgs.mod: New file. |
| 9333 |
* gm2-libs/SEnvironment.def: New file. |
| 9334 |
* gm2-libs/SEnvironment.mod: New file. |
| 9335 |
* gm2-libs/SFIO.def: New file. |
| 9336 |
* gm2-libs/SFIO.mod: New file. |
| 9337 |
* gm2-libs/SMathLib0.def: New file. |
| 9338 |
* gm2-libs/SMathLib0.mod: New file. |
| 9339 |
* gm2-libs/SYSTEM.def: New file. |
| 9340 |
* gm2-libs/SYSTEM.mod: New file. |
| 9341 |
* gm2-libs/Scan.def: New file. |
| 9342 |
* gm2-libs/Scan.mod: New file. |
| 9343 |
* gm2-libs/Selective.def: New file. |
| 9344 |
* gm2-libs/StdIO.def: New file. |
| 9345 |
* gm2-libs/StdIO.mod: New file. |
| 9346 |
* gm2-libs/Storage.def: New file. |
| 9347 |
* gm2-libs/Storage.mod: New file. |
| 9348 |
* gm2-libs/StrCase.def: New file. |
| 9349 |
* gm2-libs/StrCase.mod: New file. |
| 9350 |
* gm2-libs/StrIO.def: New file. |
| 9351 |
* gm2-libs/StrIO.mod: New file. |
| 9352 |
* gm2-libs/StrLib.def: New file. |
| 9353 |
* gm2-libs/StrLib.mod: New file. |
| 9354 |
* gm2-libs/StringConvert.def: New file. |
| 9355 |
* gm2-libs/StringConvert.mod: New file. |
| 9356 |
* gm2-libs/SysExceptions.def: New file. |
| 9357 |
* gm2-libs/SysStorage.def: New file. |
| 9358 |
* gm2-libs/SysStorage.mod: New file. |
| 9359 |
* gm2-libs/TimeString.def: New file. |
| 9360 |
* gm2-libs/TimeString.mod: New file. |
| 9361 |
* gm2-libs/UnixArgs.def: New file. |
| 9362 |
* gm2-libs/cbuiltin.def: New file. |
| 9363 |
* gm2-libs/cgetopt.def: New file. |
| 9364 |
* gm2-libs/config-host: New file. |
| 9365 |
* gm2-libs/config-host.in: New file. |
| 9366 |
* gm2-libs/cxxabi.def: New file. |
| 9367 |
* gm2-libs/dtoa.def: New file. |
| 9368 |
* gm2-libs/errno.def: New file. |
| 9369 |
* gm2-libs/gdbif.def: New file. |
| 9370 |
* gm2-libs/gdbif.mod: New file. |
| 9371 |
* gm2-libs/gm2-libs-host.h.in: New file. |
| 9372 |
* gm2-libs/ldtoa.def: New file. |
| 9373 |
* gm2-libs/libc.def: New file. |
| 9374 |
* gm2-libs/libm.def: New file. |
| 9375 |
* gm2-libs/sckt.def: New file. |
| 9376 |
* gm2-libs/termios.def: New file. |
| 9377 |
* gm2-libs/wrapc.def: New file. |
| 9378 |
* gm2config.h.in: New file. |
| 9379 |
* gm2spec.cc: New file. |
| 9380 |
* gm2version.h: New file. |
| 9381 |
* init/README: New file. |
| 9382 |
* init/mcinit: New file. |
| 9383 |
* init/ppginit: New file. |
| 9384 |
* lang-specs.h: New file. |
| 9385 |
* lang.opt: New file. |
| 9386 |
* m2-tree.def: New file. |
| 9387 |
* m2-tree.h: New file. |
| 9388 |
* m2.flex: New file. |
| 9389 |
* m2pp.cc: New file. |
| 9390 |
* m2pp.h: New file. |
| 9391 |
* mc-boot-ch/GBuiltins.c: New file. |
| 9392 |
* mc-boot-ch/GM2LINK.c: New file. |
| 9393 |
* mc-boot-ch/GRTco.c: New file. |
| 9394 |
* mc-boot-ch/GSYSTEM.c: New file. |
| 9395 |
* mc-boot-ch/GSelective.c: New file. |
| 9396 |
* mc-boot-ch/GSysExceptions.c: New file. |
| 9397 |
* mc-boot-ch/GUnixArgs.cc: New file. |
| 9398 |
* mc-boot-ch/Gabort.c: New file. |
| 9399 |
* mc-boot-ch/Gcbuiltin.c: New file. |
| 9400 |
* mc-boot-ch/Gdtoa.c: New file. |
| 9401 |
* mc-boot-ch/Gerrno.c: New file. |
| 9402 |
* mc-boot-ch/Gldtoa.c: New file. |
| 9403 |
* mc-boot-ch/Glibc.c: New file. |
| 9404 |
* mc-boot-ch/Glibm.c: New file. |
| 9405 |
* mc-boot-ch/Gmcrts.c: New file. |
| 9406 |
* mc-boot-ch/Gmcrts.h: New file. |
| 9407 |
* mc-boot-ch/Gnetwork.h: New file. |
| 9408 |
* mc-boot-ch/Gtermios.cc: New file. |
| 9409 |
* mc-boot-ch/Gwrapc.c: New file. |
| 9410 |
* mc-boot-ch/README: New file. |
| 9411 |
* mc-boot-ch/m2rts.h: New file. |
| 9412 |
* mc-boot-ch/network.c: New file. |
| 9413 |
* mc-boot/GASCII.c: New file. |
| 9414 |
* mc-boot/GASCII.h: New file. |
| 9415 |
* mc-boot/GArgs.c: New file. |
| 9416 |
* mc-boot/GArgs.h: New file. |
| 9417 |
* mc-boot/GAssertion.c: New file. |
| 9418 |
* mc-boot/GAssertion.h: New file. |
| 9419 |
* mc-boot/GBreak.c: New file. |
| 9420 |
* mc-boot/GBreak.h: New file. |
| 9421 |
* mc-boot/GCOROUTINES.h: New file. |
| 9422 |
* mc-boot/GCmdArgs.c: New file. |
| 9423 |
* mc-boot/GCmdArgs.h: New file. |
| 9424 |
* mc-boot/GDebug.c: New file. |
| 9425 |
* mc-boot/GDebug.h: New file. |
| 9426 |
* mc-boot/GDynamicStrings.c: New file. |
| 9427 |
* mc-boot/GDynamicStrings.h: New file. |
| 9428 |
* mc-boot/GEnvironment.c: New file. |
| 9429 |
* mc-boot/GEnvironment.h: New file. |
| 9430 |
* mc-boot/GFIO.c: New file. |
| 9431 |
* mc-boot/GFIO.h: New file. |
| 9432 |
* mc-boot/GFormatStrings.c: New file. |
| 9433 |
* mc-boot/GFormatStrings.h: New file. |
| 9434 |
* mc-boot/GFpuIO.c: New file. |
| 9435 |
* mc-boot/GFpuIO.h: New file. |
| 9436 |
* mc-boot/GIO.c: New file. |
| 9437 |
* mc-boot/GIO.h: New file. |
| 9438 |
* mc-boot/GIndexing.c: New file. |
| 9439 |
* mc-boot/GIndexing.h: New file. |
| 9440 |
* mc-boot/GM2Dependent.c: New file. |
| 9441 |
* mc-boot/GM2Dependent.h: New file. |
| 9442 |
* mc-boot/GM2EXCEPTION.c: New file. |
| 9443 |
* mc-boot/GM2EXCEPTION.h: New file. |
| 9444 |
* mc-boot/GM2LINK.h: New file. |
| 9445 |
* mc-boot/GM2RTS.c: New file. |
| 9446 |
* mc-boot/GM2RTS.h: New file. |
| 9447 |
* mc-boot/GMemUtils.c: New file. |
| 9448 |
* mc-boot/GMemUtils.h: New file. |
| 9449 |
* mc-boot/GNumberIO.c: New file. |
| 9450 |
* mc-boot/GNumberIO.h: New file. |
| 9451 |
* mc-boot/GPushBackInput.c: New file. |
| 9452 |
* mc-boot/GPushBackInput.h: New file. |
| 9453 |
* mc-boot/GRTExceptions.c: New file. |
| 9454 |
* mc-boot/GRTExceptions.h: New file. |
| 9455 |
* mc-boot/GRTco.h: New file. |
| 9456 |
* mc-boot/GRTint.c: New file. |
| 9457 |
* mc-boot/GRTint.h: New file. |
| 9458 |
* mc-boot/GSArgs.c: New file. |
| 9459 |
* mc-boot/GSArgs.h: New file. |
| 9460 |
* mc-boot/GSFIO.c: New file. |
| 9461 |
* mc-boot/GSFIO.h: New file. |
| 9462 |
* mc-boot/GSYSTEM.h: New file. |
| 9463 |
* mc-boot/GSelective.h: New file. |
| 9464 |
* mc-boot/GStdIO.c: New file. |
| 9465 |
* mc-boot/GStdIO.h: New file. |
| 9466 |
* mc-boot/GStorage.c: New file. |
| 9467 |
* mc-boot/GStorage.h: New file. |
| 9468 |
* mc-boot/GStrCase.c: New file. |
| 9469 |
* mc-boot/GStrCase.h: New file. |
| 9470 |
* mc-boot/GStrIO.c: New file. |
| 9471 |
* mc-boot/GStrIO.h: New file. |
| 9472 |
* mc-boot/GStrLib.c: New file. |
| 9473 |
* mc-boot/GStrLib.h: New file. |
| 9474 |
* mc-boot/GStringConvert.c: New file. |
| 9475 |
* mc-boot/GStringConvert.h: New file. |
| 9476 |
* mc-boot/GSysExceptions.h: New file. |
| 9477 |
* mc-boot/GSysStorage.c: New file. |
| 9478 |
* mc-boot/GSysStorage.h: New file. |
| 9479 |
* mc-boot/GTimeString.c: New file. |
| 9480 |
* mc-boot/GTimeString.h: New file. |
| 9481 |
* mc-boot/GUnixArgs.h: New file. |
| 9482 |
* mc-boot/Galists.c: New file. |
| 9483 |
* mc-boot/Galists.h: New file. |
| 9484 |
* mc-boot/Gdecl.c: New file. |
| 9485 |
* mc-boot/Gdecl.h: New file. |
| 9486 |
* mc-boot/Gdtoa.h: New file. |
| 9487 |
* mc-boot/Gerrno.h: New file. |
| 9488 |
* mc-boot/Gkeyc.c: New file. |
| 9489 |
* mc-boot/Gkeyc.h: New file. |
| 9490 |
* mc-boot/Gldtoa.h: New file. |
| 9491 |
* mc-boot/Glibc.h: New file. |
| 9492 |
* mc-boot/Glibm.h: New file. |
| 9493 |
* mc-boot/Glists.c: New file. |
| 9494 |
* mc-boot/Glists.h: New file. |
| 9495 |
* mc-boot/GmcComment.c: New file. |
| 9496 |
* mc-boot/GmcComment.h: New file. |
| 9497 |
* mc-boot/GmcComp.c: New file. |
| 9498 |
* mc-boot/GmcComp.h: New file. |
| 9499 |
* mc-boot/GmcDebug.c: New file. |
| 9500 |
* mc-boot/GmcDebug.h: New file. |
| 9501 |
* mc-boot/GmcError.c: New file. |
| 9502 |
* mc-boot/GmcError.h: New file. |
| 9503 |
* mc-boot/GmcFileName.c: New file. |
| 9504 |
* mc-boot/GmcFileName.h: New file. |
| 9505 |
* mc-boot/GmcLexBuf.c: New file. |
| 9506 |
* mc-boot/GmcLexBuf.h: New file. |
| 9507 |
* mc-boot/GmcMetaError.c: New file. |
| 9508 |
* mc-boot/GmcMetaError.h: New file. |
| 9509 |
* mc-boot/GmcOptions.c: New file. |
| 9510 |
* mc-boot/GmcOptions.h: New file. |
| 9511 |
* mc-boot/GmcPreprocess.c: New file. |
| 9512 |
* mc-boot/GmcPreprocess.h: New file. |
| 9513 |
* mc-boot/GmcPretty.c: New file. |
| 9514 |
* mc-boot/GmcPretty.h: New file. |
| 9515 |
* mc-boot/GmcPrintf.c: New file. |
| 9516 |
* mc-boot/GmcPrintf.h: New file. |
| 9517 |
* mc-boot/GmcQuiet.c: New file. |
| 9518 |
* mc-boot/GmcQuiet.h: New file. |
| 9519 |
* mc-boot/GmcReserved.c: New file. |
| 9520 |
* mc-boot/GmcReserved.h: New file. |
| 9521 |
* mc-boot/GmcSearch.c: New file. |
| 9522 |
* mc-boot/GmcSearch.h: New file. |
| 9523 |
* mc-boot/GmcStack.c: New file. |
| 9524 |
* mc-boot/GmcStack.h: New file. |
| 9525 |
* mc-boot/GmcStream.c: New file. |
| 9526 |
* mc-boot/GmcStream.h: New file. |
| 9527 |
* mc-boot/Gmcflex.h: New file. |
| 9528 |
* mc-boot/Gmcp1.c: New file. |
| 9529 |
* mc-boot/Gmcp1.h: New file. |
| 9530 |
* mc-boot/Gmcp2.c: New file. |
| 9531 |
* mc-boot/Gmcp2.h: New file. |
| 9532 |
* mc-boot/Gmcp3.c: New file. |
| 9533 |
* mc-boot/Gmcp3.h: New file. |
| 9534 |
* mc-boot/Gmcp4.c: New file. |
| 9535 |
* mc-boot/Gmcp4.h: New file. |
| 9536 |
* mc-boot/Gmcp5.c: New file. |
| 9537 |
* mc-boot/Gmcp5.h: New file. |
| 9538 |
* mc-boot/GnameKey.c: New file. |
| 9539 |
* mc-boot/GnameKey.h: New file. |
| 9540 |
* mc-boot/Gpth.h: New file. |
| 9541 |
* mc-boot/GsymbolKey.c: New file. |
| 9542 |
* mc-boot/GsymbolKey.h: New file. |
| 9543 |
* mc-boot/Gtermios.h: New file. |
| 9544 |
* mc-boot/Gtop.c: New file. |
| 9545 |
* mc-boot/Gvarargs.c: New file. |
| 9546 |
* mc-boot/Gvarargs.h: New file. |
| 9547 |
* mc-boot/Gwlists.c: New file. |
| 9548 |
* mc-boot/Gwlists.h: New file. |
| 9549 |
* mc-boot/Gwrapc.h: New file. |
| 9550 |
* mc-boot/README: New file. |
| 9551 |
* mc/Indexing.def: New file. |
| 9552 |
* mc/Indexing.mod: New file. |
| 9553 |
* mc/README: New file. |
| 9554 |
* mc/alists.def: New file. |
| 9555 |
* mc/alists.mod: New file. |
| 9556 |
* mc/decl.def: New file. |
| 9557 |
* mc/decl.mod: New file. |
| 9558 |
* mc/decl.mod-extra: New file. |
| 9559 |
* mc/keyc.def: New file. |
| 9560 |
* mc/keyc.mod: New file. |
| 9561 |
* mc/lists.def: New file. |
| 9562 |
* mc/lists.mod: New file. |
| 9563 |
* mc/m2flex.def: New file. |
| 9564 |
* mc/mc.flex: New file. |
| 9565 |
* mc/mcComment.def: New file. |
| 9566 |
* mc/mcComment.h: New file. |
| 9567 |
* mc/mcComment.mod: New file. |
| 9568 |
* mc/mcComp.def: New file. |
| 9569 |
* mc/mcComp.mod: New file. |
| 9570 |
* mc/mcDebug.def: New file. |
| 9571 |
* mc/mcDebug.mod: New file. |
| 9572 |
* mc/mcError.def: New file. |
| 9573 |
* mc/mcError.mod: New file. |
| 9574 |
* mc/mcFileName.def: New file. |
| 9575 |
* mc/mcFileName.mod: New file. |
| 9576 |
* mc/mcLexBuf.def: New file. |
| 9577 |
* mc/mcLexBuf.h: New file. |
| 9578 |
* mc/mcLexBuf.mod: New file. |
| 9579 |
* mc/mcMetaError.def: New file. |
| 9580 |
* mc/mcMetaError.mod: New file. |
| 9581 |
* mc/mcOptions.def: New file. |
| 9582 |
* mc/mcOptions.mod: New file. |
| 9583 |
* mc/mcPreprocess.def: New file. |
| 9584 |
* mc/mcPreprocess.mod: New file. |
| 9585 |
* mc/mcPretty.def: New file. |
| 9586 |
* mc/mcPretty.mod: New file. |
| 9587 |
* mc/mcPrintf.def: New file. |
| 9588 |
* mc/mcPrintf.mod: New file. |
| 9589 |
* mc/mcQuiet.def: New file. |
| 9590 |
* mc/mcQuiet.mod: New file. |
| 9591 |
* mc/mcReserved.def: New file. |
| 9592 |
* mc/mcReserved.h: New file. |
| 9593 |
* mc/mcReserved.mod: New file. |
| 9594 |
* mc/mcSearch.def: New file. |
| 9595 |
* mc/mcSearch.mod: New file. |
| 9596 |
* mc/mcStack.def: New file. |
| 9597 |
* mc/mcStack.mod: New file. |
| 9598 |
* mc/mcStream.def: New file. |
| 9599 |
* mc/mcStream.mod: New file. |
| 9600 |
* mc/mcflex.def: New file. |
| 9601 |
* mc/mcp1.bnf: New file. |
| 9602 |
* mc/mcp1.def: New file. |
| 9603 |
* mc/mcp2.bnf: New file. |
| 9604 |
* mc/mcp2.def: New file. |
| 9605 |
* mc/mcp3.bnf: New file. |
| 9606 |
* mc/mcp3.def: New file. |
| 9607 |
* mc/mcp4.bnf: New file. |
| 9608 |
* mc/mcp4.def: New file. |
| 9609 |
* mc/mcp5.bnf: New file. |
| 9610 |
* mc/mcp5.def: New file. |
| 9611 |
* mc/nameKey.def: New file. |
| 9612 |
* mc/nameKey.mod: New file. |
| 9613 |
* mc/symbolKey.def: New file. |
| 9614 |
* mc/symbolKey.mod: New file. |
| 9615 |
* mc/top.mod: New file. |
| 9616 |
* mc/varargs.def: New file. |
| 9617 |
* mc/varargs.mod: New file. |
| 9618 |
* mc/wlists.def: New file. |
| 9619 |
* mc/wlists.mod: New file. |
| 9620 |
* pge-boot/GASCII.c: New file. |
| 9621 |
* pge-boot/GASCII.h: New file. |
| 9622 |
* pge-boot/GArgs.c: New file. |
| 9623 |
* pge-boot/GArgs.h: New file. |
| 9624 |
* pge-boot/GAssertion.c: New file. |
| 9625 |
* pge-boot/GAssertion.h: New file. |
| 9626 |
* pge-boot/GBreak.h: New file. |
| 9627 |
* pge-boot/GBuiltins.c: New file. |
| 9628 |
* pge-boot/GCmdArgs.h: New file. |
| 9629 |
* pge-boot/GDebug.c: New file. |
| 9630 |
* pge-boot/GDebug.h: New file. |
| 9631 |
* pge-boot/GDynamicStrings.c: New file. |
| 9632 |
* pge-boot/GDynamicStrings.h: New file. |
| 9633 |
* pge-boot/GEnvironment.h: New file. |
| 9634 |
* pge-boot/GFIO.c: New file. |
| 9635 |
* pge-boot/GFIO.h: New file. |
| 9636 |
* pge-boot/GFormatStrings.h: New file. |
| 9637 |
* pge-boot/GFpuIO.h: New file. |
| 9638 |
* pge-boot/GIO.c: New file. |
| 9639 |
* pge-boot/GIO.h: New file. |
| 9640 |
* pge-boot/GIndexing.c: New file. |
| 9641 |
* pge-boot/GIndexing.h: New file. |
| 9642 |
* pge-boot/GLists.c: New file. |
| 9643 |
* pge-boot/GLists.h: New file. |
| 9644 |
* pge-boot/GM2Dependent.c: New file. |
| 9645 |
* pge-boot/GM2Dependent.h: New file. |
| 9646 |
* pge-boot/GM2EXCEPTION.c: New file. |
| 9647 |
* pge-boot/GM2EXCEPTION.h: New file. |
| 9648 |
* pge-boot/GM2LINK.c: New file. |
| 9649 |
* pge-boot/GM2LINK.h: New file. |
| 9650 |
* pge-boot/GM2RTS.c: New file. |
| 9651 |
* pge-boot/GM2RTS.h: New file. |
| 9652 |
* pge-boot/GNameKey.c: New file. |
| 9653 |
* pge-boot/GNameKey.h: New file. |
| 9654 |
* pge-boot/GNumberIO.c: New file. |
| 9655 |
* pge-boot/GNumberIO.h: New file. |
| 9656 |
* pge-boot/GOutput.c: New file. |
| 9657 |
* pge-boot/GOutput.h: New file. |
| 9658 |
* pge-boot/GPushBackInput.c: New file. |
| 9659 |
* pge-boot/GPushBackInput.h: New file. |
| 9660 |
* pge-boot/GRTExceptions.c: New file. |
| 9661 |
* pge-boot/GRTExceptions.h: New file. |
| 9662 |
* pge-boot/GRTco.c: New file. |
| 9663 |
* pge-boot/GSArgs.h: New file. |
| 9664 |
* pge-boot/GSEnvironment.h: New file. |
| 9665 |
* pge-boot/GSFIO.c: New file. |
| 9666 |
* pge-boot/GSFIO.h: New file. |
| 9667 |
* pge-boot/GSYSTEM.c: New file. |
| 9668 |
* pge-boot/GSYSTEM.h: New file. |
| 9669 |
* pge-boot/GScan.h: New file. |
| 9670 |
* pge-boot/GSelective.c: New file. |
| 9671 |
* pge-boot/GStdIO.c: New file. |
| 9672 |
* pge-boot/GStdIO.h: New file. |
| 9673 |
* pge-boot/GStorage.c: New file. |
| 9674 |
* pge-boot/GStorage.h: New file. |
| 9675 |
* pge-boot/GStrCase.c: New file. |
| 9676 |
* pge-boot/GStrCase.h: New file. |
| 9677 |
* pge-boot/GStrIO.c: New file. |
| 9678 |
* pge-boot/GStrIO.h: New file. |
| 9679 |
* pge-boot/GStrLib.c: New file. |
| 9680 |
* pge-boot/GStrLib.h: New file. |
| 9681 |
* pge-boot/GStringConvert.h: New file. |
| 9682 |
* pge-boot/GSymbolKey.c: New file. |
| 9683 |
* pge-boot/GSymbolKey.h: New file. |
| 9684 |
* pge-boot/GSysExceptions.c: New file. |
| 9685 |
* pge-boot/GSysExceptions.h: New file. |
| 9686 |
* pge-boot/GSysStorage.c: New file. |
| 9687 |
* pge-boot/GSysStorage.h: New file. |
| 9688 |
* pge-boot/GTimeString.h: New file. |
| 9689 |
* pge-boot/GUnixArgs.cc: New file. |
| 9690 |
* pge-boot/GUnixArgs.h: New file. |
| 9691 |
* pge-boot/Gabort.c: New file. |
| 9692 |
* pge-boot/Gbnflex.c: New file. |
| 9693 |
* pge-boot/Gbnflex.h: New file. |
| 9694 |
* pge-boot/Gcbuiltin.c: New file. |
| 9695 |
* pge-boot/Gdtoa.c: New file. |
| 9696 |
* pge-boot/Gdtoa.h: New file. |
| 9697 |
* pge-boot/Gerrno.c: New file. |
| 9698 |
* pge-boot/Gerrno.h: New file. |
| 9699 |
* pge-boot/Gldtoa.c: New file. |
| 9700 |
* pge-boot/Gldtoa.h: New file. |
| 9701 |
* pge-boot/Glibc.c: New file. |
| 9702 |
* pge-boot/Glibc.h: New file. |
| 9703 |
* pge-boot/Glibm.c: New file. |
| 9704 |
* pge-boot/Glibm.h: New file. |
| 9705 |
* pge-boot/Gmcrts.c: New file. |
| 9706 |
* pge-boot/Gmcrts.h: New file. |
| 9707 |
* pge-boot/Gnetwork.h: New file. |
| 9708 |
* pge-boot/Gpge.c: New file. |
| 9709 |
* pge-boot/Gtermios.cc: New file. |
| 9710 |
* pge-boot/Gtermios.h: New file. |
| 9711 |
* pge-boot/Gwrapc.c: New file. |
| 9712 |
* pge-boot/Gwrapc.h: New file. |
| 9713 |
* pge-boot/README: New file. |
| 9714 |
* pge-boot/m2rts.h: New file. |
| 9715 |
* pge-boot/main.c: New file. |
| 9716 |
* pge-boot/network.c: New file. |
| 9717 |
* plugin/README: New file. |
| 9718 |
* plugin/m2rte.cc: New file. |
| 9719 |
* tools-src/README: New file. |
| 9720 |
* tools-src/boilerplate.py: New file. |
| 9721 |
* tools-src/buildpg: New file. |
| 9722 |
* tools-src/calcpath: New file. |
| 9723 |
* tools-src/def2doc.py: New file. |
| 9724 |
* tools-src/makeSystem: New file. |
| 9725 |
* tools-src/mklink.c: New file. |
| 9726 |
* tools-src/tidydates.py: New file. |
| 9727 |
* images/LICENSE.IMG: New file. |
| 9728 |
* images/gnupng: New file. |
| 9729 |
* images/gnu.eps: New file. |
| 9730 |
* version.c: New file. |
| 9731 |
* configure: Rebuilt. |
| 9732 |
* target-independent/Builtins.texi: New file. |
| 9733 |
* target-independent/SYSTEM-iso.texi: New file. |
| 9734 |
* target-independent/SYSTEM-pim.texi: New file. |
| 9735 |
* target-independent/gm2-libs.texi: New file. |
| 9736 |
* target-independent/readme.txt: New file. |