This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17431] [3.4/4.0 regression] Internal error: Segmentation fault (program cc1plus)
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2004 10:22:21 -0000
- Subject: [Bug c++/17431] [3.4/4.0 regression] Internal error: Segmentation fault (program cc1plus)
- References: <20040912055243.17431.yoav.frandzel@intel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2004-12-01 10:22 -------
2004-12-01 Nathan Sidwell <nathan@codesourcery.com>
PR c++/17431
* call.c (standard_conversion): Add FLAGS parameter. Do not allow
derived to base conversion when checking constructor
accessibility.
(implicit_conversion): Pass FLAGS to standard_conversion.
(check_constructir_callable): Disallow conversion functions.
(I was incorrect about this being a TC1 change, it was a change during drafting
of the
1998 std)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17431