From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1992 invoked by alias); 9 Sep 2005 08:21:38 -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 1420 invoked by uid 48); 9 Sep 2005 08:21:20 -0000 Date: Fri, 09 Sep 2005 08:21:00 -0000 Message-ID: <20050909082120.1419.qmail@sourceware.org> From: "rguenth at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050622181409.22147.pinskia@gcc.gnu.org> References: <20050622181409.22147.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/22147] [4.1 regression] ICE in get_bindings X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg01079.txt.bz2 List-Id: ------- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-09 08:21 ------- I have two patches, one that produces (for the testcase in comment #1) /suse/rguenther/src/tests/pr22147-2.C: In instantiation of ‘A’: /suse/rguenther/src/tests/pr22147-2.C:3: instantiated from ‘void foo(A*) [with T = int]’ /suse/rguenther/src/tests/pr22147-2.C:12: instantiated from here /suse/rguenther/src/tests/pr22147-2.C:7: error: template-id ‘foo’ for ‘void foo(A*)’ does not match any template declaration and another one that doesn't complain and accepts the code as valid. So - is this valid code? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22147