This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING] Target hook for rewriting inline asm constraints
On 10/31/07, Tom Tromey <tromey@redhat.com> wrote:
> >>>>> "Andreas" == Andreas Krebbel <Andreas.Krebbel@de.ibm.com> writes:
>
> Andreas> could a C front end and/or middle end maintainer please have
> Andreas> a look at this one:
> Andreas> http://gcc.gnu.org/ml/gcc-patches/2007-10/msg01407.html
>
> I'm not an FE or ME maintainer but I took a look anyway.
> I only looked at the mechanics of the change, since I really don't
> know whether it is desirable or not.
I also wonder how you can distinguish between "old" and "new" "m" used
in asms. How do you know which semantics the user chose? IMHO
"semantics" of asm constrains should never change, but instead you should
introduce new machine specific constraints if necessary.
The patch doesn't come with a testcase or an example showing how this
should work or how it would break without it, so it's hard to tell if you
have a point. But in general - asm constrains rewriting?? uh no.
Richard.