[Bug middle-end/32412] Passing struct as parameter breaks SRA for stack-allocated struct inside called function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 20 12:57:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list