This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] gcc/testsuite/gcc.c-torture/compile/pr27528.c
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Hui-May Chang <hm dot chang at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 06 Jan 2007 15:12:16 -0800
- Subject: Re: [patch] gcc/testsuite/gcc.c-torture/compile/pr27528.c
- References: <EFFB55B7-CB52-45C3-ABF0-99F456569A28@apple.com>
On Sat, 2007-01-06 at 13:56 -0800, Hui-May Chang wrote:
>
> gcc/testsuite/ChangeLog:
> * gcc.c-torture/compile/pr27528.c: Add -fno-pic option.
I don't think this is the correct fix. The "i" constraint should accept
this, even if we are in PIC mode.
What the "i" constraint should do for these asms is just give them the
asm label and nothing more. This is the reason behind this bug report
and testcase originally in fact.
Thanks,
Andrew Pinski