r221738 - in /trunk/gcc: cp/ChangeLog cp/semant...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Fri Mar 27 16:46:00 GMT 2015


Author: mpolacek
Date: Fri Mar 27 16:46:44 2015
New Revision: 221738

URL: https://gcc.gnu.org/viewcvs?rev=221738&root=gcc&view=rev
Log:
	PR c++/65556
	* semantics.c (finish_switch_cond): If the unlowered type is not an
	enum, use the type of the condition.

	* c-c++-common/pr65556.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr65556.c
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list