This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/55305] invalid aggregate constprop


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]