This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23657] [4.1 Regression] Wrong code generated: too much optimized out
- 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: 31 Aug 2005 16:19:42 -0000
- Subject: [Bug tree-optimization/23657] [4.1 Regression] Wrong code generated: too much optimized out
- References: <20050831160521.23657.qrczak@knm.org.pl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 16:19 -------
Confirmed, between t41.copyrename2 and t42.dom2, the V_MAY_DEF is removed.
After
*next_8 = 7;
Before:
# TMT.51_18 = V_MAY_DEF <TMT.51_4>;
*dest_2 = 7;
I think we are forgetting to copy the alias info.
I think this is fixed by the patch for PR 23509:
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01647.html
The tree-cfg.c part that is.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c |tree-optimization
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Keywords| |alias, wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2005-08-31 16:19:38
date| |
Summary|Wrong code generated: too |[4.1 Regression] Wrong code
|much optimized out |generated: too much
| |optimized out
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23657