This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29478] [4.2 Regression] optmization generates warning for casts
- 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: 16 Oct 2006 13:37:49 -0000
- Subject: [Bug middle-end/29478] [4.2 Regression] optmization generates warning for casts
- References: <bug-29478-11533@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-10-16 13:37 -------
Happens during inlining, so I guess one of the strip-useless-type-conversion
patches caused this.
But initialize_inlined_parameters shouldn't call into the frontend again here:
/* Find the initializer. */
value = lang_hooks.tree_inlining.convert_parm_for_inlining
(p, a ? TREE_VALUE (a) : NULL_TREE, fn, argnum);
I don't see why this should be necessary anymore as we're now inlining gimple?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478