C++ PATCH for c++/59646 (ICE with volatile initializer_list)
Fri Jan 31 15:39:00 GMT 2014
We were failing to set TARGET_EXPR_LIST_INIT_P on a TARGET_EXPR created
from aggregate initialization, which is needed to avoid calling the copy
constructor when using that TARGET_EXPR to initialize the element of the
underlying array of the initializer_list.
We also should avoid building a CONSTRUCTOR with an error_mark_node
Tested x86_64-pc-linux-gnu, applying to trunk and 4.8.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2261 bytes
Desc: not available
More information about the Gcc-patches