From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6812 invoked by alias); 25 Feb 2013 16:29:40 -0000 Received: (qmail 6670 invoked by uid 48); 25 Feb 2013 16:29:16 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56444] mn10300.c:3228:16: error:=?UTF-8?Q?=20unused=20variable=20=E2=80=98loops=E2=80=99?= Date: Mon, 25 Feb 2013 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-02/txt/msg02381.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56444 --- Comment #1 from Jeffrey A. Law 2013-02-25 16:29:13 UTC --- This makes no sense: static void mn10300_scan_for_setlb_lcc (void) { struct loops loops; loop_iterator liter; loop_p loop; DUMP ("Looking for loops that can use the SETLB insn", NULL_RTX); df_analyze (); compute_bb_for_insn (); /* Find the loops. */ if (flow_loops_find (& loops) < 1) DUMP ("No loops found", NULL_RTX); current_loops = & loops; Note the uses of "loops". Joern, I think you need to look at this a little deeper to see what's really happening.