[Bug c++/18677] [3.4/4.0 regression] ICE: Segmentation fault (program cc1plus)
------- Additional Comments From giovannibajo at libero dot it 2004-11-26 00:00 -------
The segfault comes from an infinite recursion which eventually causes a stack
overflow.
My bets are on:
2004-06-28 Nathan Sidwell <nathan@codesourcery.com>
PR c++/16174
* call.c (build_temp): Declare.
(check_constructor_callable): New.
(reference_binding): Only set CHECK_COPY_CONSTRUCTOR if not for
CONSTRUCTOR_CALLABLE.
(convert_like_real, initialize_reference): Use
check_constructor_callable.
* cp-tree.h (LOOKUP_CONSTRUCTOR_CALLABLE): New.
(LOOKUP_*): Renumber.
and it's an easy win :)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it, nathan at gcc dot gnu
| |dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18677
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: