From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21920 invoked by alias); 12 May 2003 12:15:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9333 invoked by uid 71); 12 May 2003 12:06:02 -0000 Date: Mon, 12 May 2003 12:15:00 -0000 Message-ID: <20030512120602.9332.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gunther Nikl Subject: Re: optimization/10239: [m68k] switch jumptable causes assembler error Reply-To: Gunther Nikl X-SW-Source: 2003-05/txt/msg01212.txt.bz2 List-Id: The following reply was made to PR optimization/10239; it has been noted by GNATS. From: Gunther Nikl To: Dara Hazeghi Cc: gcc-gnats@gcc.gnu.org Subject: Re: optimization/10239: [m68k] switch jumptable causes assembler error Date: Mon, 12 May 2003 13:53:01 +0200 On Fri, May 09, 2003 at 05:21:11PM -0700, Dara Hazeghi wrote: > with binutils 2.13.1 and gcc 3.3 branch and mainline cvs (20030508), > I cannot repeat the bug you reported, ie no complaints from the > assembler. I have used an older binutils version: 2.9.1. You are right, that 2.13.1 doesn't complain BUT that doesn't mean thats better... GAS simply emits zeros where the older gas complained. I would like to see compatibilty with older versions. > Can you verify whether you still encounter this bug in current gcc 3.3 > branch? The bug is still present in the second 3.3 prerelease: "3.3 20030509 (prerelease)". You should look at the generated code with "-O" and with "-O -fgcse". GCC shouldn't emit references to (local) symbols that aren't present in the first place. I call that broken. Gunther