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



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


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