public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/5621: ARM compiler aborts with asm "m" constraint
@ 2002-03-26 10:08 rearnsha
0 siblings, 0 replies; 2+ messages in thread
From: rearnsha @ 2002-03-26 10:08 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, hans.buchmann, nobody, rearnsha
Synopsis: ARM compiler aborts with asm "m" constraint
Responsible-Changed-From-To: unassigned->rearnsha
Responsible-Changed-By: rearnsha
Responsible-Changed-When: Tue Mar 26 10:08:22 2002
Responsible-Changed-Why:
.
State-Changed-From-To: analyzed->closed
State-Changed-By: rearnsha
State-Changed-When: Tue Mar 26 10:08:22 2002
State-Changed-Why:
It turns out that the compiler used to be able to do this,
but that the patch was accidentally lost during the ARM/Thumb
merge (I'd forgotten that I'd already fixed this once before :-)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5621
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: target/5621: ARM compiler aborts with asm "m" constraint
@ 2002-02-07 6:11 rearnsha
0 siblings, 0 replies; 2+ messages in thread
From: rearnsha @ 2002-02-07 6:11 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, hans.buchmann, nobody
Old Synopsis: assembler code
New Synopsis: ARM compiler aborts with asm "m" constraint
State-Changed-From-To: open->analyzed
State-Changed-By: rearnsha
State-Changed-When: Thu Feb 7 06:11:43 2002
State-Changed-Why:
While the compiler shouldn't abort for this, you probably won't ever
be able to make such an instruction work as you've expressed
it.
The best way of expressing what you want here, so that the
compiler can handle it cleanly is
asm volatile(
"ldr %0,[%1]\n\t"
:"=r"(i)
:"r"(&x)
);
The compiler should be fixed to give an error in this case.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5621
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-26 18:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-26 10:08 target/5621: ARM compiler aborts with asm "m" constraint rearnsha
-- strict thread matches above, loose matches on Subject: below --
2002-02-07 6:11 rearnsha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).