re PR c++/53220 (g++ mis-compiles compound literals)
PR c++/53220 gcc/ * c-typeck.c (array_to_pointer_conversion): Give -Wc++-compat warning about array compound literals. gcc/cp/ * call.c (convert_like_real) [ck_list]: Take array address directly. * typeck.c (decay_conversion): Reject decay of an array compound literal. From-SVN: r187916
Showing
gcc/testsuite/c-c++-common/array-lit.c
0 → 100644
Please
register
or
sign in
to comment