This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19201] [m68k] Inefficient code for array accesses (from old PROBLEMS)
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2004 13:32:32 -0000
- Subject: [Bug target/19201] [m68k] Inefficient code for array accesses (from old PROBLEMS)
- References: <20041230121537.19201.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 |Removed |Added
----------------------------------------------------------------------------
CC| |schwab at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201