This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12573] [3.4 Regression ] ICE (segfault) with Boost.Python


------- Additional Comments From giovannibajo at libero dot it  2003-11-22 13:52 -------
Subject: Re:  [3.4 Regression ] ICE (segfault) with Boost.Python

On Saturday, November 22, 2003 6:50 AM [GMT+1=CET],
gdr at integrable-solutions dot net <gcc-bugzilla@gcc.gnu.org> wrote:

>> +   if (TREE_CODE (expression) == COMPONENT_REF)
>> +     return value_dependent_expression_p (TREE_OPERAND (expression, 0));
>
> Don't you want to test both arms of COMPONENT_REF?

Yup, I was misguided by the internal documentation, which (wrongly) says that
COMPONENT_REF is supposed to always have a FIELD_DECL as second operand. Of
course, it could easily be a SCOPE_REF. I'll update the patch and try to prepare
a testcase, thanks for the quick comment.

Giovanni Bajo




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12573


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]