This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: target/6912: x86_64 switch code generation problem with -fPIC
- From: Frank van der Linden <fvdl at wasabisystems dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 12 Jul 2002 18:06:01 -0000
- Subject: Re: target/6912: x86_64 switch code generation problem with -fPIC
- Reply-to: Frank van der Linden <fvdl at wasabisystems dot com>
The following reply was made to PR target/6912; it has been noted by GNATS.
From: Frank van der Linden <fvdl@wasabisystems.com>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: target/6912: x86_64 switch code generation problem with -fPIC
Date: Fri, 12 Jul 2002 19:57:41 +0200
As of 20020711, both the trunk and the 3.1 branch seem to generate correct
code again.
The 3.1 branch uses a correct movslq, and -current, while not doing the
sign extension, always seems to put the jumptable in the text segment,
right after the table index + jump code. So the offsets are always
positive.