This is the mail archive of the gcc-bugs@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]

[Bug c++/29734] [4.0/4.1/4.2/4.3 regression] ICE with vector in switch condition



------- Comment #2 from jakub at gcc dot gnu dot org  2006-11-21 10:49 -------
Subject: Bug 29734

Author: jakub
Date: Tue Nov 21 10:49:02 2006
New Revision: 119051

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119051
Log:
        PR c++/29734
        * cp-tree.h (WANT_VECTOR): Define.
        (WANT_ARITH): Add WANT_VECTOR.
        * cvt.c (build_expr_type_conversion): Handle vector types.
        * typeck.c (build_unary_op): Add WANT_VECTOR to
        build_expr_type_conversion flags.

        * g++.dg/conversion/simd4.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/conversion/simd4.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/cp-tree.h
    branches/gcc-4_2-branch/gcc/cp/cvt.c
    branches/gcc-4_2-branch/gcc/cp/typeck.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29734


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