This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55305] invalid aggregate constprop
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Nov 2012 01:12:46 +0000
- Subject: [Bug tree-optimization/55305] invalid aggregate constprop
- Auto-submitted: auto-generated
- References: <bug-55305-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55305
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |jamborm at gcc dot gnu.org
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2012-11-13 01:12:46 UTC ---
The bug occurs in the IPA const-prop pass. The compiler incorrectly decides
that f2 always invokes f3 with a constant aggregate parameter. This is
incorrect. There are two calls to f2, and they use different values.
The bug was introduced after 2012-11-05. I suspect this patch:
2012-11-07 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/53787
but I have not proven that that is the problem.