constexpr.c
130 KB
-
re PR c++/65736 (ICE (in process_init_constructor_array, at cp/typeck2.c:1263)) · 6338536c
PR c++/65736 * constexpr.c (cxx_eval_pointer_plus_expression): Don't fold for VLAs, don't fold if op01 isn't divisible by TYPE_SIZE_UNIT. Convert the expression to the original type at the end. * g++.dg/cpp0x/pr65736.C: New test. From-SVN: r222022
Jakub Jelinek committed