--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-02
14:17 ---
Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00102.html
--
What|Removed |Added
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-02
14:04 ---
Subject: Bug 23192
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-08-02 14:04:37
Modified files:
gcc: Change
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-02
12:50 ---
Testing patch.
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |dnov
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru
2005-08-02 08:13 ---
I think this testcase even better, it fails with -O1 -fstrict-aliasing and -O2:
struct S { int i; } s;
void f (struct S *q)
{
int a, *p;
p = &a;
if (q)
p = &q->i;
*p = 1;
}
void abo
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-02
06:22 ---
I should note the better testcase is:
typedef __SIZE_TYPE__ size_t;
typedef struct {
size_t car;
size_t cdr;
} cons;
int g(void);
size_t f(size_t a)
{
size_t x;
size_t *d;
size_t i;
d = &x;
w
--
What|Removed |Added
CC||dnovillo at gcc dot gnu dot
||org
http://gcc.gnu.org/bugzilla/s
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-02
06:12 ---
This was broken on 20050705.
I think this was fixed by:
2005-07-22 Diego Novillo <[EMAIL PROTECTED]>
* tree-ssa-alias.c (count_ptr_derefs): Do not consider
&PTR->FLD a dereference of PTR.
--
What|Removed |Added
Target Milestone|--- |4.0.2
Version|4.1.0 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23192