This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32328] 4.2.0: -O2 causes skipped code
- 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: 13 Jun 2007 22:21:24 -0000
- Subject: [Bug rtl-optimization/32328] 4.2.0: -O2 causes skipped code
- References: <bug-32328-14702@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-13 22:21 -------
Do you mean the last two stores to b:
b->time = time;
b->progress = found ? 4 : 2;
Though we could have an alias violation if you don't cast back in hashitem to
the correct type of the argument. This is still a bug.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |rtl-optimization
Keywords| |alias, wrong-code
Known to fail| |4.2.0 4.3.0
Target Milestone|--- |4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32328