From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14105 invoked by alias); 26 Jun 2003 20:32:46 -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 14093 invoked by uid 48); 26 Jun 2003 20:32:46 -0000 Date: Thu, 26 Jun 2003 20:32:00 -0000 Message-ID: <20030626203246.14092.qmail@sources.redhat.com> From: "jakub at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030626163810.11331.danglin@gcc.gnu.org> References: <20030626163810.11331.danglin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11331] [Regression 3.4] ld: BFD 2.14.90 20030602 internal error X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg02786.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=11331 ------- Additional Comments From jakub at gcc dot gnu dot org 2003-06-26 20:32 ------- Well, if you want to leave current inefficient thunk, I could certainly add aname = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (function)); DECL_ATTRIBUTES (alias) = build_tree_list (build_identifier ("alias"), build_tree_list (NULL, build_string (strlen (aname) + 1, aname))); to make_alias_for_thunk and you can then look up alias attribute in pa_asm_output_thunk and call that instead of the alias. But IMHO it is better to just optimize the thunks.