From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18318 invoked by alias); 18 Apr 2007 15:13:51 -0000 Received: (qmail 18299 invoked by uid 48); 18 Apr 2007 15:13:50 -0000 Date: Wed, 18 Apr 2007 15:13:00 -0000 Subject: [Bug java/31622] New: Segment violation in the “toString” method on a mathematical expression X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "eduardo dot iniesta at aquiline dot es" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q2/txt/msg00013.txt.bz2 CONTEXT: - GCC version: 4.3.0. - Front end: gcj. - Operating System: Linux Debian, kernel 2.6.17-2-686. - Hardware: CPU Intel Pentium 4 Xeon, 3 GHz, 16 KB cache L1, 2 MB cache L2. RAM: 1 GB. There is a segment violation error when compiling the following code: public class Fail { public static void main(String args[]) { long a=5, b=2, r; r=(a-b).toString(); } } The line number 5, r=(a-b).toString();, causes a segment violation during the compilation: gcj -C -Wall Fail.java -- Summary: Segment violation in the “toString” method on a mathematical expression Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eduardo dot iniesta at aquiline dot es GCC build triplet: i486-linux-gnu GCC host triplet: Intel Pentium 4 Xeon GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31622