ORCA-C/Tests
Stephen Heumann 3c2b492618 Add support for compound literals within functions.
The basic approach is to generate a single expression tree containing the code for the initialization plus the reference to the compound literal (or its address). The various subexpressions are joined together with pc_bno pcodes, similar to the code generated for the comma operator. The initializer expressions are placed in a balanced binary tree, so that it is not excessively deep.

Note: Common subexpression elimination has poor performance for very large trees. This is not specific to compound literals, but compound literals for relatively large arrays can run into this issue. It will eventually complete and generate a correct program, but it may be quite slow. To avoid this, turn off CSE.
2022-06-08 21:34:12 -05:00
..
Conformance Add support for compound literals within functions. 2022-06-08 21:34:12 -05:00
Deviance Remove a test that expected floating-point division by 0.0 to fail. 2019-03-31 18:46:29 -05:00
Spec.Conform Consistently use upper-case filenames for existing test cases. 2021-07-09 19:43:57 -05:00
Spec.Deviance