better constant handling for expr_cond

This commit is contained in:
Joe Soroka
2011-07-11 00:00:47 -07:00
parent 38756b506f
commit cd3d1a45f3
2 changed files with 6 additions and 1 deletions

View File

@ -2081,6 +2081,8 @@ void *bounds_checking_is_enabled()
{
char ca[10], *cp = ca-1;
return (ca != cp + 1) ? cp : NULL;
}
typedef int constant_negative_array_size_as_compile_time_assertion_idiom[(1 ? 2 : 0) - 1];
void c99_vla_test(int size1, int size2)