This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.2 Branch Closure
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Cc: gcc at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Fri, 8 Nov 2002 11:31:51 -0800
- Subject: Re: GCC 3.2 Branch Closure
- References: <200211081228.NAA43560@numa6.igpm.rwth-aachen.de>
On Fri, Nov 08, 2002 at 01:28:53PM +0100, Volker Reichelt wrote:
> Hi,
>
> PR 8502 looks quite severe to me:
> It a regression from 3.0.x on the branch where wrong assember code is
> generated. However, this problem doesn't occur on mainline.
>
> Could somebody please have a look at it to decide whether it has to
> be fixed for the branch or not?
>
Here is the modified version for C:
---f.c---
int foo (int i)
{
switch (i)
{
case 0: return 0;
case 1: return 0;
case 2: return 0;
case 3: return 0;
case 4: return 0;
}
return 0;
}
int main () { return 0; }
----
# /usr/gcc-3.2/bin/gcc f.c
/tmp/ccIENiOo.o(.text+0x11): In function `foo':
: undefined reference to `.L8'
collect2: ld returned 1 exit status
H.J.