From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32714 invoked by alias); 12 Jul 2003 14:12:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32554 invoked by alias); 12 Jul 2003 14:12:26 -0000 Date: Sat, 12 Jul 2003 14:12:00 -0000 Message-ID: <20030712141226.32552.qmail@sources.redhat.com> From: "s dot bosscher at student dot tudelft dot nl" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030711191311.11503.zlomek@gcc.gnu.org> References: <20030711191311.11503.zlomek@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11503] [3.3/3.4 Regression] segfault when instantiating template with ADDR_EXPR X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg01420.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11503 ------- Additional Comments From s dot bosscher at student dot tudelft dot nl 2003-07-12 14:12 ------- Subject: [3.3/3.4 regression] segfault when instantiating template with ADDR_EXPR The only patches that went onto both the branch and the trunk between 2003-06-25 and 2003-06-26 are: 2003-06-26 Mark Mitchell PR c++/11332 * typeck.c (build_static_cast): Avoid returning expressions with reference type. and 2003-06-25 Mark Mitchell PR c++/10990 * search.c (lookup_base_r): Rely on accessible_p, rather than trying to emulate that logic here. PR c++/10931 * call.c (convert_like): Pass issue_conversion_warnings. (convert_like_with_context): Likewise. (convert_like_real): Add issue_conversion_warnings parameter. (perform_direct_initialization_if_possible): New function. * cp-tree.h (perform_direct_initialization_if_possible): Declare it. * typeck.c (check_for_casting_away_constness): New function. (build_static_cast): Rewrite. Looking at the backtrace, the patch most likely causing this problem is the search.c change. Mark, OK to assign this one to you?