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 middle-end/32412] Passing struct as parameter breaks SRA for stack-allocated struct inside called function


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-19 05:12:44 UTC ---
Fixed in 4.6.0 and above.  Note you really need to mark foo as static or use
-fwhole-program to get the result you want.


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