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 dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2007 12:57:48 -0000
- Subject: [Bug middle-end/32412] Passing struct as parameter breaks SRA for stack-allocated struct inside called function
- References: <bug-32412-14600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-20 12:57 -------
wrapper const &w
You are passing via reference which does not break SRA, just changes the ABI
and such.
This is a very very hard problem to solve without the whole program.
I wondering if I should close it as won't fix.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32412