This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH for c++/51747 (list-initialization from same type)


On Fri, 11 Apr 2014, Jason Merrill wrote:

Recent changes to the C++ standard have allowed the use of list-initialization with a single initializer of the same type as the target; this patch updates reshape_init accordingly.

Tested x86_64-pc-linux-gnu, applying to trunk.

Hello,

shouldn't the same also apply if VECTOR_TYPE_P (type), not just for CLASS_TYPE_P (type)?

Testcase in:
http://stackoverflow.com/questions/23070982/c-initialization-of-intel-simd-intrinsics-class-members

--
Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]