From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19501 invoked by alias); 26 Dec 2007 13:46:41 -0000 Received: (qmail 19478 invoked by uid 48); 26 Dec 2007 13:46:27 -0000 Date: Wed, 26 Dec 2007 13:46:00 -0000 Subject: [Bug bootstrap/34592] New: useless computation found X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dcb314 at hotmail dot com" 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: 2007-12/txt/msg02204.txt.bz2 I just tried to bootstrap the GNU C compiler 4.3 snapshot 20071221 with the most excellent Intel C compiler version 10.1 The Intel compiler said 1. gcc-4.3-20071221/fixincludes/fixincl.c(1049): remark #593: variable "name_len" was set but never used I had a look at the source code and I agree with the compiler. Suggest delete local variable name_len. 2. gcc-4.3-20071221/libdecnumber/decNumber.c(7406): remark #593: variable "dnexp" was set but never used I had a look at the source code and I agree with the compiler. Suggest delete local variable dnexp. 3. gcc-4.3-20071221/gcc/c-decl.c(4701): remark #593: variable "type_as_written" was set but never used gcc-4.3-20071221/gcc/c-decl.c(3977): remark #593: variable "typedef_type" was set but never used More of the same. Suggest delete local variables type_as_written and typedef_type. -- Summary: useless computation found Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34592