This is the mail archive of the gcc-patches@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]

RE: [PING^2] [PR46003, C++] Fix the assertion failure in build_target_expr


On 2/22/2011 03:59 AM, Mark Mitchell wrote:
> 
>> http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00689.html
> 
>> Any comment will be appreciated.
> 
> I would think that when we call the constructor on ARM we should cast
> the result to "void".  Then we would presumably not have to change
> build_aggr_init_expr.  Does that work?

Do you mean casting the result of _all_ constructor calls on ARM to
"void" or just for that particular case? I'm not sure whether this
works or whether this will introduce any inconsistency.

I wonder if there is any particular concern about changing
build_aggr_init_expr, or any reason that it's not necessary for the
'is_ctor' to consider overloaded constructor calls.


Many thanks,
Yufeng




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