On Wed, 2011-12-28 at 21:03 -0500, Patrick Marlier wrote: > With i386, the regparm(2) is not taken into account when there is a > variadic function. All parameters are in the stack. > Since this variable argument is never used removing it is not a problem.
The ABI specifies beginTransaction as a variadic function, however. Even though we don't use that currently, there were reasons why we added that in the first place (e.g., to be able to add additional bits later on, including support for more codepaths). Is there another way we can fix this? Or is regparm in general undefined for variadic functions?