This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32412] Passing struct as parameter breaks SRA for stack-allocated struct inside called function
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jan 2012 05:12:44 +0000
- Subject: [Bug middle-end/32412] Passing struct as parameter breaks SRA for stack-allocated struct inside called function
- Auto-submitted: auto-generated
- References: <bug-32412-4@http.gcc.gnu.org/bugzilla/>
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.