------- Comment #2 from lindig at cs dot uni-sb dot de 2006-12-13 12:09 ------- Created an attachment (id=12794) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12794&action=view) preprocessed file to reproduce the bug.
I have now attached the file that reproduces the bug to make everyone's life easier. The bug can be summarized as follows: when a struct (b14) is passed by value as a vararg, it may be garbled. In this case, the struct is passed as the second vararg (b14) where the first one (b13) is an empty struct {}. This could confuse the code that implements the calling convention. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30148