------- Comment #2 from jakub at gcc dot gnu dot org  2009-06-30 22:38 -------
Subject: Bug 40566

Author: jakub
Date: Tue Jun 30 22:38:04 2009
New Revision: 149123

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149123
Log:
        PR c++/40566
        * convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
        to type arguments that have void type.

        * g++.dg/parse/cond5.C: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/cond5.C
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/convert.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to