From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19763 invoked by alias); 27 Jun 2005 16:52:31 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 19747 invoked by uid 48); 27 Jun 2005 16:52:31 -0000 Date: Mon, 27 Jun 2005 16:52:00 -0000 Message-ID: <20050627165231.19744.qmail@sourceware.org> From: "tromey at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20040121055330.13788.meganandaj@pacific.net.au> References: <20040121055330.13788.meganandaj@pacific.net.au> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/13788] Zero propogate right shift in static final int initializer causes error X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00856.txt.bz2 List-Id: ------- Additional Comments From tromey at gcc dot gnu dot org 2005-06-27 16:52 ------- The problem here is that the code in patch_binop that converts URSHIFT_EXPR to RSHIFT_EXPR modifies the type and code of the tree in place -- but that is incorrect as it misses the final cast back to a signed type. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13788