pr82112.c
354 Bytes
-
re PR target/82112 (internal compiler error: in fold_convert_loc, at fold-const.c:2262) · ec33aebb
PR target/82112 * c-common.c (sync_resolve_size): Instead of c_dialect_cxx () assertion check that in the condition. (get_atomic_generic_size): Likewise. Before testing if parameter has pointer type, if it has array type, call for C++ default_conversion to perform array-to-pointer conversion. * c-c++-common/pr82112.c: New test. * gcc.dg/pr82112.c: New test. From-SVN: r252003
Jakub Jelinek committed