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/53787] Possible IPA-SRA / IPA-CP improvement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53787

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
                 CC|                            |jamborm at gcc dot gnu.org
          Component|lto                         |tree-optimization
            Summary|Possible lto improvement    |Possible IPA-SRA / IPA-CP
                   |                            |improvement

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-28 10:08:13 UTC ---
This has nothing to do with LTO - with a single compilation unit you can
use -fwhole-program.  The issue is that Fortran passes parameters by reference
and our interprocedural constant-propagation pass does not know how to deal
with that.  The IPA SRA pass which is supposed to "fix" that decides that
init cannot have its signature changed.  Martin, can you check why?
I think we ought to optimize this with -O3 -fwhole-program -fno-inline.


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