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

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 21 10:53:00 GMT 2006



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

Author: jakub
Date: Tue Nov 21 10:53:03 2006
New Revision: 119053

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119053
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_1-branch/gcc/testsuite/g++.dg/conversion/simd4.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/cp-tree.h
    branches/gcc-4_1-branch/gcc/cp/cvt.c
    branches/gcc-4_1-branch/gcc/cp/typeck.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list