--- Comment #6 from jakub at gcc dot gnu dot org 2008-09-11 07:34 ---
Subject: Bug 37382
Author: jakub
Date: Thu Sep 11 07:33:23 2008
New Revision: 140265
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140265
Log:
PR target/37382
* expmed.c (extract_low_bits):
--- Comment #7 from jakub at gcc dot gnu dot org 2008-09-11 07:40 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #4 from jakub at gcc dot gnu dot org 2008-09-10 06:59 ---
More reduced testcase:
void baz (char *);
int c;
void
bar (void)
{
char a[2];
int *ip = c;
char *p = a, *q = (char *) ip;
const char *r = q + 2;
for (; q != r; p++, q++)
*p = *q;
baz (a);
}
--
--- Comment #5 from jakub at gcc dot gnu dot org 2008-09-10 07:10 ---
This is dse1 which turns:
(insn 5 2 7 2 P.c:8 (set (mem/f/c/i:DI (plus:DI (reg/f:DI 20 frame)
(const_int -24 [0xffe8])) [2 ip+0 S8 A64])
(symbol_ref:DI (c) var_decl 0x7fe225d2c820
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37382
--- Comment #3 from reichelt at gcc dot gnu dot org 2008-09-08 23:34
---
Confirmed. Reduced testcase:
==
char* foo(char *p, char *q)
{
const char *r = q + 2;
for (; q != r; p++, q++)
*p = *q;
return p;
}
void bar(int *p)
{
char a[2];
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|