This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18298] [4.0 Regression] bad code from lim ssa pass with strcmp
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2004 16:06:14 -0000
- Subject: [Bug tree-optimization/18298] [4.0 Regression] bad code from lim ssa pass with strcmp
- References: <20041104155905.18298.snyder@fnal.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 16:06 -------
Confirmed, this is an aliasing problem:
D.1589_6 = (const unsigned char *) &s[0];
D.1590_3 = *D.1589_6;
There is no VUSE on the second statement.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-11-04 16:06:10
date| |
Summary|4.0: bad code from lim ssa |[4.0 Regression] bad code
|pass with strcmp |from lim ssa pass with
| |strcmp
Target Milestone|--- |4.0.0
Version|0.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18298