From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23807 invoked by alias); 16 Oct 2009 20:18:17 -0000 Received: (qmail 23757 invoked by uid 22791); 16 Oct 2009 20:18:17 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from shell.rawbw.com (HELO shell.rawbw.com) (198.144.192.42) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Oct 2009 20:18:12 +0000 Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n9GKIBt3021385 for ; Fri, 16 Oct 2009 13:18:11 -0700 (PDT) Message-ID: <4AD8D502.1090205@rawbw.com> Date: Fri, 16 Oct 2009 20:18:00 -0000 From: Yuri Reply-To: yuri@rawbw.com User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: java@gcc.gnu.org Subject: Can gcj be a Java front-end for llvm as well? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00042.txt.bz2 When I look at GCJ I see that it's a very powerful technology, generating gcc memory structures to represent code in the end and using gcc mechanism to write final binary objects. Since most work that GCJ does isn't directly related to the rest of gcc, it seems to be possible to have the code generation phase have two options: gcc and llvm. So it can be a Java frontend for llvm compiler as well. The rationale for this is that llvm in many cases produces more optimal code and it's good to have such option if it doesn't come at too high price. Does this suggestion seem reasonable? Yuri