From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2025 invoked by alias); 19 Apr 2006 09:34:58 -0000 Received: (qmail 2001 invoked by uid 48); 19 Apr 2006 09:34:55 -0000 Date: Wed, 19 Apr 2006 09:34:00 -0000 Message-ID: <20060419093455.1999.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/26036] [4.0/4.1/4.2 Regression] Treating a class object as a function with member variables causes hang In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" 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 X-SW-Source: 2006-04/txt/msg01512.txt.bz2 List-Id: ------- Comment #6 from reichelt at gcc dot gnu dot org 2006-04-19 09:34 ------- Mark, are you really working on this one or did you only accidentally assign the PR to you? The following fixes the problem for me and allows to get rid of error_mark_list as it is then unused: =================================================================== --- gcc/gcc/cp/typeck.c 2006-04-18 17:32:06 +0200 +++ gcc/gcc/cp/typeck.c 2006-04-18 17:32:31 +0200 @@ -2788,7 +2788,7 @@ convert_arguments (tree typelist, tree v } else error ("too few arguments to function"); - return error_mark_list; + return error_mark_node; } } =================================================================== -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26036