https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90473
Bug ID: 90473 Summary: gcc does not call function in comma operator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tiagomacarios at gmail dot com Target Milestone: --- In the code below gcc should call f() prios to calling b(), but that does not happen. https://godbolt.org/z/e245vi void f(); void b(void* p = (f(), nullptr)); void z() { b(); }