[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-02 Thread dnovillo at gcc dot gnu dot org
--- 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

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-02 Thread cvs-commit at gcc dot gnu dot org
--- 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

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-02 Thread dnovillo at gcc dot gnu dot org
--- 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

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-02 Thread belyshev at depni dot sinp dot msu dot ru
--- 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

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-01 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-01 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||dnovillo at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/s

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-01 Thread pinskia at gcc dot gnu dot org
--- 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.

[Bug tree-optimization/23192] [4.0 Regression] Wrong code

2005-08-01 Thread pinskia at gcc dot gnu dot org
-- 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