This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33291] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)
- 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: 3 Sep 2007 11:28:53 -0000
- Subject: [Bug tree-optimization/33291] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)
- References: <bug-33291-8535@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-03 11:28 -------
# VUSE <tab_56, SMT.9_58, SMT.10_60>
D.2581_35 = this_2(D)->D.2503.a;
D.2582_36 = (unsigned int) D.2581_35;
D.2583_37 = D.2582_36 + 2;
D.2584_38 = (int) D.2583_37;
# tab_76 = VDEF <tab_56>
# SMT.9_77 = VDEF <SMT.9_58>
D.2529_3->a = D.2584_38;
# VUSE <tab_76, SMT.9_77, SMT.10_60>
D.2586_40 = this_2(D)->D.2503.a;
D.2587_41 = (unsigned int) D.2586_40;
D.2588_42 = D.2587_41 + 2;
D.2589_43 = (int) D.2588_42;
# tab_78 = VDEF <tab_76>
# SMT.9_79 = VDEF <SMT.9_77>
D.2529_3->a = D.2589_43;
hmmm, aliasing
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33291