[Bug c++/30022] [4.0/4.1/4.2/4.3 regression] ICE on vector operand in division

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 1 22:27:00 GMT 2006



------- Comment #3 from reichelt at gcc dot gnu dot org  2006-12-01 22:27 -------
Subject: Bug 30022

Author: reichelt
Date: Fri Dec  1 22:27:03 2006
New Revision: 119418

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119418
Log:
        PR c++/30022
        * typeck.c (type_after_usual_arithmetic_conversions):
        Fix assertion for vector types.
        (build_binary_op): Use temporary for inner type of vector types.

        * g++.dg/ext/vector5.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/ext/vector5.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    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=30022



More information about the Gcc-bugs mailing list