------- 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) { double t1=1, c1; foo(0, 1,&t1,&c1); return (c1>0.5) ? 1:0; } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-12-08 12:46:41 date| | Summary|silent miscompilation of |[4.3 Regression] silent |argument passing(?) |miscompilation of argument | |passing http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30120