https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
Jeffrey A. Law changed:
What|Removed |Added
Status|SUSPENDED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
--- Comment #15 from Mikael Pettersson mikpe at it dot uu.se 2011-02-28
12:04:32 UTC ---
(In reply to comment #14)
I'll try Kazu's patch in my next 4.4 bootstrap/regtest.
Kazu's patch appears to have been for a 4.2 code base. I forward-ported
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
Mikael Pettersson mikpe at it dot uu.se changed:
What|Removed |Added
CC||mikpe at it dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
Steven Bosscher steven at gcc dot gnu.org changed:
What|Removed |Added
Status|WAITING |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
Andreas Schwab sch...@linux-m68k.org changed:
What|Removed |Added
Status|RESOLVED|NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
Steven Bosscher steven at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |SUSPENDED
---
--- Comment #10 from steven at gcc dot gnu dot org 2010-02-12 22:01 ---
Waiting for a m68k maintainer to do something here...
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #9 from steven at gcc dot gnu dot org 2008-09-21 13:21 ---
Andreas, could you adopt the patch of comment #4 and see if it still fixes this
bug?
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-09-03 02:05 ---
This should not have been in waiting as it was waiting on a developer response
and not the reporter.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #7 from steven at gcc dot gnu dot org 2007-12-17 08:12 ---
Kazu, plans with this bug, and your patch for it?
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from kazu at gcc dot gnu dot org 2005-11-22 17:42 ---
Andreas,
Thanks for spotting the typo. I also updated the patch to ensure that
we are giving an address register indirect to clr.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
--- Comment #5 from schwab at suse dot de 2005-11-21 23:07 ---
The comment in the patch has a typo: clr.b (%a0) should be clr.b (%a1).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
--- Comment #3 from kazu at gcc dot gnu dot org 2005-11-19 21:52 ---
FWIW, the mainline gcc with -O2 -fomit-frame-pointer produces
f:
move.l 4(%sp),%a0
move.l (%a0),%a1
move.l 4(%a0),%a0
clr.b (%a0,%a1.l)
rts
--
kazu at gcc dot gnu dot org
--- Comment #4 from kazu at gcc dot gnu dot org 2005-11-20 00:22 ---
Created an attachment (id=10299)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10299action=view)
Patch
With this patch, I get:
f:
move.l 4(%sp),%a0
move.l (%a0),%a1
add.l 4(%a0),%a1
--- Additional Comments From schwab at suse dot de 2004-12-31 13:32 ---
Test case (see also
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01109.html):
struct X {
char *a;
/* other members */
int b;
};
void f (struct X *x)
{
x-a[x-b] = 0;
}
--
What
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-31
14:58 ---
Confirmed.
--
What|Removed |Added
Status|UNCONFIRMED |NEW
16 matches
Mail list logo