





























if we started using fallback font. what are the chance that we can use a ttc with variants instead of just wenquanyi.





















































































































1





















int *a;
if (1) {
int b = 123;
a = &b;
}
printf("%d\n", *a);
Because it compiles without warnings. Would it be OK if this were just a scope instead of an if?
































b isn't used at any later point

b is used later and allow that
MISRA:2012:18.6 I'm guessing if MISRA has a rule for this it's probably not there in any compiler by default








{
int a;
do_smth_with(a);
}
int b;
do_smth_with(b);
And you never use a outside that scope and you enable optimizations the compiler will reuse the same memory location I'm sure. That should prove that the compiler purposefully checks if a is used outside the scope, right?





































4








