[Bug c++/26036] [4.0/4.1/4.2 Regression] Treating a class object as a function with member variables causes hang
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 19 17:37:00 GMT 2006
------- Comment #8 from reichelt at gcc dot gnu dot org 2006-04-19 17:37 -------
Subject: Bug 26036
Author: reichelt
Date: Wed Apr 19 17:36:59 2006
New Revision: 113087
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113087
Log:
PR c++/26036
* typeck.c (convert_arguments): Return error_mark_node instead of
error_mark_list.
* cp-tree.h (error_mark_list): Remove declaration.
* decl.c (error_mark_list): Remove definition.
(cxx_init_decl_processing): Do not initialize error_mark_list.
* g++.dg/expr/call3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/expr/call3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26036
More information about the Gcc-bugs
mailing list