ref: 990dcf7fb41e4b4d050ffb6080ccf794922dd88d
parent: 88def4a59d30f577d07610e818af36d0b316481c
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Nov 1 06:07:09 EDT 2021
tests/cc: Fix 0158-ternary.c Reading an automatic value not initialized is not defined in the standard, and qbe has some problems in this kind of cases. As we are not testing that case in the test it is better to remove that problem.
--- a/tests/cc/execute/0158-ternary.c
+++ b/tests/cc/execute/0158-ternary.c
@@ -1,7 +1,7 @@
int
main(void)
{
- int i, *q;
+ int i = 0, *q;
void *p;
i = i ? 0 : 0l;