Janus/Ada 3.2.1 Bug ListBugs are found in the Janus/Ada compiler unless otherwise noted.
- If the last parameter to a generic instantiation of a generic subprogram has an error, the compiler may crash. This can be eliminated by fixing the error.
(Found in versions 3.2.1 thru 3.2.1a.; also all Ada 95 versions including 3.1.2, 3.1.1, and 3.0.7.)- If a task or protected type with discriminant is imported (withed) in a unit where the identifier of the discriminant does not appear in the source, the discriminant will not appear in the symboltable correctly. This could cause problems with discriminant constraints or a crash late in the compilation associated with unit J2JRLMAK.
(Found in versions 3.2.1 thru 3.2.1a; likely occurs in older versions as well.)- If <> is given for an entire composite aggregate component in an aggregate, the memory for the aggregate may be incompletely allocated, possibly leading to initializing non-existent memory (causing a fault) or initializing the memory of some other object. For this to happen, the component has to be constrained with some sort of dynamic or discriminant-dependent constraint.
(Found in versions 3.2.1 thru 3.2.1a; also versions 3.1.2a thru 3.1.2c.)- If <> is given for a discriminant without a default, and the discriminant does not control a variant, the error is not detected and the compiler may crash as a result.
(Found in versions 3.2.1 thru 3.2.1a; also versions 3.1.2a thru 3.1.2c.)- Ada.Strings.Unbounded.Slice returns a string with bounds starting at 1, rather than at Low as specified by the language (in A.4.4(101/1)). Note that the change in bounds might cause Constraint_Error to be raised in code that currently works (programmers commonly assume that strings start at 1 even when they may not).
(Found in versions 3.2.1 thru 3.2.1a; also all Ada 95 versions including 3.1.2, 3.1.1, and 3.0.7.)- (Corder) Corder reports a syntax error if a unit contains a private with, and may not compile the unit.
(Found in versions 3.2.1 thru 3.2.1a.)Note: Versions 3.2.0prv and 3.2.1 were beta versions; bugs fixed in those versions are not recorded here.