GCC miscompiles this: int bar(); void foo() { int X = __imag bar(); }
to not call bar. -Chris -- Summary: __imag operator drops side effects in subexpr Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sabre at nondot dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33192