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

scovich at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 20 18:22:00 GMT 2007



------- Comment #3 from scovich at gmail dot com  2007-06-20 18:22 -------
(In reply to comment #1)

Sorry for the double post, but I just tried creating a wrapper_foo() that
copies the values out of the struct, then passes them on to foo() as scalars.
The problem only appears if foo() gets inlined into wrapper_foo().


-- 


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



More information about the Gcc-bugs mailing list