This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2003 00:37:12 -0000
- Subject: [Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python
- References: <20031011014942.12573.jbrandmeyer@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2003-11-22 00:37 -------
A problem with detection of dependness. This is the patch for it. If anybody
wants to test it for me, feel free to do it, otherwise I'll do it in a week or
so.
*** pt.c.orig Sat Oct 18 19:35:46 2003
--- pt.c Sat Nov 22 01:28:31 2003
*************** value_dependent_expression_p (tree expre
*** 11543,11548 ****
--- 11569,11576 ----
}
if (TREE_CODE (expression) == SCOPE_REF)
return dependent_scope_ref_p (expression, value_dependent_expression_p);
+ if (TREE_CODE (expression) == COMPONENT_REF)
+ return value_dependent_expression_p (TREE_OPERAND (expression, 0));
/* A constant expression is value-dependent if any subexpression is
value-dependent. */
if (IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (expression))))
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12573