From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22703 invoked by alias); 3 Jun 2003 13:23:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22668 invoked by uid 48); 3 Jun 2003 13:23:20 -0000 Date: Tue, 03 Jun 2003 13:23:00 -0000 Message-ID: <20030603132320.22666.qmail@sources.redhat.com> From: "pinskia@physics.uc.edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030603102315.11077.numerical.simulation@web.de> References: <20030603102315.11077.numerical.simulation@web.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11077] enumerator value in template not assignable from bool X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg00466.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11077 ------- Additional Comments From pinskia@physics.uc.edu 2003-06-03 13:23 ------- Actually with the workaround I do not get an ICE but on 3.3.1 (20030526) the code is accepted but on the mainline (20030603) it is rejected: tin:~/src/gnu/gcctest>~/ia32_linux_gcc3_3/bin/gcc pr11077.cc -c tin:~/src/gnu/gcctest>gcc pr11077.cc -c pr11077.cc:13: error: expected primary-expression pr11077.cc: In instantiation of `has_member_disambiguation': pr11077.cc:26: instantiated from here pr11077.cc:13: error: enumerator value for `value' not integer constant pr11077.cc: In instantiation of `has_member_disambiguation': pr11077.cc:27: instantiated from here pr11077.cc:13: error: enumerator value for `value' not integer constant ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.