From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19594 invoked by alias); 8 Oct 2009 23:49:01 -0000 Received: (qmail 19559 invoked by uid 48); 8 Oct 2009 23:48:52 -0000 Date: Thu, 08 Oct 2009 23:49:00 -0000 Message-ID: <20091008234852.19558.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug lto/41638] Back-end builtins are mishandled In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00736.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-08 23:48 ------- Note the back-end builtin arrays don't have the same name so it is not as simple as using that array. I think we need to add either a target hook or have a standard name for them. Also the assert there for END_BUILTINS is also incorrect for BUILT_IN_MD as there could be more target builtins than there are normal builtins. Which means the use of enum built_in_function is incorrect for function_code and could break when we compile with the C++ front-end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41638