------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-08 
00:12 -------
Subject: Bug 18867

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2004-12-08 00:12:06

Modified files:
        gcc            : c-typeck.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gcc.dg/noncompile: 20041207.c 

Log message:
        PR c/18867
        * c-typeck.c (c_start_case): Set orig_type to error_mark_node
        when the type of the controlling expression is not a valid type.
        
        testsuite/
        * gcc.dg/noncompile/20041207.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.402&r2=1.403
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6738&r2=2.6739
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noncompile/20041207.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4719&r2=1.4720



-- 


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

Reply via email to