array-lit.c
271 Bytes
-
re PR c++/53220 (g++ mis-compiles compound literals) · 1f37c583
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
Jason Merrill committed