[Bug c/30120] [4.3 Regression] silent miscompilation of argument passing

2006-12-08 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-12-08 12:46 --- Confirmed. Reduced testcase: static void foo (double a, double weight, const double *ring, double *phase) { *phase = *ring * weight; } void foo2 (void) { foo (0, 1, (double*)0, (double*)0); } int main(void)

[Bug c/30120] [4.3 Regression] silent miscompilation of argument passing

2006-12-08 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2006-12-08 13:54 --- (In reply to comment #1) Confirmed. Reduced testcase: We need straighten_stack() in convert_regs_entry() for the case where some arguments are left unused. -- ubizjak at gmail dot com changed: What