This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42231] [4.4 Regression] Wrong generated code when using a callback function (possible callback function inlining bug ?)
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2009 14:46:30 -0000
- Subject: [Bug tree-optimization/42231] [4.4 Regression] Wrong generated code when using a callback function (possible callback function inlining bug ?)
- References: <bug-42231-18507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-11-30 14:46 -------
Confirmed. Works with 4.5 and with -fno-ipa-cp.
IPA lattices after propagation:
Lattice:
Node: main:
Node: callback:
param [0]: type is CONST 0
which is obviously wrong. On trunk the same propagation result is achived
but somehow we do not miscompile there.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|c |tree-optimization
Ever Confirmed|0 |1
Keywords| |wrong-code
Known to fail| |4.4.3
Known to work| |4.3.4 4.5.0
Last reconfirmed|0000-00-00 00:00:00 |2009-11-30 14:46:30
date| |
Summary|[4.4.x Regression] Wrong |[4.4 Regression] Wrong
|generated code when using a |generated code when using a
|callback function (possible |callback function (possible
|callback function inlining |callback function inlining
|bug ?) |bug ?)
Target Milestone|--- |4.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42231