[Bug c++/78369] New: default parameter ICEs
guille at cal dot berkeley.edu
gcc-bugzilla@gcc.gnu.org
Tue Nov 15 18:15:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78369
Bug ID: 78369
Summary: default parameter ICEs
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: guille at cal dot berkeley.edu
Target Milestone: ---
The following short program ICEs in c++ '7.0.0 20161106' (ICE goes away if we
eliminate the default-initialized parameter):
#include <string>
#include <ctime>
inline void f(struct tm time_tm = {})
{}
int main()
{
f();
return 0;
}
More information about the Gcc-bugs
mailing list